Bonjour à tous,
Je suis à un cheveux d’obtenir mon Directus sur mon serveur de production avec Docker mais j’ai une erreur qui s’affiche en chargeant l’interface :
Ce site ne peut pas fournir de connexion sécurisée
37.27.187.210 a envoyé une réponse incorrecte.
ERR_SSL_PROTOCOL_ERROR
Le caddyfile :
37.27.187.210
reverse_proxy http://directus:8055
Et le paramètre PUBLIC_URL :
environment:
KEY_FILE: '/run/secrets/directus_key'
SECRET_FILE: '/run/secrets/directus_secret'
PUBLIC_URL: 'https://37.27.187.210'
Pour le moment, je n’ai pas encore migré mon nom de domaine et je pointe directement sur l’adresse de mon serveur. Si quelqu’un a une idée d’où ça pourrait venir …
Merci d’avance
Voici les logs :
caddy-1 | {"level":"info","ts":1726689272.7170005,"msg":"using provided configuration","config_file":"/etc/caddy/Caddyfile","config_adapter":"caddyfile"}
caddy-1 | {"level":"info","ts":1726689272.7272365,"logger":"admin","msg":"admin endpoint started","address":"localhost:2019","enforce_origin":false,"origins":["//localhost:2019","//[::1]:2019","//127.0.0.1:2019"]}
caddy-1 | {"level":"info","ts":1726689272.7291207,"logger":"http.auto_https","msg":"server is listening only on the HTTPS port but has no TLS connection policies; adding one to enable TLS","server_name":"srv0","https_port":443}
caddy-1 | {"level":"info","ts":1726689272.7291818,"logger":"http.auto_https","msg":"enabling automatic HTTP->HTTPS redirects","server_name":"srv0"}
caddy-1 | {"level":"info","ts":1726689272.7311695,"logger":"tls.cache.maintenance","msg":"started background certificate maintenance","cache":"0xc0001de180"}
caddy-1 | {"level":"info","ts":1726689272.7397702,"logger":"tls","msg":"cleaning storage unit","storage":"FileStorage:/data/caddy"}
caddy-1 | {"level":"info","ts":1726689272.7403367,"logger":"tls","msg":"finished cleaning storage units"}
caddy-1 | {"level":"warn","ts":1726689272.7769315,"logger":"pki.ca.local","msg":"installing root certificate (you might be prompted for password)","path":"storage:pki/authorities/local/root.crt"}
caddy-1 | {"level":"info","ts":1726689272.777508,"msg":"warning: \"certutil\" is not available, install \"certutil\" with \"apt install libnss3-tools\" or \"yum install nss-tools\" and try again"}
caddy-1 | {"level":"info","ts":1726689272.7776735,"msg":"define JAVA_HOME environment variable to use the Java trust"}
caddy-1 | {"level":"info","ts":1726689272.8251932,"msg":"certificate installed properly in linux trusts"}
caddy-1 | {"level":"info","ts":1726689272.8261569,"logger":"http.log","msg":"server running","name":"remaining_auto_https_redirects","protocols":["h1","h2","h3"]}
caddy-1 | {"level":"info","ts":1726689272.8263822,"logger":"http","msg":"enabling HTTP/3 listener","addr":":443"}
caddy-1 | {"level":"info","ts":1726689272.8302782,"logger":"http.log","msg":"server running","name":"srv0","protocols":["h1","h2","h3"]}
caddy-1 | {"level":"info","ts":1726689272.8304064,"logger":"http","msg":"enabling automatic TLS certificate management","domains":["37.27.187.210"]}
caddy-1 | {"level":"info","ts":1726689272.8307652,"msg":"autosaved config (load with --resume flag)","file":"/config/caddy/autosave.json"}
caddy-1 | {"level":"info","ts":1726689272.8308263,"msg":"serving initial configuration"}
caddy-1 | {"level":"info","ts":1726689272.8311813,"logger":"tls.obtain","msg":"acquiring lock","identifier":"37.27.187.210"}
caddy-1 | {"level":"info","ts":1726689272.8337686,"logger":"tls.obtain","msg":"lock acquired","identifier":"37.27.187.210"}
caddy-1 | {"level":"info","ts":1726689272.833957,"logger":"tls.obtain","msg":"obtaining certificate","identifier":"37.27.187.210"}
caddy-1 | {"level":"info","ts":1726689272.8354151,"logger":"tls.obtain","msg":"certificate obtained successfully","identifier":"37.27.187.210"}
caddy-1 | {"level":"info","ts":1726689272.835625,"logger":"tls.obtain","msg":"releasing lock","identifier":"37.27.187.210"}
caddy-1 | {"level":"warn","ts":1726689272.8362112,"logger":"tls","msg":"stapling OCSP","error":"no OCSP stapling for [37.27.187.210]: no OCSP server specified in certificate","identifiers":["37.27.187.210"]}
cache-1 | 1:C 18 Sep 2024 19:54:32.674 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
cache-1 | 1:C 18 Sep 2024 19:54:32.674 # Redis version=6.2.14, bits=64, commit=00000000, modified=0, pid=1, just started
cache-1 | 1:C 18 Sep 2024 19:54:32.674 # Warning: no config file specified, using the default config. In order to specify a config file use redis-server /path/to/redis.conf
cache-1 | 1:M 18 Sep 2024 19:54:32.679 * monotonic clock: POSIX clock_gettime
cache-1 | 1:M 18 Sep 2024 19:54:32.684 * Running mode=standalone, port=6379.
cache-1 | 1:M 18 Sep 2024 19:54:32.684 # Server initialized
cache-1 | 1:M 18 Sep 2024 19:54:32.684 # WARNING Memory overcommit must be enabled! Without it, a background save or replication may fail under low memory condition. Being disabled, it can can also cause failures without low memory condition, see https://github.com/jemalloc/jemalloc/issues/1328. To fix this issue add 'vm.overcommit_memory = 1' to /etc/sysctl.conf and then reboot or run the command 'sysctl vm.overcommit_memory=1' for this to take effect.
cache-1 | 1:M 18 Sep 2024 19:54:32.684 * Ready to accept connections
directus-1 | [19:55:08.199] INFO: Initializing bootstrap...
directus-1 | [19:55:08.212] INFO: Installing Directus system tables...
directus-1 | [19:55:09.133] INFO: Running migrations...
directus-1 | [19:55:09.145] INFO: Applying Remove Collection Foreign Keys...
directus-1 | [19:55:09.185] INFO: Applying Remove System Relations...
directus-1 | [19:55:09.211] INFO: Applying Remove System Collections...
directus-1 | [19:55:09.234] INFO: Applying Remove System Fields...
directus-1 | [19:55:09.241] INFO: Applying Add Cascade System Relations...
directus-1 | [19:55:09.696] INFO: Applying Change Webhook URL Type...
directus-1 | [19:55:09.726] INFO: Applying Add Relations Sort Field...
directus-1 | [19:55:09.749] INFO: Applying Remove Locked Fields...
directus-1 | [19:55:09.774] INFO: Applying Webhooks Collections Text...
directus-1 | [19:55:09.798] INFO: Applying Add Refresh Interval...
directus-1 | [19:55:09.810] INFO: Applying Make Filesize Nullable...
directus-1 | [19:55:09.854] INFO: Applying Add Collections Accountability...
directus-1 | [19:55:09.865] INFO: Applying Remove Files Interface...
directus-1 | [19:55:09.878] INFO: Applying Rename Interfaces...
directus-1 | [19:55:09.924] INFO: Applying Restructure Relations...
directus-1 | [19:55:10.026] INFO: Applying Add Foreign Key Constraints...
directus-1 | [19:55:10.048] INFO: Applying Add System Fk Triggers...
directus-1 | [19:55:10.327] INFO: Applying Add Collections Icon Color...
directus-1 | [19:55:10.334] INFO: Applying Add Insights...
directus-1 | [19:55:10.413] INFO: Applying Add Deep Clone Config...
directus-1 | [19:55:10.429] INFO: Applying Change Filesize Bigint...
directus-1 | [19:55:10.468] INFO: Applying Add Conditions to Fields...
directus-1 | [19:55:10.477] INFO: Applying Add Default Folder...
directus-1 | [19:55:10.513] INFO: Applying Replace Groups...
directus-1 | [19:55:10.521] INFO: Applying Add Required to Fields...
directus-1 | [19:55:10.533] INFO: Applying Update Groups...
directus-1 | [19:55:10.547] INFO: Applying Change Image Metadata Structure...
directus-1 | [19:55:10.556] INFO: Applying Add Geometry Config...
directus-1 | [19:55:10.566] INFO: Applying Remove Limit Column...
directus-1 | [19:55:10.593] INFO: Applying Add Auth Provider...
directus-1 | [19:55:10.654] INFO: Applying Webhooks Collections Not Null...
directus-1 | [19:55:10.680] INFO: Applying Move Module Setup...
directus-1 | [19:55:10.714] INFO: Applying Webhooks URL Not Null...
directus-1 | [19:55:10.739] INFO: Applying Add Collection Organization...
directus-1 | [19:55:10.785] INFO: Applying Replace Fields Group...
directus-1 | [19:55:10.823] INFO: Applying Replace M2M Interface...
directus-1 | [19:55:10.830] INFO: Applying Rename Login Action...
directus-1 | [19:55:10.841] INFO: Applying Update Presets...
adminer-1 | [Wed Sep 18 19:54:32 2024] PHP 7.4.33 Development Server (http://[::]:8080) started
adminer-1 | [Wed Sep 18 19:54:33 2024] [::ffff:83.97.73.245]:51936 Accepted
adminer-1 | [Wed Sep 18 19:54:33 2024] [::ffff:83.97.73.245]:51936 [200]: GET /actuator/gateway/routes
adminer-1 | [Wed Sep 18 19:54:33 2024] [::ffff:83.97.73.245]:51936 Closing
directus-1 | [19:55:10.873] INFO: Applying Add Auth Data...
directus-1 | [19:55:10.882] INFO: Applying Add Webhook Headers...
directus-1 | [19:55:10.891] INFO: Applying Set Unique to User Token...
db-1 | 2024-09-18 19:54:32+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.3.39+maria~ubu2004 started.
db-1 | 2024-09-18 19:54:32+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql'
db-1 | 2024-09-18 19:54:32+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.3.39+maria~ubu2004 started.
db-1 | 2024-09-18 19:54:33+00:00 [Note] [Entrypoint]: Initializing database files
db-1 |
db-1 |
db-1 | PLEASE REMEMBER TO SET A PASSWORD FOR THE MariaDB root USER !
db-1 | To do so, start the server, then issue the following command:
db-1 |
db-1 | '/usr/bin/mysql_secure_installation'
db-1 |
db-1 | which will also give you the option of removing the test
db-1 | databases and anonymous user created by default. This is
db-1 | strongly recommended for production servers.
db-1 |
db-1 | See the MariaDB Knowledgebase at http://mariadb.com/kb
db-1 |
db-1 | Please report any problems at http://mariadb.org/jira
db-1 |
db-1 | The latest information about MariaDB is available at http://mariadb.org/.
db-1 |
db-1 | Consider joining MariaDB's strong and vibrant community:
db-1 | https://mariadb.org/get-involved/
db-1 |
db-1 | 2024-09-18 19:54:35+00:00 [Note] [Entrypoint]: Database files initialized
db-1 | 2024-09-18 19:54:35+00:00 [Note] [Entrypoint]: Starting temporary server
db-1 | 2024-09-18 19:54:35+00:00 [Note] [Entrypoint]: Waiting for server startup
db-1 | 2024-09-18 19:54:35 0 [Note] Starting MariaDB 10.3.39-MariaDB-1:10.3.39+maria~ubu2004 source revision ca001cf2048f0152689e1895e2dc15486dd0b1af as process 111
db-1 | 2024-09-18 19:54:35 0 [Note] InnoDB: Using Linux native AIO
db-1 | 2024-09-18 19:54:35 0 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
db-1 | 2024-09-18 19:54:35 0 [Note] InnoDB: Uses event mutexes
db-1 | 2024-09-18 19:54:35 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
db-1 | 2024-09-18 19:54:35 0 [Note] InnoDB: Number of pools: 1
db-1 | 2024-09-18 19:54:35 0 [Note] InnoDB: Using SSE2 crc32 instructions
db-1 | 2024-09-18 19:54:35 0 [Note] InnoDB: Initializing buffer pool, total size = 256M, instances = 1, chunk size = 128M
db-1 | 2024-09-18 19:54:35 0 [Note] InnoDB: Completed initialization of buffer pool
db-1 | 2024-09-18 19:54:35 0 [Note] InnoDB: If the mysqld execution user is authorized, page cleaner thread priority can be changed. See the man page of setpriority().
db-1 | 2024-09-18 19:54:35 0 [Note] InnoDB: 128 out of 128 rollback segments are active.
db-1 | 2024-09-18 19:54:35 0 [Note] InnoDB: Creating shared tablespace for temporary tables
db-1 | 2024-09-18 19:54:35 0 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
db-1 | 2024-09-18 19:54:35 0 [Note] InnoDB: File './ibtmp1' size is now 12 MB.
db-1 | 2024-09-18 19:54:35 0 [Note] InnoDB: 10.3.39 started; log sequence number 1625419; transaction id 20
db-1 | 2024-09-18 19:54:35 0 [Note] Plugin 'FEEDBACK' is disabled.
db-1 | 2024-09-18 19:54:35 0 [Warning] 'user' entry 'root@52d856fd36fe' ignored in --skip-name-resolve mode.
db-1 | 2024-09-18 19:54:35 0 [Warning] 'proxies_priv' entry '@% root@52d856fd36fe' ignored in --skip-name-resolve mode.
directus-1 | [19:55:10.903] INFO: Applying Update Special Geometry...
directus-1 | [19:55:10.909] INFO: Applying Remove Collections Listing...
directus-1 | [19:55:10.929] INFO: Applying Add Notifications...
directus-1 | [19:55:11.024] INFO: Applying Add Shares...
directus-1 | [19:55:11.219] INFO: Applying Add Project Descriptor...
directus-1 | [19:55:11.233] INFO: Applying Remove Default Project Color...
directus-1 | [19:55:11.244] INFO: Applying Add Bookmark Icon and Color...
directus-1 | [19:55:11.254] INFO: Applying Add Translation Strings...
directus-1 | [19:55:11.266] INFO: Applying Rename Field Typecast Flags...
directus-1 | [19:55:11.277] INFO: Applying Add Field Validation...
directus-1 | [19:55:11.291] INFO: Applying Fix Typecast Flags...
directus-1 | [19:55:11.303] INFO: Applying Add Default Language...
directus-1 | [19:55:11.342] INFO: Applying Remove Default Value Panel Icon...
directus-1 | [19:55:11.356] INFO: Applying Add Flows...
directus-1 | [19:55:11.536] INFO: Applying Add Color to Insights Icon...
directus-1 | [19:55:11.544] INFO: Applying Drop Non Null From IP of Activity...
directus-1 | [19:55:11.574] INFO: Applying Drop Non Null From Sender of Notifications...
directus-1 | [19:55:11.599] INFO: Applying Rename Hook Trigger to Event...
directus-1 | [19:55:11.611] INFO: Applying Update Notifications Timestamp Column...
directus-1 | [19:55:11.631] INFO: Applying Add Custom Aspect Ratios...
directus-1 | [19:55:11.640] INFO: Applying Add Origin to Accountability...
directus-1 | [19:55:11.656] INFO: Applying Update Material Icons...
directus-1 | [19:55:11.685] INFO: Applying Add Preview Settings...
directus-1 | [19:55:11.697] INFO: Applying Migrate Translation Strings...
directus-1 | [19:55:11.741] INFO: Applying Require Shares Fields...
directus-1 | [19:55:11.845] INFO: Applying Add Content Versioning...
directus-1 | [19:55:11.995] INFO: Applying Themes...
directus-1 | [19:55:12.099] INFO: Applying Update CSV Fields to Text...
directus-1 | [19:55:12.107] INFO: Applying Update Panel Options...
directus-1 | [19:55:12.115] INFO: Applying Add Extensions...
directus-1 | [19:55:12.129] INFO: Applying Add Focalpoints...
directus-1 | [19:55:12.140] INFO: Applying Add Report URL Fields...
directus-1 | [19:55:12.151] INFO: Applying Marketplace...
directus-1 | [19:55:12.269] INFO: Applying Change Useragent Type...
directus-1 | [19:55:12.339] INFO: Applying Deprecate Webhooks...
directus-1 | [19:55:12.390] INFO: Applying Public Registration...
directus-1 | [19:55:12.435] INFO: Applying Add Session Window...
directus-1 | [19:55:12.445] INFO: Applying Add Tus Data...
directus-1 | [19:55:12.456] INFO: Applying Update Files Date Fields...
directus-1 | [19:55:12.471] INFO: Applying Permissions Policies...
directus-1 | [19:55:12.766] INFO: Applying Update Icon Fields Length...
directus-1 | [19:55:13.035] INFO: Setting up first admin role...
directus-1 | [19:55:13.071] INFO: Adding first admin user...
directus-1 | [19:55:13.303] INFO: Done
directus-1 | 2024-09-18T19:55:13: PM2 log: Launching in no daemon mode
directus-1 | 2024-09-18T19:55:13: PM2 log: App [directus:0] starting in -cluster mode-
directus-1 | 2024-09-18T19:55:17: PM2 log: App [directus:0] online
db-1 | 2024-09-18 19:54:35 0 [Note] Reading of all Master_info entries succeeded
db-1 | 2024-09-18 19:54:35 0 [Note] Added new Master_info '' to hash table
db-1 | 2024-09-18 19:54:35 0 [Note] mysqld: ready for connections.
db-1 | Version: '10.3.39-MariaDB-1:10.3.39+maria~ubu2004' socket: '/var/run/mysqld/mysqld.sock' port: 0 mariadb.org binary distribution
db-1 | 2024-09-18 19:54:36+00:00 [Note] [Entrypoint]: Temporary server started.
db-1 | 2024-09-18 19:54:39+00:00 [Note] [Entrypoint]: Creating database pickfungi
db-1 | 2024-09-18 19:54:39+00:00 [Note] [Entrypoint]: Creating user pickfungi
db-1 | 2024-09-18 19:54:39+00:00 [Note] [Entrypoint]: Giving user pickfungi access to schema pickfungi
db-1 | 2024-09-18 19:54:39+00:00 [Note] [Entrypoint]: Securing system users (equivalent to running mysql_secure_installation)
db-1 |
db-1 | 2024-09-18 19:54:39+00:00 [Note] [Entrypoint]: Stopping temporary server
db-1 | 2024-09-18 19:54:39 0 [Note] mysqld (initiated by: unknown): Normal shutdown
db-1 | 2024-09-18 19:54:39 0 [Note] Event Scheduler: Purging the queue. 0 events
db-1 | 2024-09-18 19:54:39 0 [Note] InnoDB: FTS optimize thread exiting.
db-1 | 2024-09-18 19:54:39 0 [Note] InnoDB: Starting shutdown...
db-1 | 2024-09-18 19:54:39 0 [Note] InnoDB: Dumping buffer pool(s) to /var/lib/mysql/ib_buffer_pool
db-1 | 2024-09-18 19:54:39 0 [Note] InnoDB: Buffer pool(s) dump completed at 240918 19:54:39
db-1 | 2024-09-18 19:54:40 0 [Note] InnoDB: Removed temporary tablespace data file: "ibtmp1"
db-1 | 2024-09-18 19:54:40 0 [Note] InnoDB: Shutdown completed; log sequence number 1625428; transaction id 21
db-1 | 2024-09-18 19:54:40 0 [Note] mysqld: Shutdown complete
db-1 |
db-1 | 2024-09-18 19:54:40+00:00 [Note] [Entrypoint]: Temporary server stopped
db-1 |
db-1 | 2024-09-18 19:54:40+00:00 [Note] [Entrypoint]: MariaDB init process done. Ready for start up.
db-1 |
db-1 | 2024-09-18 19:54:40 0 [Note] Starting MariaDB 10.3.39-MariaDB-1:10.3.39+maria~ubu2004 source revision ca001cf2048f0152689e1895e2dc15486dd0b1af as process 1
directus-1 | [19:55:19.443] WARN: Upload directory (/directus/uploads) is not read/writeable!
directus-1 | [19:55:19.524] INFO: Server started at http://0.0.0.0:8055
db-1 | 2024-09-18 19:54:40 0 [Note] InnoDB: Using Linux native AIO
db-1 | 2024-09-18 19:54:40 0 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
db-1 | 2024-09-18 19:54:40 0 [Note] InnoDB: Uses event mutexes
db-1 | 2024-09-18 19:54:40 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
db-1 | 2024-09-18 19:54:40 0 [Note] InnoDB: Number of pools: 1
db-1 | 2024-09-18 19:54:40 0 [Note] InnoDB: Using SSE2 crc32 instructions
db-1 | 2024-09-18 19:54:40 0 [Note] InnoDB: Initializing buffer pool, total size = 256M, instances = 1, chunk size = 128M
db-1 | 2024-09-18 19:54:40 0 [Note] InnoDB: Completed initialization of buffer pool
db-1 | 2024-09-18 19:54:40 0 [Note] InnoDB: If the mysqld execution user is authorized, page cleaner thread priority can be changed. See the man page of setpriority().
db-1 | 2024-09-18 19:54:40 0 [Note] InnoDB: 128 out of 128 rollback segments are active.
db-1 | 2024-09-18 19:54:40 0 [Note] InnoDB: Creating shared tablespace for temporary tables
db-1 | 2024-09-18 19:54:40 0 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
db-1 | 2024-09-18 19:54:40 0 [Note] InnoDB: File './ibtmp1' size is now 12 MB.
db-1 | 2024-09-18 19:54:40 0 [Note] InnoDB: 10.3.39 started; log sequence number 1625428; transaction id 20
db-1 | 2024-09-18 19:54:40 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool
db-1 | 2024-09-18 19:54:40 0 [Note] Plugin 'FEEDBACK' is disabled.
db-1 | 2024-09-18 19:54:40 0 [Note] InnoDB: Buffer pool(s) load completed at 240918 19:54:40
db-1 | 2024-09-18 19:54:40 0 [Note] Server socket created on IP: '::'.
db-1 | 2024-09-18 19:54:40 0 [Note] Reading of all Master_info entries succeeded
db-1 | 2024-09-18 19:54:40 0 [Note] Added new Master_info '' to hash table
db-1 | 2024-09-18 19:54:40 0 [Note] mysqld: ready for connections.
db-1 | Version: '10.3.39-MariaDB-1:10.3.39+maria~ubu2004' socket: '/var/run/mysqld/mysqld.sock' port: 3306 mariadb.org binary distribution
db-1 | 2024-09-18 19:55:02 8 [Warning] Access denied for user 'root'@'localhost' (using password: NO)
db-1 | 2024-09-18 19:55:32 19 [Warning] Access denied for user 'root'@'localhost' (using password: NO)
db-1 | 2024-09-18 19:56:02 20 [Warning] Access denied for user 'root'@'localhost' (using password: NO)
db-1 | 2024-09-18 19:56:32 21 [Warning] Access denied for user 'root'@'localhost' (using password: NO)