Hi I attempted to update from Galette 1.15 to 1.2.0.1 today and I can't get it to start. On 1.2.0.1 I get a server error and no Galette UI. The logs show an open_basedir error (see below). [Sun Nov 02 14:45:21.505078 2025] [proxy_fcgi:error] [pid 2579314:tid 2579324] [remote 80.14.16.31:59894] AH01071: Got error 'PHP message: PHP Warning: is_dir(): open_basedir restriction in effect. File(/var/www/clients/client0/web3/web/webroot/../../.git) is not within the allowed path(s): (/var/www/clients/client0/web3/web:/var/www/clients/client0/web3/private:/var/www/clients/client0/web3/tmp:/var/www/galette1.aphyllanthe.fr/web:/srv/www/galette1.aphyllanthe.fr/web:/usr/share/php5:/usr/share/php:/tmp:/usr/share/phpmyadmin:/etc/phpmyadmin:/var/lib/phpmyadmin:/dev/random:/dev/urandom) in /var/www/clients/client0/web3/web/lib/Galette/Core/Galette.php on line 61; PHP message: Slim Application Error\nType: ErrorException\nCode: 0\nMessage: include(/var/www/clients/client0/web3/web/vendor/composer/../php-di/invoker/src/Exception/NotCallableException.php): Failed to open stream: Aucun fichier ou dossier de ce type\nFile: /var/www/clients/client0/web3/web/vendor/composer/ClassLoader.php\nLine: 576\nTrace: #0 /var/www/clients/client0/web3/web/vendor/composer/ClassLoader.php(576): {closure}()\n#1 /var/www/clients/client0/web3/web/vendor/composer/ClassLoader.php(576): include()\n#2 /var/www/clients/client0/web3/web/vendor/composer/ClassLoader.php(427): Composer\\Autoload\\{closure}()\n#3 /var/www/clients/client0/web3/web/vendor/php-di/invoker/src/CallableResolver.php(41): Composer\\Autoload\\ClassLoader->loadClass()\n#4 /var/www/clients/client0/web3/web/vendor/php-di/slim-bridge/src/CallableResolver.php(65): Invoker\\CallableResolver->resolve()\n#5 /var/www/clients/client0/web3/web/vendor/php-di/slim-bridge/src/CallableResolver.php(44): DI\\Bridge\\Slim\\CallableResolver->resolvePo...', referer: https://galette1.aphyllanthe.fr/webroot/members So I reverted back to 1.15 and I am now getting the error on this version (did not have it before today). On 1.15 the Galette UI opens and displays an open_basedir error at the top of the UI as follows : is_dir(): open_basedir restriction in effect. File(/var/www/clients/client0/web3/web/webroot/../../.git) is not within the allowed path(s): (/var/www/clients/client0/web3/web:/var/www/clients/client0/web3/private:/var/www/clients/client0/web3/tmp:/var/www/galette1.aphyllanthe.fr/web:/srv/www/galette1.aphyllanthe.fr/web:/usr/share/php5:/usr/share/php:/tmp:/usr/share/phpmyadmin:/etc/phpmyadmin:/var/lib/phpmyadmin:/dev/random:/dev/urandom) I guess this is simple to resolve but I am not able to figure it out. Anyone help? Regards Mrmodo -- Cordialement Jim Cluchey <https://www.cluchey.com>
Hi Thanks for the reply. for 1.2.0.1 I used the download link on the top right banner on this page : https://galette.eu/site/fr/ To recover 1.15 I used the link under Happy New Galette on this page : https://galette.eu/site/fr/posts/page/2/ Not the right places ? Cordialement Jim Cluchey <https://www.cluchey.com> On 11/2/2025 4:14 PM, Johan Cwiklinski wrote:
Hello,
Le 02/11/2025 à 15:48, jim/cluchey a écrit :
File(/var/www/ clients/client0/web3/web/webroot/../../.git)
Use release archive, which does no bring any ".git" directory; using a git clone is often not a good idea unless you really know what you do.
++
Le 02/11/2025 à 16:21, jim/cluchey a écrit :
Hi
Thanks for the reply.
for 1.2.0.1 I used the download link on the top right banner on this page : https://galette.eu/site/fr/
All Galette downloads archives are available at: https://galette.eu/download/ Those archives do not contain any ".git" directory; so you did something wrong at one moment. Removing this directory *should* be enough. ++ -- Johan
Hi Thanks again for your reply. Using filezilla I removed all the old files from the remote server and replaced with new files for v 1.2 from the archive. I added back the retained config, data files. Also added the 2 latest plugins - (activites and events). Now the Galette UI starts and displays the "Galette requiert une mise a jour" page. Good so far. Using the URL : https://galette1.aphyllanthe.fr/webroot/installer.php I get a new page as shown in image attached. And the log again shows an open_basdir error as below [Sun Nov 02 17:48:14.190571 2025] [proxy_fcgi:error] [pid 2579314:tid 2579322] [remote 80.14.16.31:51441] AH01071: Got error 'PHP message: PHP Warning: is_dir(): open_basedir restriction in effect. File(/var/www/clients/client0/web3/web/webroot/../../.git) is not within the allowed path(s): (/var/www/clients/client0/web3/web:/var/www/clients/client0/web3/private:/var/www/clients/client0/web3/tmp:/var/www/galette1.aphyllanthe.fr/web:/srv/www/galette1.aphyllanthe.fr/web:/usr/share/php5:/usr/share/php:/tmp:/usr/share/phpmyadmin:/etc/phpmyadmin:/var/lib/phpmyadmin:/dev/random:/dev/urandom) in /var/www/clients/client0/web3/web/lib/Galette/Core/Galette.php on line 65; PHP message: PHP Fatal error: Uncaught ErrorException: is_dir(): open_basedir restriction in effect. File(/var/www/clients/client0/web3/web/webroot/../../.git) is not within the allowed path(s): (/var/www/clients/client0/web3/web:/var/www/clients/client0/web3/private:/var/www/clients/client0/web3/tmp:/var/www/galette1.aphyllanthe.fr/web:/srv/www/galette1.aphyllanthe.fr/web:/usr/share/php5:/usr/share/php:/tmp:/usr/share/phpmyadmin:/etc/phpmyadmin:/var/lib/phpmyadmin:/dev/random:/dev/urandom) in /var/www/clients/client0/web3/web/lib/Galette/Core/Galette.php:65\nStack trace:\n#0 [internal function]: {closure}()\n#1 /var/www/clients/client0/web3/web/lib/Galette/Core/Galette.php(65): is_dir()\n#2 /var/www/clients/client0/web3/web/lib/Galette/Core/I18n.php(323): Galette\\Core\\Galette::gitVersion()\n#3 /var/www/clients/client0/web3/web/webroot/installer.php(225): Galette\\Core\\I18n->getDocumentationBaseUrl()\n#4 {main}\n thrown in /var/www/clients/client0/web3/web/lib/Galette/Core/Galette.php on line 65' There are no .git files in the archive sources but there are some .github directories. I'm pretty sure there are no.git files on the server. I evidently have an error somewhere but for the time being I can't find it. Cordialement Jim Cluchey <https://www.cluchey.com> On 11/2/2025 4:32 PM, Johan Cwiklinski wrote:
Le 02/11/2025 à 16:21, jim/cluchey a écrit :
Hi
Thanks for the reply.
for 1.2.0.1 I used the download link on the top right banner on this page : https://galette.eu/site/fr/
All Galette downloads archives are available at: https://galette.eu/download/
Those archives do not contain any ".git" directory; so you did something wrong at one moment. Removing this directory *should* be enough.
++
Hi On my request, our hosting service changed open_basedir PHP to none for this subdomain. This seems to have solved the problem. Questions remain however as the open-basedir restriction was not causing a problem in v 1.15 in production on the same subdomain until last Saturday. Some issue with the hosting platform perhaps ? Also, there are some references to icon git files in the CSS for Galette (in semantic.min.css for example). Thanks again for your help and for the speedy replies. Cordialement Jim Cluchey <https://www.cluchey.com> On 11/2/2025 6:08 PM, jim/cluchey wrote:
Hi
Thanks again for your reply.
Using filezilla I removed all the old files from the remote server and replaced with new files for v 1.2 from the archive. I added back the retained config, data files. Also added the 2 latest plugins - (activites and events).
Now the Galette UI starts and displays the "Galette requiert une mise a jour" page. Good so far.
Using the URL : https://galette1.aphyllanthe.fr/webroot/installer.php I get a new page as shown in image attached. And the log again shows an open_basdir error as below
[Sun Nov 02 17:48:14.190571 2025] [proxy_fcgi:error] [pid 2579314:tid 2579322] [remote 80.14.16.31:51441] AH01071: Got error 'PHP message: PHP Warning: is_dir(): open_basedir restriction in effect. File(/var/www/clients/client0/web3/web/webroot/../../.git) is not within the allowed path(s): (/var/www/clients/client0/web3/web:/var/www/clients/client0/web3/private:/var/www/clients/client0/web3/tmp:/var/www/galette1.aphyllanthe.fr/web:/srv/www/galette1.aphyllanthe.fr/web:/usr/share/php5:/usr/share/php:/tmp:/usr/share/phpmyadmin:/etc/phpmyadmin:/var/lib/phpmyadmin:/dev/random:/dev/urandom) in /var/www/clients/client0/web3/web/lib/Galette/Core/Galette.php on line 65; PHP message: PHP Fatal error: Uncaught ErrorException: is_dir(): open_basedir restriction in effect. File(/var/www/clients/client0/web3/web/webroot/../../.git) is not within the allowed path(s): (/var/www/clients/client0/web3/web:/var/www/clients/client0/web3/private:/var/www/clients/client0/web3/tmp:/var/www/galette1.aphyllanthe.fr/web:/srv/www/galette1.aphyllanthe.fr/web:/usr/share/php5:/usr/share/php:/tmp:/usr/share/phpmyadmin:/etc/phpmyadmin:/var/lib/phpmyadmin:/dev/random:/dev/urandom) in /var/www/clients/client0/web3/web/lib/Galette/Core/Galette.php:65\nStack trace:\n#0 [internal function]: {closure}()\n#1 /var/www/clients/client0/web3/web/lib/Galette/Core/Galette.php(65): is_dir()\n#2 /var/www/clients/client0/web3/web/lib/Galette/Core/I18n.php(323): Galette\\Core\\Galette::gitVersion()\n#3 /var/www/clients/client0/web3/web/webroot/installer.php(225): Galette\\Core\\I18n->getDocumentationBaseUrl()\n#4 {main}\n thrown in /var/www/clients/client0/web3/web/lib/Galette/Core/Galette.php on line 65'
There are no .git files in the archive sources but there are some .github directories.
I'm pretty sure there are no.git files on the server.
I evidently have an error somewhere but for the time being I can't find it.
Cordialement
Jim Cluchey <https://0l8vq.mjt.lu/lnk/AVEAAIFMUBQAAAAAAAAAA8xMpOgAAAAE_PkAAAAAABsoXABpB5A...>
On 11/2/2025 4:32 PM, Johan Cwiklinski wrote:
Le 02/11/2025 à 16:21, jim/cluchey a écrit :
Hi
Thanks for the reply.
for 1.2.0.1 I used the download link on the top right banner on this page : https://galette.eu/site/fr/
All Galette downloads archives are available at: https://galette.eu/download/
Those archives do not contain any ".git" directory; so you did something wrong at one moment. Removing this directory *should* be enough.
++
_______________________________________________ Galette-users mailing list --galette-users@mailman3.com To unsubscribe send an email togalette-users-leave@mailman3.com
Le 03/11/2025 à 11:15, jim/cluchey a écrit :
Hi
On my request, our hosting service changed open_basedir PHP to none for this subdomain. This seems to have solved the problem.
Questions remain however as the open-basedir restriction was not causing a problem in v 1.15 in production on the same subdomain until last Saturday. Some issue with the hosting platform perhaps ?
Since problem comes from the presence of a ".git" directory somewhere, and there is no such directories provided in release archives; I guess you uploaded it by error. As it's an hidden directory (ie. prefixed with a dot), your FTP/SSH software may not display it per default.
Also, there are some references to icon git files in the CSS for Galette (in semantic.min.css for example).
It's just a git icon provided by the framework. As already said, the issue is caused by a directory, not the content of a file. ++ -- Johan
Hi There is no visible git directory on the server and Filezilla is configured to force display of hidden files. Maybe Filezilla still hides .git directories. I will check. Cordialement Jim Cluchey <https://www.cluchey.com> On 11/3/25 12:40, Johan Cwiklinski wrote:
Le 03/11/2025 à 11:15, jim/cluchey a écrit :
Hi
On my request, our hosting service changed open_basedir PHP to none for this subdomain. This seems to have solved the problem.
Questions remain however as the open-basedir restriction was not causing a problem in v 1.15 in production on the same subdomain until last Saturday. Some issue with the hosting platform perhaps ?
Since problem comes from the presence of a ".git" directory somewhere, and there is no such directories provided in release archives; I guess you uploaded it by error. As it's an hidden directory (ie. prefixed with a dot), your FTP/SSH software may not display it per default.
Also, there are some references to icon git files in the CSS for Galette (in semantic.min.css for example).
It's just a git icon provided by the framework. As already said, the issue is caused by a directory, not the content of a file.
++
participants (3)
-
Jim Cluchey -
jim/cluchey -
Johan Cwiklinski