Écrire une réponse

Veuillez écrire votre message et l'envoyer

Cliquez dans la zone sombre de l'image pour envoyer votre message.

Retour

Résumé de la discussion (messages les plus récents en premier)

FunkyKwak
2023-03-30 07:55:54

Charles69 a écrit:

Mais le problème sur install.php me fait plus penser à un problème de base de données.
Est ce que Docker utilise sa propre bdd ou bien MariaDB du Syno ?

Bonjour,

Un autre container est associé pour la base de données : mysql:latest

Charles69
2023-03-29 10:08:24

Bonjour,

J'ai installé Piwigo sur un synology directement comme site web, mais pas avec Docker.
( je n'ai jamais réussi avec Docker )
J'ai du donner des droits en lecture-écriture à SYSTEM sur _data, galleries, themes, plugins et upload.

Mais le problème sur install.php me fait plus penser à un problème de base de données.
Est ce que Docker utilise sa propre bdd ou bien MariaDB du Syno ?

FunkyKwak
2023-03-28 20:17:24

FunkyKwak a écrit:

I just thought about something that could matters : the user I set up for Piwigo has read/write access on the /config volume, but read only access on the /gallery volume (where the pictures are stored).
Could this be an issue ?

Oups, en français c'est aussi bien : l'utilisateur que j'ai défini pour Piwigo n'a accès qu'en lecture seule au répertoire contenant les photos (volume /gallery), est-ce que ça pourrait poser problème ?

FunkyKwak
2023-03-28 19:11:39

I just thought about something that could matters : the user I set up for Piwigo has read/write access on the /config volume, but read only access on the /gallery volume (where the pictures are stored).
Could this be an issue ?

FunkyKwak
2023-03-28 18:28:01

Bonjour,

la commande "php --version" (exécutée depuis le terminal du NAS Synology) m'a remonté l'info suivante :
PHP 7.3.3 (cli) (built: Oct 7 2021 06:18:21) ( NTS )

Cordialement,
Yann

ddtddt
2023-03-28 09:44:32

Bonjour

Version de php ?

FunkyKwak
2023-03-27 23:28:52

Bonjour,

J'essaie d'installer Piwigo sur mon NAS Synology, je suis passé par Portainer pour la création des containers Docker, en suivant ce tuto :
https://mariushosting.com/how-to-instal … ology-nas/

J'en suis à l'installation de Piwigo (install.php), quand j'ai cliqué sur "Démarrer l'installation" je suis tombé instantanément sur une page blanche.
J'ai ensuite suivi les logs d'installation depuis docker, qui se sont arrêtés au bout de 15min :

Code:

date,stream,content
2023-03-27T19:15:39.522357270Z,stdout,2023-03-27 19:15:39+00:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 8.0.32-1.el8 started.
2023-03-27T19:15:43.809739132Z,stdout,2023-03-27 19:15:43+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql'
2023-03-27T19:15:43.939828768Z,stdout,2023-03-27 19:15:43+00:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 8.0.32-1.el8 started.
2023-03-27T19:15:44.151512363Z,stdout,2023-03-27 19:15:44+00:00 [Note] [Entrypoint]: Initializing database files
2023-03-27T19:15:44.166749393Z,stderr,2023-03-27T19:15:44.163048Z 0 [Warning] [MY-011068] [Server] The syntax '--skip-host-cache' is deprecated and will be removed in a future release. Please use SET GLOBAL host_cache_size=0 instead.
2023-03-27T19:15:44.166968889Z,stderr,2023-03-27T19:15:44.163198Z 0 [System] [MY-013169] [Server] /usr/sbin/mysqld (mysqld 8.0.32) initializing of server in progress as process 80
2023-03-27T19:15:44.668045453Z,stderr,2023-03-27T19:15:44.667855Z 1 [System] [MY-013576] [InnoDB] InnoDB initialization has started.
2023-03-27T19:17:20.554968501Z,stderr,2023-03-27T19:17:20.554811Z 1 [System] [MY-013577] [InnoDB] InnoDB initialization has ended.
2023-03-27T19:20:26.855514552Z,stderr,2023-03-27T19:20:26.855349Z 6 [Warning] [MY-010453] [Server] root@localhost is created with an empty password ! Please consider switching off the --initialize-insecure option.
2023-03-27T19:26:17.009445394Z,stdout,2023-03-27 19:26:17+00:00 [Note] [Entrypoint]: Database files initialized
2023-03-27T19:26:17.011276247Z,stdout,2023-03-27 19:26:17+00:00 [Note] [Entrypoint]: Starting temporary server
2023-03-27T19:26:17.761537294Z,stderr,2023-03-27T19:26:17.497354Z 0 [Warning] [MY-011068] [Server] The syntax '--skip-host-cache' is deprecated and will be removed in a future release. Please use SET GLOBAL host_cache_size=0 instead.
2023-03-27T19:26:17.761761092Z,stderr,2023-03-27T19:26:17.499368Z 0 [System] [MY-010116] [Server] /usr/sbin/mysqld (mysqld 8.0.32) starting as process 125
2023-03-27T19:26:18.408495318Z,stderr,2023-03-27T19:26:18.408310Z 1 [System] [MY-013576] [InnoDB] InnoDB initialization has started.
2023-03-27T19:26:25.406574797Z,stderr,2023-03-27T19:26:25.406415Z 1 [System] [MY-013577] [InnoDB] InnoDB initialization has ended.
2023-03-27T19:26:50.003976063Z,stderr,2023-03-27T19:26:50.003792Z 0 [Warning] [MY-010068] [Server] CA certificate ca.pem is self signed.
2023-03-27T19:26:50.004468165Z,stderr,2023-03-27T19:26:50.003841Z 0 [System] [MY-013602] [Server] Channel mysql_main configured to support TLS. Encrypted connections are now supported for this channel.
2023-03-27T19:26:50.661016161Z,stderr,2023-03-27T19:26:50.660822Z 0 [Warning] [MY-011810] [Server] Insecure configuration for --pid-file: Location '/var/run/mysqld' in the path is accessible to all OS users. Consider choosing a different directory.
2023-03-27T19:26:51.667454063Z,stderr,2023-03-27T19:26:51.667280Z 0 [System] [MY-011323] [Server] X Plugin ready for connections. Socket: /var/run/mysqld/mysqlx.sock
2023-03-27T19:26:51.688432880Z,stdout,2023-03-27 19:26:51+00:00 [Note] [Entrypoint]: Temporary server started.
2023-03-27T19:26:52.044289495Z,stderr,2023-03-27T19:26:51.667356Z 0 [System] [MY-010931] [Server] /usr/sbin/mysqld: ready for connections. Version: '8.0.32'  socket: '/var/run/mysqld/mysqld.sock'  port: 0  MySQL Community Server - GPL.
2023-03-27T19:26:52.056925617Z,stdout,/var/lib/mysql/mysql.sock' -> '/var/run/mysqld/mysqld.sock'
2023-03-27T19:27:13.003433474Z,stderr,Warning: Unable to load '/usr/share/zoneinfo/iso3166.tab' as time zone. Skipping it.
2023-03-27T19:27:13.203732458Z,stderr,Warning: Unable to load '/usr/share/zoneinfo/leapseconds' as time zone. Skipping it.
2023-03-27T19:27:21.548992864Z,stderr,Warning: Unable to load '/usr/share/zoneinfo/tzdata.zi' as time zone. Skipping it.
2023-03-27T19:27:21.549491574Z,stderr,Warning: Unable to load '/usr/share/zoneinfo/zone.tab' as time zone. Skipping it.
2023-03-27T19:27:21.549576856Z,stderr,Warning: Unable to load '/usr/share/zoneinfo/zone1970.tab' as time zone. Skipping it.
2023-03-27T19:27:26.927286334Z,stdout,2023-03-27 19:27:26+00:00 [Note] [Entrypoint]: Creating database piwigo
2023-03-27T19:27:28.364500220Z,stdout,2023-03-27 19:27:28+00:00 [Note] [Entrypoint]: Creating user piwigo
2023-03-27T19:27:30.213602177Z,stdout,2023-03-27 19:27:30+00:00 [Note] [Entrypoint]: Giving user piwigo access to schema piwigo
2023-03-27T19:27:32.253247362Z,stdout,
2023-03-27T19:27:32.255902153Z,stdout,2023-03-27 19:27:32+00:00 [Note] [Entrypoint]: Stopping temporary server
2023-03-27T19:27:32.592000106Z,stderr,2023-03-27T19:27:32.591861Z 13 [System] [MY-013172] [Server] Received SHUTDOWN from user root. Shutting down mysqld (Version: 8.0.32).
2023-03-27T19:29:19.403455933Z,stderr,2023-03-27T19:29:19.403285Z 0 [System] [MY-010910] [Server] /usr/sbin/mysqld: Shutdown complete (mysqld 8.0.32)  MySQL Community Server - GPL.
2023-03-27T19:29:19.619117345Z,stdout,2023-03-27 19:29:19+00:00 [Note] [Entrypoint]: Temporary server stopped
2023-03-27T19:29:19.619306621Z,stdout,
2023-03-27T19:29:19.620754834Z,stdout,2023-03-27 19:29:19+00:00 [Note] [Entrypoint]: MySQL init process done. Ready for start up.
2023-03-27T19:29:19.620828543Z,stdout,
2023-03-27T19:29:19.893952490Z,stderr,2023-03-27T19:29:19.887830Z 0 [Warning] [MY-011068] [Server] The syntax '--skip-host-cache' is deprecated and will be removed in a future release. Please use SET GLOBAL host_cache_size=0 instead.
2023-03-27T19:29:19.894130152Z,stderr,2023-03-27T19:29:19.889816Z 0 [System] [MY-010116] [Server] /usr/sbin/mysqld (mysqld 8.0.32) starting as process 1
2023-03-27T19:29:19.899308848Z,stderr,2023-03-27T19:29:19.899139Z 1 [System] [MY-013576] [InnoDB] InnoDB initialization has started.
2023-03-27T19:29:26.201007398Z,stderr,2023-03-27T19:29:26.200858Z 1 [System] [MY-013577] [InnoDB] InnoDB initialization has ended.
2023-03-27T19:29:42.319527451Z,stderr,2023-03-27T19:29:42.319381Z 0 [Warning] [MY-010068] [Server] CA certificate ca.pem is self signed.
2023-03-27T19:29:42.320791650Z,stderr,2023-03-27T19:29:42.320696Z 0 [System] [MY-013602] [Server] Channel mysql_main configured to support TLS. Encrypted connections are now supported for this channel.
2023-03-27T19:29:42.951483804Z,stderr,2023-03-27T19:29:42.951308Z 0 [Warning] [MY-011810] [Server] Insecure configuration for --pid-file: Location '/var/run/mysqld' in the path is accessible to all OS users. Consider choosing a different directory.
2023-03-27T19:29:42.978147828Z,stderr,"2023-03-27T19:29:42.977989Z 0 [System] [MY-011323] [Server] X Plugin ready for connections. Bind-address: '::' port: 33060, socket: /var/run/mysqld/mysqlx.sock
2023-03-27T19:29:43.701989893Z,stderr,2023-03-27T19:29:42.978027Z 0 [System] [MY-010931] [Server] /usr/sbin/mysqld: ready for connections. Version: '8.0.32'  socket: '/var/run/mysqld/mysqld.sock'  port: 3306  MySQL Community Server - GPL.

Maintenant quand je tente d'accéder à Piwigo je tombe systématiquement sur la page d'installation (install.php).
Je ne comprend pas vraiment ce qui ne va pas, je ne trouve pas d'erreur dans les logs et pourtant l'installation ne semble pas s'être bien déroulée...

Merci d'avance pour votre aide !

Pied de page des forums

Propulsé par FluxBB

github twitter newsletter Faire un don Piwigo.org © 2002-2024 · Contact