YunoHost-Apps / hotspot_ynh

Wifi Hotspot app for YunoHost
GNU Affero General Public License v3.0
39 stars 19 forks source link

php-7.0 crash because user admin not present #41

Closed keomabrun closed 5 years ago

keomabrun commented 5 years ago
root@francitest:~# systemctl status php7.0-fpm.service 
● php7.0-fpm.service - The PHP 7.0 FastCGI Process Manager
   Loaded: loaded (/lib/systemd/system/php7.0-fpm.service; enabled; vendor preset: enabled)
   Active: failed (Result: exit-code) since Sun 2019-02-10 14:00:14 UTC; 22min ago
     Docs: man:php-fpm7.0(8)
 Main PID: 1070 (code=exited, status=78)

Feb 10 14:00:12 francitest.netlib.re systemd[1]: Starting The PHP 7.0 FastCGI Process Manager...
Feb 10 14:00:14 francitest.netlib.re php-fpm7.0[1070]: [10-Feb-2019 14:00:14] ERROR: [pool wifiadmin] cannot get uid for user 'admin'
Feb 10 14:00:14 francitest.netlib.re php-fpm7.0[1070]: [10-Feb-2019 14:00:14] ERROR: FPM initialization failed
Feb 10 14:00:14 francitest.netlib.re systemd[1]: php7.0-fpm.service: Main process exited, code=exited, status=78/n/a
Feb 10 14:00:14 francitest.netlib.re systemd[1]: Failed to start The PHP 7.0 FastCGI Process Manager.
Feb 10 14:00:14 francitest.netlib.re systemd[1]: php7.0-fpm.service: Unit entered failed state.
Feb 10 14:00:14 francitest.netlib.re systemd[1]: php7.0-fpm.service: Failed with result 'exit-code'.
alexAubin commented 5 years ago

Related fix in vpnclient for the same situation : https://github.com/labriqueinternet/vpnclient_ynh/commit/94bbcdb2db524caf2313697c0b9b732688a7e10c