Erreur d'installation Nextcloud Truenas SCALE

Nathan WURTZ

Dabbler
Joined
Jun 24, 2018
Messages
25
Bonjour,
J'ai un problème lorsque j'essaie d'installer nextcloud sur truenas scale. J'ai tenté d'installer le pod officiel et celui de truechart.
- Pod officiel :
Une fois l'installation terminée, j'obtiens une erreur quand je me connecte sur la page web :
Internal Server Error

The server encountered an internal error and was unable to complete your request.
Please contact the server administrator if this error reappears multiple times, please include the technical details below in your report.
More details can be found in the server log.
Ansi que le log :
2022-12-14 21:26:13.310720+00:00The files belonging to this database system will be owned by user "postgres".
2022-12-14 21:26:13.310808+00:00This user must also own the server process.
2022-12-14 21:26:13.310841+00:002022-12-14T21:26:13.310841982Z
2022-12-14 21:26:13.311235+00:00The database cluster will be initialized with locale "en_US.utf8".
2022-12-14 21:26:13.311270+00:00The default database encoding has accordingly been set to "UTF8".
2022-12-14 21:26:13.311301+00:00The default text search configuration will be set to "english".
2022-12-14 21:26:13.311318+00:002022-12-14T21:26:13.311318549Z
2022-12-14 21:26:13.311340+00:00Data page checksums are disabled.
2022-12-14 21:26:13.311367+00:002022-12-14T21:26:13.311367213Z
2022-12-14 21:26:13.311524+00:00fixing permissions on existing directory /var/lib/postgresql/data ... ok
2022-12-14 21:26:13.313378+00:00creating subdirectories ... ok
2022-12-14 21:26:13.313775+00:00selecting dynamic shared memory implementation ... posix
2022-12-14 21:26:13.349676+00:00selecting default max_connections ... 100
2022-12-14 21:26:13.384326+00:00selecting default shared_buffers ... 128MB
2022-12-14 21:26:13.443340+00:00selecting default time zone ... Etc/UTC
2022-12-14 21:26:13.479889+00:00creating configuration files ... ok
2022-12-14 21:26:13.853548+00:00running bootstrap script ... ok
2022-12-14 21:26:15.478609+00:00performing post-bootstrap initialization ... ok
2022-12-14 21:26:15.546954+00:00syncing data to disk ... ok
2022-12-14 21:26:15.547037+00:002022-12-14T21:26:15.547037698Z
2022-12-14 21:26:15.547060+00:00initdb: warning: enabling "trust" authentication for local connections
2022-12-14 21:26:15.547098+00:00You can change this by editing pg_hba.conf or using the option -A, or
2022-12-14 21:26:15.547116+00:00--auth-local and --auth-host, the next time you run initdb.
2022-12-14 21:26:15.547073+00:002022-12-14T21:26:15.547073657Z
2022-12-14 21:26:15.547166+00:00Success. You can now start the database server using:
2022-12-14 21:26:15.547182+00:002022-12-14T21:26:15.547182774Z
2022-12-14 21:26:15.547197+00:00pg_ctl -D /var/lib/postgresql/data -l logfile start
2022-12-14 21:26:15.547213+00:002022-12-14T21:26:15.547213146Z
2022-12-14 21:26:15.630256+00:00waiting for server to start....2022-12-14 21:26:15.629 UTC [49] LOG: starting PostgreSQL 13.1 (Debian 13.1-1.pgdg100+1) on x86_64-pc-linux-gnu, compiled by gcc (Debian 8.3.0-6) 8.3.0, 64-bit
2022-12-14 21:26:15.630979+00:002022-12-14 21:26:15.630 UTC [49] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
2022-12-14 21:26:15.635408+00:002022-12-14 21:26:15.635 UTC [50] LOG: database system was shut down at 2022-12-14 21:26:15 UTC
2022-12-14 21:26:15.640900+00:002022-12-14 21:26:15.640 UTC [49] LOG: database system is ready to accept connections
2022-12-14 21:26:15.698269+00:00done
2022-12-14 21:26:15.698307+00:00server started
2022-12-14 21:26:16.192439+00:00CREATE DATABASE
2022-12-14 21:26:16.193399+00:002022-12-14T21:26:16.193399392Z
2022-12-14 21:26:16.193685+00:002022-12-14T21:26:16.193685159Z
2022-12-14 21:26:16.193757+00:00/usr/local/bin/docker-entrypoint.sh: ignoring /docker-entrypoint-initdb.d/*
2022-12-14 21:26:16.193785+00:002022-12-14T21:26:16.193785317Z
2022-12-14 21:26:16.195370+00:002022-12-14 21:26:16.195 UTC [49] LOG: received fast shutdown request
2022-12-14 21:26:16.195648+00:00waiting for server to shut down....2022-12-14 21:26:16.195 UTC [49] LOG: aborting any active transactions
2022-12-14 21:26:16.197374+00:002022-12-14 21:26:16.197 UTC [49] LOG: background worker "logical replication launcher" (PID 56) exited with exit code 1
2022-12-14 21:26:16.197434+00:002022-12-14 21:26:16.197 UTC [51] LOG: shutting down
2022-12-14 21:26:16.206546+00:002022-12-14 21:26:16.206 UTC [49] LOG: database system is shut down
2022-12-14 21:26:16.295723+00:00done
2022-12-14 21:26:16.295759+00:00server stopped
2022-12-14 21:26:16.295881+00:002022-12-14T21:26:16.295881081Z
2022-12-14 21:26:16.295907+00:00PostgreSQL init process complete; ready for start up.
2022-12-14 21:26:16.295937+00:002022-12-14T21:26:16.295937490Z
2022-12-14 21:26:16.329222+00:002022-12-14 21:26:16.329 UTC [1] LOG: starting PostgreSQL 13.1 (Debian 13.1-1.pgdg100+1) on x86_64-pc-linux-gnu, compiled by gcc (Debian 8.3.0-6) 8.3.0, 64-bit
2022-12-14 21:26:16.329536+00:002022-12-14 21:26:16.329 UTC [1] LOG: listening on IPv4 address "0.0.0.0", port 5432
2022-12-14 21:26:16.329573+00:002022-12-14 21:26:16.329 UTC [1] LOG: listening on IPv6 address "::", port 5432
2022-12-14 21:26:16.330449+00:002022-12-14 21:26:16.330 UTC [1] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
2022-12-14 21:26:16.334379+00:002022-12-14 21:26:16.334 UTC [77] LOG: database system was shut down at 2022-12-14 21:26:16 UTC
2022-12-14 21:26:16.340183+00:002022-12-14 21:26:16.340 UTC [1] LOG: database system is ready to accept connections
J'ai l'impression que le pod ne détecte pas quand je me connecte à l'interface.

- Pod truecharts
J'arrive à m'y connecter sans soucis mais j'ai un problème lorsque j'essaie de me connecter avec mon adresse ip publique :

Accès à partir d'un domaine non approuvé​

Veuillez contacter votre administrateur. Si vous êtes un administrateur, éditez la variable "trusted_domains" dans le fichier config/config.php comme l'exemple dans le fichier config/config.sample.php.


Vous trouverez d'autres informations sur la configuration dans la documentation .

Mais aussi quand j'essaie de m'y connecter avec mon dns cloudflare j'ai l'erreur 525 : SSL handshake fail
Capture.PNG


Infos truenas :
Capture.PNG


Merci beaucoup d'avance
 

JenJen

Dabbler
Joined
Jun 30, 2021
Messages
19
Salut,

Pour ton problème d'IP publique je pense que tu n'as pas ajouté ton nom de domaine dans le fichier config/config.php de Nextcloud.
https://docs.nextcloud.com/server/l...tion_server/config_sample_php_parameters.html
1672043851610.png


Pour y accéder tu cliques sur les 3 points de ton application et tu cliques sur shell en prenant bien soin de sélectionner l'image docker nextcloud dans la pop-up qui s'ouvre. Ensuite tu navigues jusqu'au fichier et le modifie. De mémoire il y a nano d'installé.

En espérant t'avoir aidé.
 
Top