Piwigo / piwigo-openstreetmap

OpenStreetMap integration for Piwigo
http://piwigo.org/ext/extension_view.php?eid=701
GNU General Public License v3.0
37 stars 35 forks source link

Error with piwigo 15 #264

Open mdlaat opened 2 weeks ago

mdlaat commented 2 weeks ago

Hi, thank you for this plugin. After updating piwigo to 15.0, I get these errors, also after trying to reinstall piwigo-openstreetmap:

Warning: file_put_contents(./osmmap.php): Failed to open stream: Permission denied in /config/www/plugins/piwigo-openstreetmap/maintain.class.php on line 161

Fatal error: Uncaught --> Smarty: unable to write file ./osmmap.php <-- thrown in /config/www/plugins/piwigo-openstreetmap/maintain.class.php on line 164

My piwigo was running otherwise fine in docker, as non-root. Help appreciated, thank you.

addich commented 2 weeks ago

Same here. and still the case after deactivation, delete and reinstall. is there any information I can share helping for find the issue?

mdlaat commented 1 week ago

Workaround is to execute these 2 commands: docker exec -it piwigo bash -c 'touch /app/www/public/osmmap.php' docker exec -it piwigo bash -c 'chmod 777 /app/www/public/osmmap.php'