YunoHost-Apps / castopod_ynh

Castopod package for YunoHost
https://podlibre.org/
GNU General Public License v3.0
23 stars 7 forks source link

App failed on CI, probably unix permission issue #21

Closed alexAubin closed 3 years ago

alexAubin commented 3 years ago

https://ci-apps.yunohost.org/ci/job/999

2021/05/12 00:09:14 [error] 5968#5968: *3 FastCGI sent in stderr: "PHP message: PHP Fatal error:  Uncaught InvalidArgumentException: The .env file is not readable: /var/www/castopod/.env
benjaminbellamy commented 3 years ago

Have you run /cp-install on your browser?

ericgaspar commented 3 years ago

Seems like the post install is not working anymore... https://github.com/YunoHost-Apps/castopod_ynh/blob/1d8a44c6e7146f9f590ae61e471551bc2358a433/scripts/install#L127-L129 @kay0u If I can bother you once again with this issue (I don't know why the settings you proposed are not working anymore -.° )...

kay0u commented 3 years ago
chown -R $app: $final_path

Should be called before curl now (because of recent changes of setup_source I guess)

ericgaspar commented 3 years ago
chown -R $app: $final_path

Should be called before curl now (because of recent changes of setup_source I guess)

@kay0u Thanks again, that fixes the issue