When installing on Ubuntu 16.04.4 x64 Digital Ocean Droplet, following this tutorial, I get the error message "Waiting for PHP" and it never finishes.
I am trying it now on Fedora to see if it works there.
Has anyone else experienced this issue? It does look like PHP is bundled as part of the snap.
Or does it just take quite a long time? I'm on the most basic Droplet (1GB Ram).
Yeah on first startup it generates a database and sets up several things before actually firing PHP up, so it can take a minute. Take a look at the logs though, paste in the output from this script and we can see if things are hung up somewhere.
Thanks. Here's the output from that script:
Apache
Status
โ snap.nextcloud.apache.service - Service for snap application nextcloud.apache
Loaded: loaded (/etc/systemd/system/snap.nextcloud.apache.service; enabled; vendor preset: enabled)
Active: active (running) since Wed 2018-04-04 15:49:27 UTC; 1h 34min ago
Main PID: 3063 (run-httpd)
Tasks: 3
Memory: 10.6M
CPU: 9.523s
CGroup: /system.slice/snap.nextcloud.apache.service
โโ 3063 /bin/sh /snap/nextcloud/5627/bin/run-httpd -k start -DFOREGROUND
โโ 3184 /bin/sh /snap/nextcloud/5627/bin/setup_nextcloud
โโ13213 sleep 1
Warning: Journal has been rotated since unit was started. Log output is incomplete or unavailable.
Journal
-- No entries --
PHP
Status
โ snap.nextcloud.php-fpm.service - Service for snap application nextcloud.php-fpm
Loaded: loaded (/etc/systemd/system/snap.nextcloud.php-fpm.service; enabled; vendor preset: enabled)
Active: active (running) since Wed 2018-04-04 15:49:27 UTC; 1h 34min ago
Main PID: 3069 (start-php-fpm)
Tasks: 2
Memory: 3.7M
CPU: 9.425s
CGroup: /system.slice/snap.nextcloud.php-fpm.service
โโ 3069 /bin/sh /snap/nextcloud/5627/bin/start-php-fpm
โโ13212 sleep 1
Warning: Journal has been rotated since unit was started. Log output is incomplete or unavailable.
Journal
-- No entries --
MySQL
Status
โ snap.nextcloud.mysql.service - Service for snap application nextcloud.mysql
Loaded: loaded (/etc/systemd/system/snap.nextcloud.mysql.service; enabled; vendor preset: enabled)
Active: active (running) since Wed 2018-04-04 15:49:27 UTC; 1h 34min ago
Main PID: 3088 (start_mysql)
Tasks: 2
Memory: 33.8M
CPU: 11.898s
CGroup: /system.slice/snap.nextcloud.mysql.service
โโ 3088 /bin/sh /snap/nextcloud/5627/bin/start_mysql
โโ13215 sleep 1
Warning: Journal has been rotated since unit was started. Log output is incomplete or unavailable.
Journal
-- No entries --
Redis
Status
โ snap.nextcloud.redis-server.service - Service for snap application nextcloud.redis-server
Loaded: loaded (/etc/systemd/system/snap.nextcloud.redis-server.service; enabled; vendor preset: enabled)
Active: inactive (dead) (Result: exit-code) since Wed 2018-04-04 15:49:33 UTC; 1h 34min ago
Process: 3342 ExecStart=/usr/bin/snap run nextcloud.redis-server (code=exited, status=1/FAILURE)
Main PID: 3342 (code=exited, status=1/FAILURE)
Warning: Journal has been rotated since unit was started. Log output is incomplete or unavailable.
Journal
-- No entries --
mDNS Publisher
Status
โ snap.nextcloud.mdns-publisher.service - Service for snap application nextcloud.mdns-publisher
Loaded: loaded (/etc/systemd/system/snap.nextcloud.mdns-publisher.service; enabled; vendor preset: enabled)
Active: active (running) since Wed 2018-04-04 17:23:29 UTC; 5s ago
Main PID: 13166 (delay-on-failur)
Tasks: 2
Memory: 160.0K
CPU: 92ms
CGroup: /system.slice/snap.nextcloud.mdns-publisher.service
โโ13166 /bin/sh /snap/nextcloud/5627/bin/delay-on-failure mdns-publisher nextcloud
โโ13180 sleep 10
Apr 04 17:23:29 aliblackwell-nextcloud systemd[1]: Stopped Service for snap application nextcloud.mdns-publisher.
Apr 04 17:23:29 aliblackwell-nextcloud systemd[1]: Started Service for snap application nextcloud.mdns-publisher.
Apr 04 17:23:29 aliblackwell-nextcloud nextcloud.mdns-publisher[13166]: 2018/04/04 17:23:29 gmx: unable to open local socket: listen...tted
Apr 04 17:23:29 aliblackwell-nextcloud nextcloud.mdns-publisher[13166]: 2018/04/04 17:23:29 Failed to listen 224.0.0.251:5353: liste...nied
Hint: Some lines were ellipsized, use -l to show in full.
Journal
-- Logs begin at Wed 2018-04-04 16:17:31 UTC, end at Wed 2018-04-04 17:23:35 UTC. --
Apr 04 17:21:25 aliblackwell-nextcloud systemd[1]: Stopped Service for snap application nextcloud.mdns-publisher.
Apr 04 17:21:25 aliblackwell-nextcloud systemd[1]: Started Service for snap application nextcloud.mdns-publisher.
Apr 04 17:21:25 aliblackwell-nextcloud nextcloud.mdns-publisher[12206]: 2018/04/04 17:21:25 gmx: unable to open local socket: listen unix /tmp/.gmx.12218.0: bind: operation not permitted
Apr 04 17:21:25 aliblackwell-nextcloud nextcloud.mdns-publisher[12206]: 2018/04/04 17:21:25 Failed to listen 224.0.0.251:5353: listen udp4 224.0.0.251:5353: socket: permission denied
Apr 04 17:21:35 aliblackwell-nextcloud systemd[1]: snap.nextcloud.mdns-publisher.service: Main process exited, code=exited, status=1/FAILURE
Apr 04 17:21:35 aliblackwell-nextcloud systemd[1]: snap.nextcloud.mdns-publisher.service: Unit entered failed state.
Apr 04 17:21:35 aliblackwell-nextcloud systemd[1]: snap.nextcloud.mdns-publisher.service: Failed with result 'exit-code'.
Apr 04 17:21:36 aliblackwell-nextcloud systemd[1]: snap.nextcloud.mdns-publisher.service: Service hold-off time over, scheduling restart.
Apr 04 17:21:36 aliblackwell-nextcloud systemd[1]: Stopped Service for snap application nextcloud.mdns-publisher.
Apr 04 17:21:36 aliblackwell-nextcloud systemd[1]: Started Service for snap application nextcloud.mdns-publisher.
Apr 04 17:21:36 aliblackwell-nextcloud nextcloud.mdns-publisher[12285]: 2018/04/04 17:21:36 gmx: unable to open local socket: listen unix /tmp/.gmx.12296.0: bind: operation not permitted
Apr 04 17:21:36 aliblackwell-nextcloud nextcloud.mdns-publisher[12285]: 2018/04/04 17:21:36 Failed to listen 224.0.0.251:5353: listen udp4 224.0.0.251:5353: socket: permission denied
Apr 04 17:21:46 aliblackwell-nextcloud systemd[1]: snap.nextcloud.mdns-publisher.service: Main process exited, code=exited, status=1/FAILURE
Apr 04 17:21:46 aliblackwell-nextcloud systemd[1]: snap.nextcloud.mdns-publisher.service: Unit entered failed state.
Apr 04 17:21:46 aliblackwell-nextcloud systemd[1]: snap.nextcloud.mdns-publisher.service: Failed with result 'exit-code'.
Apr 04 17:21:46 aliblackwell-nextcloud systemd[1]: snap.nextcloud.mdns-publisher.service: Service hold-off time over, scheduling restart.
Apr 04 17:21:46 aliblackwell-nextcloud systemd[1]: Stopped Service for snap application nextcloud.mdns-publisher.
Apr 04 17:21:46 aliblackwell-nextcloud systemd[1]: Started Service for snap application nextcloud.mdns-publisher.
Apr 04 17:21:46 aliblackwell-nextcloud nextcloud.mdns-publisher[12362]: 2018/04/04 17:21:46 gmx: unable to open local socket: listen unix /tmp/.gmx.12375.0: bind: operation not permitted
Apr 04 17:21:46 aliblackwell-nextcloud nextcloud.mdns-publisher[12362]: 2018/04/04 17:21:46 Failed to listen 224.0.0.251:5353: listen udp4 224.0.0.251:5353: socket: permission denied
Apr 04 17:21:56 aliblackwell-nextcloud systemd[1]: snap.nextcloud.mdns-publisher.service: Main process exited, code=exited, status=1/FAILURE
Apr 04 17:21:56 aliblackwell-nextcloud systemd[1]: snap.nextcloud.mdns-publisher.service: Unit entered failed state.
Apr 04 17:21:56 aliblackwell-nextcloud systemd[1]: snap.nextcloud.mdns-publisher.service: Failed with result 'exit-code'.
Apr 04 17:21:56 aliblackwell-nextcloud systemd[1]: snap.nextcloud.mdns-publisher.service: Service hold-off time over, scheduling restart.
Apr 04 17:21:56 aliblackwell-nextcloud systemd[1]: Stopped Service for snap application nextcloud.mdns-publisher.
Apr 04 17:21:56 aliblackwell-nextcloud systemd[1]: Started Service for snap application nextcloud.mdns-publisher.
Apr 04 17:21:56 aliblackwell-nextcloud nextcloud.mdns-publisher[12458]: 2018/04/04 17:21:56 gmx: unable to open local socket: listen unix /tmp/.gmx.12470.0: bind: operation not permitted
Apr 04 17:21:56 aliblackwell-nextcloud nextcloud.mdns-publisher[12458]: 2018/04/04 17:21:56 Failed to listen 224.0.0.251:5353: listen udp4 224.0.0.251:5353: socket: permission denied
Apr 04 17:22:06 aliblackwell-nextcloud systemd[1]: snap.nextcloud.mdns-publisher.service: Main process exited, code=exited, status=1/FAILURE
Apr 04 17:22:06 aliblackwell-nextcloud systemd[1]: snap.nextcloud.mdns-publisher.service: Unit entered failed state.
Apr 04 17:22:06 aliblackwell-nextcloud systemd[1]: snap.nextcloud.mdns-publisher.service: Failed with result 'exit-code'.
Apr 04 17:22:07 aliblackwell-nextcloud systemd[1]: snap.nextcloud.mdns-publisher.service: Service hold-off time over, scheduling restart.
Apr 04 17:22:07 aliblackwell-nextcloud systemd[1]: Stopped Service for snap application nextcloud.mdns-publisher.
Apr 04 17:22:07 aliblackwell-nextcloud systemd[1]: Started Service for snap application nextcloud.mdns-publisher.
Apr 04 17:22:07 aliblackwell-nextcloud nextcloud.mdns-publisher[12535]: 2018/04/04 17:22:07 gmx: unable to open local socket: listen unix /tmp/.gmx.12549.0: bind: operation not permitted
Apr 04 17:22:07 aliblackwell-nextcloud nextcloud.mdns-publisher[12535]: 2018/04/04 17:22:07 Failed to listen 224.0.0.251:5353: listen udp4 224.0.0.251:5353: socket: permission denied
Apr 04 17:22:17 aliblackwell-nextcloud systemd[1]: snap.nextcloud.mdns-publisher.service: Main process exited, code=exited, status=1/FAILURE
Apr 04 17:22:17 aliblackwell-nextcloud systemd[1]: snap.nextcloud.mdns-publisher.service: Unit entered failed state.
Apr 04 17:22:17 aliblackwell-nextcloud systemd[1]: snap.nextcloud.mdns-publisher.service: Failed with result 'exit-code'.
Apr 04 17:22:17 aliblackwell-nextcloud systemd[1]: snap.nextcloud.mdns-publisher.service: Service hold-off time over, scheduling restart.
Apr 04 17:22:17 aliblackwell-nextcloud systemd[1]: Stopped Service for snap application nextcloud.mdns-publisher.
Apr 04 17:22:17 aliblackwell-nextcloud systemd[1]: Started Service for snap application nextcloud.mdns-publisher.
Apr 04 17:22:17 aliblackwell-nextcloud nextcloud.mdns-publisher[12614]: 2018/04/04 17:22:17 gmx: unable to open local socket: listen unix /tmp/.gmx.12628.0: bind: operation not permitted
Apr 04 17:22:17 aliblackwell-nextcloud nextcloud.mdns-publisher[12614]: 2018/04/04 17:22:17 Failed to listen 224.0.0.251:5353: listen udp4 224.0.0.251:5353: socket: permission denied
Apr 04 17:22:27 aliblackwell-nextcloud systemd[1]: snap.nextcloud.mdns-publisher.service: Main process exited, code=exited, status=1/FAILURE
Apr 04 17:22:27 aliblackwell-nextcloud systemd[1]: snap.nextcloud.mdns-publisher.service: Unit entered failed state.
Apr 04 17:22:27 aliblackwell-nextcloud systemd[1]: snap.nextcloud.mdns-publisher.service: Failed with result 'exit-code'.
Apr 04 17:22:27 aliblackwell-nextcloud systemd[1]: snap.nextcloud.mdns-publisher.service: Service hold-off time over, scheduling restart.
Apr 04 17:22:27 aliblackwell-nextcloud systemd[1]: Stopped Service for snap application nextcloud.mdns-publisher.
Apr 04 17:22:27 aliblackwell-nextcloud systemd[1]: Started Service for snap application nextcloud.mdns-publisher.
Apr 04 17:22:27 aliblackwell-nextcloud nextcloud.mdns-publisher[12695]: 2018/04/04 17:22:27 gmx: unable to open local socket: listen unix /tmp/.gmx.12706.0: bind: operation not permitted
Apr 04 17:22:27 aliblackwell-nextcloud nextcloud.mdns-publisher[12695]: 2018/04/04 17:22:27 Failed to listen 224.0.0.251:5353: listen udp4 224.0.0.251:5353: socket: permission denied
Apr 04 17:22:37 aliblackwell-nextcloud systemd[1]: snap.nextcloud.mdns-publisher.service: Main process exited, code=exited, status=1/FAILURE
Apr 04 17:22:37 aliblackwell-nextcloud systemd[1]: snap.nextcloud.mdns-publisher.service: Unit entered failed state.
Apr 04 17:22:37 aliblackwell-nextcloud systemd[1]: snap.nextcloud.mdns-publisher.service: Failed with result 'exit-code'.
Apr 04 17:22:38 aliblackwell-nextcloud systemd[1]: snap.nextcloud.mdns-publisher.service: Service hold-off time over, scheduling restart.
Apr 04 17:22:38 aliblackwell-nextcloud systemd[1]: Stopped Service for snap application nextcloud.mdns-publisher.
Apr 04 17:22:38 aliblackwell-nextcloud systemd[1]: Started Service for snap application nextcloud.mdns-publisher.
Apr 04 17:22:38 aliblackwell-nextcloud nextcloud.mdns-publisher[12771]: 2018/04/04 17:22:38 gmx: unable to open local socket: listen unix /tmp/.gmx.12786.0: bind: operation not permitted
Apr 04 17:22:38 aliblackwell-nextcloud nextcloud.mdns-publisher[12771]: 2018/04/04 17:22:38 Failed to listen 224.0.0.251:5353: listen udp4 224.0.0.251:5353: socket: permission denied
Apr 04 17:22:48 aliblackwell-nextcloud systemd[1]: snap.nextcloud.mdns-publisher.service: Main process exited, code=exited, status=1/FAILURE
Apr 04 17:22:48 aliblackwell-nextcloud systemd[1]: snap.nextcloud.mdns-publisher.service: Unit entered failed state.
Apr 04 17:22:48 aliblackwell-nextcloud systemd[1]: snap.nextcloud.mdns-publisher.service: Failed with result 'exit-code'.
Apr 04 17:22:48 aliblackwell-nextcloud systemd[1]: snap.nextcloud.mdns-publisher.service: Service hold-off time over, scheduling restart.
Apr 04 17:22:48 aliblackwell-nextcloud systemd[1]: Stopped Service for snap application nextcloud.mdns-publisher.
Apr 04 17:22:48 aliblackwell-nextcloud systemd[1]: Started Service for snap application nextcloud.mdns-publisher.
Apr 04 17:22:48 aliblackwell-nextcloud nextcloud.mdns-publisher[12851]: 2018/04/04 17:22:48 gmx: unable to open local socket: listen unix /tmp/.gmx.12863.0: bind: operation not permitted
Apr 04 17:22:48 aliblackwell-nextcloud nextcloud.mdns-publisher[12851]: 2018/04/04 17:22:48 Failed to listen 224.0.0.251:5353: listen udp4 224.0.0.251:5353: socket: permission denied
Apr 04 17:22:58 aliblackwell-nextcloud systemd[1]: snap.nextcloud.mdns-publisher.service: Main process exited, code=exited, status=1/FAILURE
Apr 04 17:22:58 aliblackwell-nextcloud systemd[1]: snap.nextcloud.mdns-publisher.service: Unit entered failed state.
Apr 04 17:22:58 aliblackwell-nextcloud systemd[1]: snap.nextcloud.mdns-publisher.service: Failed with result 'exit-code'.
Apr 04 17:22:58 aliblackwell-nextcloud systemd[1]: snap.nextcloud.mdns-publisher.service: Service hold-off time over, scheduling restart.
Apr 04 17:22:58 aliblackwell-nextcloud systemd[1]: Stopped Service for snap application nextcloud.mdns-publisher.
Apr 04 17:22:58 aliblackwell-nextcloud systemd[1]: Started Service for snap application nextcloud.mdns-publisher.
Apr 04 17:22:58 aliblackwell-nextcloud nextcloud.mdns-publisher[12929]: 2018/04/04 17:22:58 gmx: unable to open local socket: listen unix /tmp/.gmx.12942.0: bind: operation not permitted
Apr 04 17:22:58 aliblackwell-nextcloud nextcloud.mdns-publisher[12929]: 2018/04/04 17:22:58 Failed to listen 224.0.0.251:5353: listen udp4 224.0.0.251:5353: socket: permission denied
Apr 04 17:23:08 aliblackwell-nextcloud systemd[1]: snap.nextcloud.mdns-publisher.service: Main process exited, code=exited, status=1/FAILURE
Apr 04 17:23:08 aliblackwell-nextcloud systemd[1]: snap.nextcloud.mdns-publisher.service: Unit entered failed state.
Apr 04 17:23:08 aliblackwell-nextcloud systemd[1]: snap.nextcloud.mdns-publisher.service: Failed with result 'exit-code'.
Apr 04 17:23:09 aliblackwell-nextcloud systemd[1]: snap.nextcloud.mdns-publisher.service: Service hold-off time over, scheduling restart.
Apr 04 17:23:09 aliblackwell-nextcloud systemd[1]: Stopped Service for snap application nextcloud.mdns-publisher.
Apr 04 17:23:09 aliblackwell-nextcloud systemd[1]: Started Service for snap application nextcloud.mdns-publisher.
Apr 04 17:23:09 aliblackwell-nextcloud nextcloud.mdns-publisher[13008]: 2018/04/04 17:23:09 gmx: unable to open local socket: listen unix /tmp/.gmx.13019.0: bind: operation not permitted
Apr 04 17:23:09 aliblackwell-nextcloud nextcloud.mdns-publisher[13008]: 2018/04/04 17:23:09 Failed to listen 224.0.0.251:5353: listen udp4 224.0.0.251:5353: socket: permission denied
Apr 04 17:23:19 aliblackwell-nextcloud systemd[1]: snap.nextcloud.mdns-publisher.service: Main process exited, code=exited, status=1/FAILURE
Apr 04 17:23:19 aliblackwell-nextcloud systemd[1]: snap.nextcloud.mdns-publisher.service: Unit entered failed state.
Apr 04 17:23:19 aliblackwell-nextcloud systemd[1]: snap.nextcloud.mdns-publisher.service: Failed with result 'exit-code'.
Apr 04 17:23:19 aliblackwell-nextcloud systemd[1]: snap.nextcloud.mdns-publisher.service: Service hold-off time over, scheduling restart.
Apr 04 17:23:19 aliblackwell-nextcloud systemd[1]: Stopped Service for snap application nextcloud.mdns-publisher.
Apr 04 17:23:19 aliblackwell-nextcloud systemd[1]: Started Service for snap application nextcloud.mdns-publisher.
Apr 04 17:23:19 aliblackwell-nextcloud nextcloud.mdns-publisher[13088]: 2018/04/04 17:23:19 gmx: unable to open local socket: listen unix /tmp/.gmx.13099.0: bind: operation not permitted
Apr 04 17:23:19 aliblackwell-nextcloud nextcloud.mdns-publisher[13088]: 2018/04/04 17:23:19 Failed to listen 224.0.0.251:5353: listen udp4 224.0.0.251:5353: socket: permission denied
Apr 04 17:23:29 aliblackwell-nextcloud systemd[1]: snap.nextcloud.mdns-publisher.service: Main process exited, code=exited, status=1/FAILURE
Apr 04 17:23:29 aliblackwell-nextcloud systemd[1]: snap.nextcloud.mdns-publisher.service: Unit entered failed state.
Apr 04 17:23:29 aliblackwell-nextcloud systemd[1]: snap.nextcloud.mdns-publisher.service: Failed with result 'exit-code'.
Apr 04 17:23:29 aliblackwell-nextcloud systemd[1]: snap.nextcloud.mdns-publisher.service: Service hold-off time over, scheduling restart.
Apr 04 17:23:29 aliblackwell-nextcloud systemd[1]: Stopped Service for snap application nextcloud.mdns-publisher.
Apr 04 17:23:29 aliblackwell-nextcloud systemd[1]: Started Service for snap application nextcloud.mdns-publisher.
Apr 04 17:23:29 aliblackwell-nextcloud nextcloud.mdns-publisher[13166]: 2018/04/04 17:23:29 gmx: unable to open local socket: listen unix /tmp/.gmx.13177.0: bind: operation not permitted
Apr 04 17:23:29 aliblackwell-nextcloud nextcloud.mdns-publisher[13166]: 2018/04/04 17:23:29 Failed to listen 224.0.0.251:5353: listen udp4 224.0.0.251:5353: socket: permission denied
Certificate Renewer
Status
โ snap.nextcloud.renew-certs.service - Service for snap application nextcloud.renew-certs
Loaded: loaded (/etc/systemd/system/snap.nextcloud.renew-certs.service; enabled; vendor preset: enabled)
Active: active (running) since Wed 2018-04-04 15:49:27 UTC; 1h 34min ago
Main PID: 3080 (renew-certs)
Tasks: 2
Memory: 28.6M
CPU: 4.893s
CGroup: /system.slice/snap.nextcloud.renew-certs.service
โโ3080 /bin/sh /snap/nextcloud/5627/bin/renew-certs
โโ3626 sleep 1d
Warning: Journal has been rotated since unit was started. Log output is incomplete or unavailable.
Journal
-- No entries --
Nextcloud Cron
Status
โ snap.nextcloud.nextcloud-cron.service - Service for snap application nextcloud.nextcloud-cron
Loaded: loaded (/etc/systemd/system/snap.nextcloud.nextcloud-cron.service; enabled; vendor preset: enabled)
Active: active (running) since Wed 2018-04-04 15:49:27 UTC; 1h 34min ago
Main PID: 3076 (nextcloud-cron)
Tasks: 2
Memory: 3.7M
CPU: 9.321s
CGroup: /system.slice/snap.nextcloud.nextcloud-cron.service
โโ 3076 /bin/sh /snap/nextcloud/5627/bin/nextcloud-cron
โโ13232 sleep 1
Warning: Journal has been rotated since unit was started. Log output is incomplete or unavailable.
Journal
-- No entries --
Neat script! Looks like Redis is failing.
Huh, honestly it kinda looks like nothing is working. However, the rotated logs aren't helpful. Can you try running sudo snap disable nextcloud && sudo snap enable nextcloud and run the script again?
Here it is:
Apache
Status
โ snap.nextcloud.apache.service - Service for snap application nextcloud.apache
Loaded: loaded (/etc/systemd/system/snap.nextcloud.apache.service; enabled; vendor preset: enabled)
Active: active (running) since Wed 2018-04-04 18:01:20 UTC; 21s ago
Main PID: 31001 (run-httpd)
Tasks: 3
Memory: 284.0K
CPU: 233ms
CGroup: /system.slice/snap.nextcloud.apache.service
โโ31001 /bin/sh /snap/nextcloud/5627/bin/run-httpd -k start -DFOREGROUND
โโ31145 /bin/sh /snap/nextcloud/5627/bin/setup_nextcloud
โโ31556 sleep 1
Journal
Hint: You are currently not seeing messages from other users and the system.
Users in the 'systemd-journal' group can see all messages. Pass -q to
turn off this notice.
No journal files were opened due to insufficient permissions.
PHP
Status
โ snap.nextcloud.php-fpm.service - Service for snap application nextcloud.php-fpm
Loaded: loaded (/etc/systemd/system/snap.nextcloud.php-fpm.service; enabled; vendor preset: enabled)
Active: active (running) since Wed 2018-04-04 18:01:20 UTC; 21s ago
Main PID: 31005 (start-php-fpm)
Tasks: 2
Memory: 436.0K
CPU: 143ms
CGroup: /system.slice/snap.nextcloud.php-fpm.service
โโ31005 /bin/sh /snap/nextcloud/5627/bin/start-php-fpm
โโ31558 sleep 1
Journal
Hint: You are currently not seeing messages from other users and the system.
Users in the 'systemd-journal' group can see all messages. Pass -q to
turn off this notice.
No journal files were opened due to insufficient permissions.
MySQL
Status
โ snap.nextcloud.mysql.service - Service for snap application nextcloud.mysql
Loaded: loaded (/etc/systemd/system/snap.nextcloud.mysql.service; enabled; vendor preset: enabled)
Active: active (running) since Wed 2018-04-04 18:01:20 UTC; 21s ago
Main PID: 30995 (start_mysql)
Tasks: 2
Memory: 98.1M
CPU: 827ms
CGroup: /system.slice/snap.nextcloud.mysql.service
โโ30995 /bin/sh /snap/nextcloud/5627/bin/start_mysql
โโ31555 sleep 1
Journal
Hint: You are currently not seeing messages from other users and the system.
Users in the 'systemd-journal' group can see all messages. Pass -q to
turn off this notice.
No journal files were opened due to insufficient permissions.
Redis
Status
โ snap.nextcloud.redis-server.service - Service for snap application nextcloud.redis-server
Loaded: loaded (/etc/systemd/system/snap.nextcloud.redis-server.service; enabled; vendor preset: enabled)
Active: inactive (dead) (Result: exit-code) since Wed 2018-04-04 18:01:25 UTC; 15s ago
Process: 31417 ExecStart=/usr/bin/snap run nextcloud.redis-server (code=exited, status=1/FAILURE)
Main PID: 31417 (code=exited, status=1/FAILURE)
Journal
Hint: You are currently not seeing messages from other users and the system.
Users in the 'systemd-journal' group can see all messages. Pass -q to
turn off this notice.
No journal files were opened due to insufficient permissions.
mDNS Publisher
Status
โ snap.nextcloud.mdns-publisher.service - Service for snap application nextcloud.mdns-publisher
Loaded: loaded (/etc/systemd/system/snap.nextcloud.mdns-publisher.service; enabled; vendor preset: enabled)
Active: active (running) since Wed 2018-04-04 18:01:31 UTC; 9s ago
Main PID: 31487 (delay-on-failur)
Tasks: 2
Memory: 4.9M
CPU: 235ms
CGroup: /system.slice/snap.nextcloud.mdns-publisher.service
โโ31487 /bin/sh /snap/nextcloud/5627/bin/delay-on-failure mdns-publisher nextcloud
โโ31502 sleep 10
Journal
Hint: You are currently not seeing messages from other users and the system.
Users in the 'systemd-journal' group can see all messages. Pass -q to
turn off this notice.
No journal files were opened due to insufficient permissions.
Certificate Renewer
Status
โ snap.nextcloud.renew-certs.service - Service for snap application nextcloud.renew-certs
Loaded: loaded (/etc/systemd/system/snap.nextcloud.renew-certs.service; enabled; vendor preset: enabled)
Active: active (running) since Wed 2018-04-04 18:01:20 UTC; 21s ago
Main PID: 30983 (renew-certs)
Tasks: 2
Memory: 6.2M
CPU: 3.300s
CGroup: /system.slice/snap.nextcloud.renew-certs.service
โโ30983 /bin/sh /snap/nextcloud/5627/bin/renew-certs
โโ31456 sleep 1d
Journal
Hint: You are currently not seeing messages from other users and the system.
Users in the 'systemd-journal' group can see all messages. Pass -q to
turn off this notice.
No journal files were opened due to insufficient permissions.
Nextcloud Cron
Status
โ snap.nextcloud.nextcloud-cron.service - Service for snap application nextcloud.nextcloud-cron
Loaded: loaded (/etc/systemd/system/snap.nextcloud.nextcloud-cron.service; enabled; vendor preset: enabled)
Active: active (running) since Wed 2018-04-04 18:01:20 UTC; 21s ago
Main PID: 30999 (nextcloud-cron)
Tasks: 2
Memory: 172.0K
CPU: 155ms
CGroup: /system.slice/snap.nextcloud.nextcloud-cron.service
โโ30999 /bin/sh /snap/nextcloud/5627/bin/nextcloud-cron
โโ31559 sleep 1
Journal
Hint: You are currently not seeing messages from other users and the system.
Users in the 'systemd-journal' group can see all messages. Pass -q to
turn off this notice.
No journal files were opened due to insufficient permissions.
Here it is as root:
Apache
Status
โ snap.nextcloud.apache.service - Service for snap application nextcloud.apache
Loaded: loaded (/etc/systemd/system/snap.nextcloud.apache.service; enabled; vendor preset: enabled)
Active: active (running) since Wed 2018-04-04 18:01:20 UTC; 1min 48s ago
Main PID: 31001 (run-httpd)
Tasks: 3
Memory: 284.0K
CPU: 374ms
CGroup: /system.slice/snap.nextcloud.apache.service
โโ31001 /bin/sh /snap/nextcloud/5627/bin/run-httpd -k start -DFOREGROUND
โโ31145 /bin/sh /snap/nextcloud/5627/bin/setup_nextcloud
โโ32296 sleep 1
Apr 04 18:01:20 aliblackwell-nextcloud systemd[1]: Started Service for snap application nextcloud.apache.
Apr 04 18:01:21 aliblackwell-nextcloud nextcloud.apache[31001]: Making sure nextcloud is setup...
Journal
-- Logs begin at Wed 2018-04-04 17:00:58 UTC, end at Wed 2018-04-04 18:03:05 UTC. --
Apr 04 18:00:40 aliblackwell-nextcloud systemd[1]: Stopping Service for snap application nextcloud.apache...
Apr 04 18:00:40 aliblackwell-nextcloud nextcloud.apache[30215]: Making sure nextcloud is setup...
Apr 04 18:01:10 aliblackwell-nextcloud systemd[1]: snap.nextcloud.apache.service: Stopping timed out. Terminating.
Apr 04 18:01:10 aliblackwell-nextcloud nextcloud.apache[30215]: Waiting for PHP...
Apr 04 18:01:10 aliblackwell-nextcloud nextcloud.apache[3063]: Waiting for PHP...
Apr 04 18:01:10 aliblackwell-nextcloud systemd[1]: Stopped Service for snap application nextcloud.apache.
Apr 04 18:01:10 aliblackwell-nextcloud systemd[1]: snap.nextcloud.apache.service: Unit entered failed state.
Apr 04 18:01:10 aliblackwell-nextcloud systemd[1]: snap.nextcloud.apache.service: Failed with result 'timeout'.
Apr 04 18:01:20 aliblackwell-nextcloud systemd[1]: Started Service for snap application nextcloud.apache.
Apr 04 18:01:21 aliblackwell-nextcloud nextcloud.apache[31001]: Making sure nextcloud is setup...
PHP
Status
โ snap.nextcloud.php-fpm.service - Service for snap application nextcloud.php-fpm
Loaded: loaded (/etc/systemd/system/snap.nextcloud.php-fpm.service; enabled; vendor preset: enabled)
Active: active (running) since Wed 2018-04-04 18:01:20 UTC; 1min 48s ago
Main PID: 31005 (start-php-fpm)
Tasks: 2
Memory: 436.0K
CPU: 277ms
CGroup: /system.slice/snap.nextcloud.php-fpm.service
โโ31005 /bin/sh /snap/nextcloud/5627/bin/start-php-fpm
โโ32298 sleep 1
Apr 04 18:01:20 aliblackwell-nextcloud systemd[1]: Started Service for snap application nextcloud.php-fpm.
Journal
-- Logs begin at Wed 2018-04-04 17:00:58 UTC, end at Wed 2018-04-04 18:03:05 UTC. --
Apr 04 18:01:11 aliblackwell-nextcloud systemd[1]: Stopping Service for snap application nextcloud.php-fpm...
Apr 04 18:01:11 aliblackwell-nextcloud nextcloud.php-fpm[3069]: Waiting for MySQL...
Apr 04 18:01:11 aliblackwell-nextcloud systemd[1]: Stopped Service for snap application nextcloud.php-fpm.
Apr 04 18:01:20 aliblackwell-nextcloud systemd[1]: Started Service for snap application nextcloud.php-fpm.
MySQL
Status
โ snap.nextcloud.mysql.service - Service for snap application nextcloud.mysql
Loaded: loaded (/etc/systemd/system/snap.nextcloud.mysql.service; enabled; vendor preset: enabled)
Active: active (running) since Wed 2018-04-04 18:01:20 UTC; 1min 48s ago
Main PID: 30995 (start_mysql)
Tasks: 2
Memory: 98.1M
CPU: 963ms
CGroup: /system.slice/snap.nextcloud.mysql.service
โโ30995 /bin/sh /snap/nextcloud/5627/bin/start_mysql
โโ32295 sleep 1
Apr 04 18:01:20 aliblackwell-nextcloud systemd[1]: Started Service for snap application nextcloud.mysql.
Apr 04 18:01:21 aliblackwell-nextcloud nextcloud.mysql[30995]: 2018-04-04T18:01:21.463317Z 0 [Warning] Changed limits: max_open_fil...5000)
Apr 04 18:01:21 aliblackwell-nextcloud nextcloud.mysql[30995]: 2018-04-04T18:01:21.463478Z 0 [Warning] Changed limits: table_open_c...2000)
Apr 04 18:01:21 aliblackwell-nextcloud nextcloud.mysql[30995]: 2018-04-04T18:01:21.463769Z 0 [Warning] TIMESTAMP with implicit DEFA...ils).
Apr 04 18:01:21 aliblackwell-nextcloud nextcloud.mysql[30995]: 2018-04-04T18:01:21.602418Z 0 [ERROR] --initialize specified but the...ting.
Apr 04 18:01:21 aliblackwell-nextcloud nextcloud.mysql[30995]: 2018-04-04T18:01:21.603606Z 0 [ERROR] Aborting
Apr 04 18:01:21 aliblackwell-nextcloud nextcloud.mysql[30995]: Starting MySQL
Apr 04 18:01:25 aliblackwell-nextcloud nextcloud.mysql[30995]: .... * The server quit without updating PID file (/tmp/pids/mysql.pid).
Hint: Some lines were ellipsized, use -l to show in full.
Journal
-- Logs begin at Wed 2018-04-04 17:00:58 UTC, end at Wed 2018-04-04 18:03:05 UTC. --
Apr 04 18:01:10 aliblackwell-nextcloud systemd[1]: Stopping Service for snap application nextcloud.mysql...
Apr 04 18:01:10 aliblackwell-nextcloud nextcloud.mysql[30503]: * MySQL server PID file could not be found!
Apr 04 18:01:10 aliblackwell-nextcloud nextcloud.mysql[3088]: Waiting for MySQL...
Apr 04 18:01:10 aliblackwell-nextcloud systemd[1]: Stopped Service for snap application nextcloud.mysql.
Apr 04 18:01:20 aliblackwell-nextcloud systemd[1]: Started Service for snap application nextcloud.mysql.
Apr 04 18:01:21 aliblackwell-nextcloud nextcloud.mysql[30995]: 2018-04-04T18:01:21.463317Z 0 [Warning] Changed limits: max_open_files: 1024 (requested 5000)
Apr 04 18:01:21 aliblackwell-nextcloud nextcloud.mysql[30995]: 2018-04-04T18:01:21.463478Z 0 [Warning] Changed limits: table_open_cache: 431 (requested 2000)
Apr 04 18:01:21 aliblackwell-nextcloud nextcloud.mysql[30995]: 2018-04-04T18:01:21.463769Z 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
Apr 04 18:01:21 aliblackwell-nextcloud nextcloud.mysql[30995]: 2018-04-04T18:01:21.602418Z 0 [ERROR] --initialize specified but the data directory has files in it. Aborting.
Apr 04 18:01:21 aliblackwell-nextcloud nextcloud.mysql[30995]: 2018-04-04T18:01:21.603606Z 0 [ERROR] Aborting
Apr 04 18:01:21 aliblackwell-nextcloud nextcloud.mysql[30995]: Starting MySQL
Apr 04 18:01:25 aliblackwell-nextcloud nextcloud.mysql[30995]: .... * The server quit without updating PID file (/tmp/pids/mysql.pid).
Redis
Status
โ snap.nextcloud.redis-server.service - Service for snap application nextcloud.redis-server
Loaded: loaded (/etc/systemd/system/snap.nextcloud.redis-server.service; enabled; vendor preset: enabled)
Active: inactive (dead) (Result: exit-code) since Wed 2018-04-04 18:01:25 UTC; 1min 43s ago
Process: 31417 ExecStart=/usr/bin/snap run nextcloud.redis-server (code=exited, status=1/FAILURE)
Main PID: 31417 (code=exited, status=1/FAILURE)
Apr 04 18:01:25 aliblackwell-nextcloud systemd[1]: snap.nextcloud.redis-server.service: Unit entered failed state.
Apr 04 18:01:25 aliblackwell-nextcloud systemd[1]: snap.nextcloud.redis-server.service: Failed with result 'exit-code'.
Apr 04 18:01:25 aliblackwell-nextcloud systemd[1]: snap.nextcloud.redis-server.service: Service hold-off time over, scheduling restart.
Apr 04 18:01:25 aliblackwell-nextcloud systemd[1]: Stopped Service for snap application nextcloud.redis-server.
Apr 04 18:01:25 aliblackwell-nextcloud systemd[1]: snap.nextcloud.redis-server.service: Start request repeated too quickly.
Apr 04 18:01:25 aliblackwell-nextcloud systemd[1]: Failed to start Service for snap application nextcloud.redis-server.
Journal
-- Logs begin at Wed 2018-04-04 17:00:58 UTC, end at Wed 2018-04-04 18:03:05 UTC. --
Apr 04 18:00:40 aliblackwell-nextcloud systemd[1]: Stopped Service for snap application nextcloud.redis-server.
Apr 04 18:01:20 aliblackwell-nextcloud systemd[1]: Started Service for snap application nextcloud.redis-server.
Apr 04 18:01:21 aliblackwell-nextcloud systemd[1]: snap.nextcloud.redis-server.service: Main process exited, code=exited, status=1/FAILURE
Apr 04 18:01:21 aliblackwell-nextcloud systemd[1]: snap.nextcloud.redis-server.service: Unit entered failed state.
Apr 04 18:01:21 aliblackwell-nextcloud systemd[1]: snap.nextcloud.redis-server.service: Failed with result 'exit-code'.
Apr 04 18:01:22 aliblackwell-nextcloud systemd[1]: snap.nextcloud.redis-server.service: Service hold-off time over, scheduling restart.
Apr 04 18:01:22 aliblackwell-nextcloud systemd[1]: Stopped Service for snap application nextcloud.redis-server.
Apr 04 18:01:22 aliblackwell-nextcloud systemd[1]: Started Service for snap application nextcloud.redis-server.
Apr 04 18:01:22 aliblackwell-nextcloud systemd[1]: snap.nextcloud.redis-server.service: Main process exited, code=exited, status=1/FAILURE
Apr 04 18:01:22 aliblackwell-nextcloud systemd[1]: snap.nextcloud.redis-server.service: Unit entered failed state.
Apr 04 18:01:22 aliblackwell-nextcloud systemd[1]: snap.nextcloud.redis-server.service: Failed with result 'exit-code'.
Apr 04 18:01:22 aliblackwell-nextcloud systemd[1]: snap.nextcloud.redis-server.service: Service hold-off time over, scheduling restart.
Apr 04 18:01:22 aliblackwell-nextcloud systemd[1]: Stopped Service for snap application nextcloud.redis-server.
Apr 04 18:01:22 aliblackwell-nextcloud systemd[1]: Started Service for snap application nextcloud.redis-server.
Apr 04 18:01:22 aliblackwell-nextcloud systemd[1]: snap.nextcloud.redis-server.service: Main process exited, code=exited, status=1/FAILURE
Apr 04 18:01:22 aliblackwell-nextcloud systemd[1]: snap.nextcloud.redis-server.service: Unit entered failed state.
Apr 04 18:01:22 aliblackwell-nextcloud systemd[1]: snap.nextcloud.redis-server.service: Failed with result 'exit-code'.
Apr 04 18:01:23 aliblackwell-nextcloud systemd[1]: snap.nextcloud.redis-server.service: Service hold-off time over, scheduling restart.
Apr 04 18:01:23 aliblackwell-nextcloud systemd[1]: Stopped Service for snap application nextcloud.redis-server.
Apr 04 18:01:23 aliblackwell-nextcloud systemd[1]: Started Service for snap application nextcloud.redis-server.
Apr 04 18:01:24 aliblackwell-nextcloud systemd[1]: snap.nextcloud.redis-server.service: Main process exited, code=exited, status=1/FAILURE
Apr 04 18:01:24 aliblackwell-nextcloud systemd[1]: snap.nextcloud.redis-server.service: Unit entered failed state.
Apr 04 18:01:24 aliblackwell-nextcloud systemd[1]: snap.nextcloud.redis-server.service: Failed with result 'exit-code'.
Apr 04 18:01:25 aliblackwell-nextcloud systemd[1]: snap.nextcloud.redis-server.service: Service hold-off time over, scheduling restart.
Apr 04 18:01:25 aliblackwell-nextcloud systemd[1]: Stopped Service for snap application nextcloud.redis-server.
Apr 04 18:01:25 aliblackwell-nextcloud systemd[1]: Started Service for snap application nextcloud.redis-server.
Apr 04 18:01:25 aliblackwell-nextcloud systemd[1]: snap.nextcloud.redis-server.service: Main process exited, code=exited, status=1/FAILURE
Apr 04 18:01:25 aliblackwell-nextcloud systemd[1]: snap.nextcloud.redis-server.service: Unit entered failed state.
Apr 04 18:01:25 aliblackwell-nextcloud systemd[1]: snap.nextcloud.redis-server.service: Failed with result 'exit-code'.
Apr 04 18:01:25 aliblackwell-nextcloud systemd[1]: snap.nextcloud.redis-server.service: Service hold-off time over, scheduling restart.
Apr 04 18:01:25 aliblackwell-nextcloud systemd[1]: Stopped Service for snap application nextcloud.redis-server.
Apr 04 18:01:25 aliblackwell-nextcloud systemd[1]: snap.nextcloud.redis-server.service: Start request repeated too quickly.
Apr 04 18:01:25 aliblackwell-nextcloud systemd[1]: Failed to start Service for snap application nextcloud.redis-server.
mDNS Publisher
Status
โ snap.nextcloud.mdns-publisher.service - Service for snap application nextcloud.mdns-publisher
Loaded: loaded (/etc/systemd/system/snap.nextcloud.mdns-publisher.service; enabled; vendor preset: enabled)
Active: active (running) since Wed 2018-04-04 18:03:04 UTC; 4s ago
Main PID: 32261 (delay-on-failur)
Tasks: 2
Memory: 164.0K
CPU: 110ms
CGroup: /system.slice/snap.nextcloud.mdns-publisher.service
โโ32261 /bin/sh /snap/nextcloud/5627/bin/delay-on-failure mdns-publisher nextcloud
โโ32277 sleep 10
Apr 04 18:03:04 aliblackwell-nextcloud systemd[1]: snap.nextcloud.mdns-publisher.service: Service hold-off time over, scheduling restart.
Apr 04 18:03:04 aliblackwell-nextcloud systemd[1]: Stopped Service for snap application nextcloud.mdns-publisher.
Apr 04 18:03:04 aliblackwell-nextcloud systemd[1]: Started Service for snap application nextcloud.mdns-publisher.
Apr 04 18:03:05 aliblackwell-nextcloud nextcloud.mdns-publisher[32261]: 2018/04/04 18:03:05 gmx: unable to open local socket: listen...tted
Apr 04 18:03:05 aliblackwell-nextcloud nextcloud.mdns-publisher[32261]: 2018/04/04 18:03:05 Failed to listen 224.0.0.251:5353: liste...nied
Hint: Some lines were ellipsized, use -l to show in full.
Journal
-- Logs begin at Wed 2018-04-04 17:00:58 UTC, end at Wed 2018-04-04 18:03:05 UTC. --
Apr 04 18:01:00 aliblackwell-nextcloud systemd[1]: snap.nextcloud.mdns-publisher.service: Unit entered failed state.
Apr 04 18:01:00 aliblackwell-nextcloud systemd[1]: snap.nextcloud.mdns-publisher.service: Failed with result 'exit-code'.
Apr 04 18:01:00 aliblackwell-nextcloud systemd[1]: snap.nextcloud.mdns-publisher.service: Service hold-off time over, scheduling restart.
Apr 04 18:01:00 aliblackwell-nextcloud systemd[1]: Stopped Service for snap application nextcloud.mdns-publisher.
Apr 04 18:01:00 aliblackwell-nextcloud systemd[1]: Started Service for snap application nextcloud.mdns-publisher.
Apr 04 18:01:00 aliblackwell-nextcloud nextcloud.mdns-publisher[30403]: 2018/04/04 18:01:00 gmx: unable to open local socket: listen unix /tmp/.gmx.30415.0: bind: operation not permitted
Apr 04 18:01:00 aliblackwell-nextcloud nextcloud.mdns-publisher[30403]: 2018/04/04 18:01:00 Failed to listen 224.0.0.251:5353: listen udp4 224.0.0.251:5353: socket: permission denied
Apr 04 18:01:10 aliblackwell-nextcloud systemd[1]: snap.nextcloud.mdns-publisher.service: Main process exited, code=exited, status=1/FAILURE
Apr 04 18:01:10 aliblackwell-nextcloud systemd[1]: snap.nextcloud.mdns-publisher.service: Unit entered failed state.
Apr 04 18:01:10 aliblackwell-nextcloud systemd[1]: snap.nextcloud.mdns-publisher.service: Failed with result 'exit-code'.
Apr 04 18:01:10 aliblackwell-nextcloud systemd[1]: snap.nextcloud.mdns-publisher.service: Service hold-off time over, scheduling restart.
Apr 04 18:01:10 aliblackwell-nextcloud systemd[1]: Stopped Service for snap application nextcloud.mdns-publisher.
Apr 04 18:01:10 aliblackwell-nextcloud systemd[1]: Started Service for snap application nextcloud.mdns-publisher.
Apr 04 18:01:10 aliblackwell-nextcloud nextcloud.mdns-publisher[30492]: 2018/04/04 18:01:10 gmx: unable to open local socket: listen unix /tmp/.gmx.30510.0: bind: operation not permitted
Apr 04 18:01:10 aliblackwell-nextcloud nextcloud.mdns-publisher[30492]: 2018/04/04 18:01:10 Failed to listen 224.0.0.251:5353: listen udp4 224.0.0.251:5353: socket: permission denied
Apr 04 18:01:11 aliblackwell-nextcloud systemd[1]: Stopping Service for snap application nextcloud.mdns-publisher...
Apr 04 18:01:11 aliblackwell-nextcloud systemd[1]: Stopped Service for snap application nextcloud.mdns-publisher.
Apr 04 18:01:20 aliblackwell-nextcloud systemd[1]: Started Service for snap application nextcloud.mdns-publisher.
Apr 04 18:01:21 aliblackwell-nextcloud nextcloud.mdns-publisher[30990]: 2018/04/04 18:01:21 gmx: unable to open local socket: listen unix /tmp/.gmx.31099.0: bind: operation not permitted
Apr 04 18:01:21 aliblackwell-nextcloud nextcloud.mdns-publisher[30990]: 2018/04/04 18:01:21 Failed to listen 224.0.0.251:5353: listen udp4 224.0.0.251:5353: socket: permission denied
Apr 04 18:01:31 aliblackwell-nextcloud systemd[1]: snap.nextcloud.mdns-publisher.service: Main process exited, code=exited, status=1/FAILURE
Apr 04 18:01:31 aliblackwell-nextcloud systemd[1]: snap.nextcloud.mdns-publisher.service: Unit entered failed state.
Apr 04 18:01:31 aliblackwell-nextcloud systemd[1]: snap.nextcloud.mdns-publisher.service: Failed with result 'exit-code'.
Apr 04 18:01:31 aliblackwell-nextcloud systemd[1]: snap.nextcloud.mdns-publisher.service: Service hold-off time over, scheduling restart.
Apr 04 18:01:31 aliblackwell-nextcloud systemd[1]: Stopped Service for snap application nextcloud.mdns-publisher.
Apr 04 18:01:31 aliblackwell-nextcloud systemd[1]: Started Service for snap application nextcloud.mdns-publisher.
Apr 04 18:01:32 aliblackwell-nextcloud nextcloud.mdns-publisher[31487]: 2018/04/04 18:01:32 gmx: unable to open local socket: listen unix /tmp/.gmx.31499.0: bind: operation not permitted
Apr 04 18:01:32 aliblackwell-nextcloud nextcloud.mdns-publisher[31487]: 2018/04/04 18:01:32 Failed to listen 224.0.0.251:5353: listen udp4 224.0.0.251:5353: socket: permission denied
Apr 04 18:01:42 aliblackwell-nextcloud systemd[1]: snap.nextcloud.mdns-publisher.service: Main process exited, code=exited, status=1/FAILURE
Apr 04 18:01:42 aliblackwell-nextcloud systemd[1]: snap.nextcloud.mdns-publisher.service: Unit entered failed state.
Apr 04 18:01:42 aliblackwell-nextcloud systemd[1]: snap.nextcloud.mdns-publisher.service: Failed with result 'exit-code'.
Apr 04 18:01:42 aliblackwell-nextcloud systemd[1]: snap.nextcloud.mdns-publisher.service: Service hold-off time over, scheduling restart.
Apr 04 18:01:42 aliblackwell-nextcloud systemd[1]: Stopped Service for snap application nextcloud.mdns-publisher.
Apr 04 18:01:42 aliblackwell-nextcloud systemd[1]: Started Service for snap application nextcloud.mdns-publisher.
Apr 04 18:01:42 aliblackwell-nextcloud nextcloud.mdns-publisher[31580]: 2018/04/04 18:01:42 gmx: unable to open local socket: listen unix /tmp/.gmx.31594.0: bind: operation not permitted
Apr 04 18:01:42 aliblackwell-nextcloud nextcloud.mdns-publisher[31580]: 2018/04/04 18:01:42 Failed to listen 224.0.0.251:5353: listen udp4 224.0.0.251:5353: socket: permission denied
Apr 04 18:01:52 aliblackwell-nextcloud systemd[1]: snap.nextcloud.mdns-publisher.service: Main process exited, code=exited, status=1/FAILURE
Apr 04 18:01:52 aliblackwell-nextcloud systemd[1]: snap.nextcloud.mdns-publisher.service: Unit entered failed state.
Apr 04 18:01:52 aliblackwell-nextcloud systemd[1]: snap.nextcloud.mdns-publisher.service: Failed with result 'exit-code'.
Apr 04 18:01:52 aliblackwell-nextcloud systemd[1]: snap.nextcloud.mdns-publisher.service: Service hold-off time over, scheduling restart.
Apr 04 18:01:52 aliblackwell-nextcloud systemd[1]: Stopped Service for snap application nextcloud.mdns-publisher.
Apr 04 18:01:52 aliblackwell-nextcloud systemd[1]: Started Service for snap application nextcloud.mdns-publisher.
Apr 04 18:01:52 aliblackwell-nextcloud nextcloud.mdns-publisher[31659]: 2018/04/04 18:01:52 gmx: unable to open local socket: listen unix /tmp/.gmx.31671.0: bind: operation not permitted
Apr 04 18:01:52 aliblackwell-nextcloud nextcloud.mdns-publisher[31659]: 2018/04/04 18:01:52 Failed to listen 224.0.0.251:5353: listen udp4 224.0.0.251:5353: socket: permission denied
Apr 04 18:02:02 aliblackwell-nextcloud systemd[1]: snap.nextcloud.mdns-publisher.service: Main process exited, code=exited, status=1/FAILURE
Apr 04 18:02:02 aliblackwell-nextcloud systemd[1]: snap.nextcloud.mdns-publisher.service: Unit entered failed state.
Apr 04 18:02:02 aliblackwell-nextcloud systemd[1]: snap.nextcloud.mdns-publisher.service: Failed with result 'exit-code'.
Apr 04 18:02:03 aliblackwell-nextcloud systemd[1]: snap.nextcloud.mdns-publisher.service: Service hold-off time over, scheduling restart.
Apr 04 18:02:03 aliblackwell-nextcloud systemd[1]: Stopped Service for snap application nextcloud.mdns-publisher.
Apr 04 18:02:03 aliblackwell-nextcloud systemd[1]: Started Service for snap application nextcloud.mdns-publisher.
Apr 04 18:02:03 aliblackwell-nextcloud nextcloud.mdns-publisher[31740]: 2018/04/04 18:02:03 gmx: unable to open local socket: listen unix /tmp/.gmx.31751.0: bind: operation not permitted
Apr 04 18:02:03 aliblackwell-nextcloud nextcloud.mdns-publisher[31740]: 2018/04/04 18:02:03 Failed to listen 224.0.0.251:5353: listen udp4 224.0.0.251:5353: socket: permission denied
Apr 04 18:02:13 aliblackwell-nextcloud systemd[1]: snap.nextcloud.mdns-publisher.service: Main process exited, code=exited, status=1/FAILURE
Apr 04 18:02:13 aliblackwell-nextcloud systemd[1]: snap.nextcloud.mdns-publisher.service: Unit entered failed state.
Apr 04 18:02:13 aliblackwell-nextcloud systemd[1]: snap.nextcloud.mdns-publisher.service: Failed with result 'exit-code'.
Apr 04 18:02:13 aliblackwell-nextcloud systemd[1]: snap.nextcloud.mdns-publisher.service: Service hold-off time over, scheduling restart.
Apr 04 18:02:13 aliblackwell-nextcloud systemd[1]: Stopped Service for snap application nextcloud.mdns-publisher.
Apr 04 18:02:13 aliblackwell-nextcloud systemd[1]: Started Service for snap application nextcloud.mdns-publisher.
Apr 04 18:02:13 aliblackwell-nextcloud nextcloud.mdns-publisher[31816]: 2018/04/04 18:02:13 gmx: unable to open local socket: listen unix /tmp/.gmx.31828.0: bind: operation not permitted
Apr 04 18:02:13 aliblackwell-nextcloud nextcloud.mdns-publisher[31816]: 2018/04/04 18:02:13 Failed to listen 224.0.0.251:5353: listen udp4 224.0.0.251:5353: socket: permission denied
Apr 04 18:02:23 aliblackwell-nextcloud systemd[1]: snap.nextcloud.mdns-publisher.service: Main process exited, code=exited, status=1/FAILURE
Apr 04 18:02:23 aliblackwell-nextcloud systemd[1]: snap.nextcloud.mdns-publisher.service: Unit entered failed state.
Apr 04 18:02:23 aliblackwell-nextcloud systemd[1]: snap.nextcloud.mdns-publisher.service: Failed with result 'exit-code'.
Apr 04 18:02:23 aliblackwell-nextcloud systemd[1]: snap.nextcloud.mdns-publisher.service: Service hold-off time over, scheduling restart.
Apr 04 18:02:23 aliblackwell-nextcloud systemd[1]: Stopped Service for snap application nextcloud.mdns-publisher.
Apr 04 18:02:23 aliblackwell-nextcloud systemd[1]: Started Service for snap application nextcloud.mdns-publisher.
Apr 04 18:02:23 aliblackwell-nextcloud nextcloud.mdns-publisher[31894]: 2018/04/04 18:02:23 gmx: unable to open local socket: listen unix /tmp/.gmx.31906.0: bind: operation not permitted
Apr 04 18:02:23 aliblackwell-nextcloud nextcloud.mdns-publisher[31894]: 2018/04/04 18:02:23 Failed to listen 224.0.0.251:5353: listen udp4 224.0.0.251:5353: socket: permission denied
Apr 04 18:02:33 aliblackwell-nextcloud systemd[1]: snap.nextcloud.mdns-publisher.service: Main process exited, code=exited, status=1/FAILURE
Apr 04 18:02:33 aliblackwell-nextcloud systemd[1]: snap.nextcloud.mdns-publisher.service: Unit entered failed state.
Apr 04 18:02:33 aliblackwell-nextcloud systemd[1]: snap.nextcloud.mdns-publisher.service: Failed with result 'exit-code'.
Apr 04 18:02:33 aliblackwell-nextcloud systemd[1]: snap.nextcloud.mdns-publisher.service: Service hold-off time over, scheduling restart.
Apr 04 18:02:33 aliblackwell-nextcloud systemd[1]: Stopped Service for snap application nextcloud.mdns-publisher.
Apr 04 18:02:33 aliblackwell-nextcloud systemd[1]: Started Service for snap application nextcloud.mdns-publisher.
Apr 04 18:02:33 aliblackwell-nextcloud nextcloud.mdns-publisher[31971]: 2018/04/04 18:02:33 gmx: unable to open local socket: listen unix /tmp/.gmx.31986.0: bind: operation not permitted
Apr 04 18:02:33 aliblackwell-nextcloud nextcloud.mdns-publisher[31971]: 2018/04/04 18:02:33 Failed to listen 224.0.0.251:5353: listen udp4 224.0.0.251:5353: socket: permission denied
Apr 04 18:02:44 aliblackwell-nextcloud systemd[1]: snap.nextcloud.mdns-publisher.service: Main process exited, code=exited, status=1/FAILURE
Apr 04 18:02:44 aliblackwell-nextcloud systemd[1]: snap.nextcloud.mdns-publisher.service: Unit entered failed state.
Apr 04 18:02:44 aliblackwell-nextcloud systemd[1]: snap.nextcloud.mdns-publisher.service: Failed with result 'exit-code'.
Apr 04 18:02:44 aliblackwell-nextcloud systemd[1]: snap.nextcloud.mdns-publisher.service: Service hold-off time over, scheduling restart.
Apr 04 18:02:44 aliblackwell-nextcloud systemd[1]: Stopped Service for snap application nextcloud.mdns-publisher.
Apr 04 18:02:44 aliblackwell-nextcloud systemd[1]: Started Service for snap application nextcloud.mdns-publisher.
Apr 04 18:02:44 aliblackwell-nextcloud nextcloud.mdns-publisher[32052]: 2018/04/04 18:02:44 gmx: unable to open local socket: listen unix /tmp/.gmx.32064.0: bind: operation not permitted
Apr 04 18:02:44 aliblackwell-nextcloud nextcloud.mdns-publisher[32052]: 2018/04/04 18:02:44 Failed to listen 224.0.0.251:5353: listen udp4 224.0.0.251:5353: socket: permission denied
Apr 04 18:02:54 aliblackwell-nextcloud systemd[1]: snap.nextcloud.mdns-publisher.service: Main process exited, code=exited, status=1/FAILURE
Apr 04 18:02:54 aliblackwell-nextcloud systemd[1]: snap.nextcloud.mdns-publisher.service: Unit entered failed state.
Apr 04 18:02:54 aliblackwell-nextcloud systemd[1]: snap.nextcloud.mdns-publisher.service: Failed with result 'exit-code'.
Apr 04 18:02:54 aliblackwell-nextcloud systemd[1]: snap.nextcloud.mdns-publisher.service: Service hold-off time over, scheduling restart.
Apr 04 18:02:54 aliblackwell-nextcloud systemd[1]: Stopped Service for snap application nextcloud.mdns-publisher.
Apr 04 18:02:54 aliblackwell-nextcloud systemd[1]: Started Service for snap application nextcloud.mdns-publisher.
Apr 04 18:02:54 aliblackwell-nextcloud nextcloud.mdns-publisher[32133]: 2018/04/04 18:02:54 gmx: unable to open local socket: listen unix /tmp/.gmx.32145.0: bind: operation not permitted
Apr 04 18:02:54 aliblackwell-nextcloud nextcloud.mdns-publisher[32133]: 2018/04/04 18:02:54 Failed to listen 224.0.0.251:5353: listen udp4 224.0.0.251:5353: socket: permission denied
Apr 04 18:03:04 aliblackwell-nextcloud systemd[1]: snap.nextcloud.mdns-publisher.service: Main process exited, code=exited, status=1/FAILURE
Apr 04 18:03:04 aliblackwell-nextcloud systemd[1]: snap.nextcloud.mdns-publisher.service: Unit entered failed state.
Apr 04 18:03:04 aliblackwell-nextcloud systemd[1]: snap.nextcloud.mdns-publisher.service: Failed with result 'exit-code'.
Apr 04 18:03:04 aliblackwell-nextcloud systemd[1]: snap.nextcloud.mdns-publisher.service: Service hold-off time over, scheduling restart.
Apr 04 18:03:04 aliblackwell-nextcloud systemd[1]: Stopped Service for snap application nextcloud.mdns-publisher.
Apr 04 18:03:04 aliblackwell-nextcloud systemd[1]: Started Service for snap application nextcloud.mdns-publisher.
Apr 04 18:03:05 aliblackwell-nextcloud nextcloud.mdns-publisher[32261]: 2018/04/04 18:03:05 gmx: unable to open local socket: listen unix /tmp/.gmx.32274.0: bind: operation not permitted
Apr 04 18:03:05 aliblackwell-nextcloud nextcloud.mdns-publisher[32261]: 2018/04/04 18:03:05 Failed to listen 224.0.0.251:5353: listen udp4 224.0.0.251:5353: socket: permission denied
Certificate Renewer
Status
โ snap.nextcloud.renew-certs.service - Service for snap application nextcloud.renew-certs
Loaded: loaded (/etc/systemd/system/snap.nextcloud.renew-certs.service; enabled; vendor preset: enabled)
Active: active (running) since Wed 2018-04-04 18:01:20 UTC; 1min 48s ago
Main PID: 30983 (renew-certs)
Tasks: 2
Memory: 6.2M
CPU: 3.300s
CGroup: /system.slice/snap.nextcloud.renew-certs.service
โโ30983 /bin/sh /snap/nextcloud/5627/bin/renew-certs
โโ31456 sleep 1d
Apr 04 18:01:20 aliblackwell-nextcloud systemd[1]: Started Service for snap application nextcloud.renew-certs.
Apr 04 18:01:26 aliblackwell-nextcloud nextcloud.renew-certs[30983]: Saving debug log to /var/snap/nextcloud/current/certs/certbot/l....log
Apr 04 18:01:26 aliblackwell-nextcloud nextcloud.renew-certs[30983]: No renewals were attempted.
Apr 04 18:01:26 aliblackwell-nextcloud nextcloud.renew-certs[30983]: No hooks were run.
Hint: Some lines were ellipsized, use -l to show in full.
Journal
-- Logs begin at Wed 2018-04-04 17:00:58 UTC, end at Wed 2018-04-04 18:03:05 UTC. --
Apr 04 18:00:39 aliblackwell-nextcloud systemd[1]: Stopping Service for snap application nextcloud.renew-certs...
Apr 04 18:00:39 aliblackwell-nextcloud systemd[1]: Stopped Service for snap application nextcloud.renew-certs.
Apr 04 18:01:20 aliblackwell-nextcloud systemd[1]: Started Service for snap application nextcloud.renew-certs.
Apr 04 18:01:26 aliblackwell-nextcloud nextcloud.renew-certs[30983]: Saving debug log to /var/snap/nextcloud/current/certs/certbot/logs/letsencrypt.log
Apr 04 18:01:26 aliblackwell-nextcloud nextcloud.renew-certs[30983]: No renewals were attempted.
Apr 04 18:01:26 aliblackwell-nextcloud nextcloud.renew-certs[30983]: No hooks were run.
Nextcloud Cron
Status
โ snap.nextcloud.nextcloud-cron.service - Service for snap application nextcloud.nextcloud-cron
Loaded: loaded (/etc/systemd/system/snap.nextcloud.nextcloud-cron.service; enabled; vendor preset: enabled)
Active: active (running) since Wed 2018-04-04 18:01:20 UTC; 1min 48s ago
Main PID: 30999 (nextcloud-cron)
Tasks: 2
Memory: 172.0K
CPU: 292ms
CGroup: /system.slice/snap.nextcloud.nextcloud-cron.service
โโ30999 /bin/sh /snap/nextcloud/5627/bin/nextcloud-cron
โโ32299 sleep 1
Apr 04 18:01:20 aliblackwell-nextcloud systemd[1]: Started Service for snap application nextcloud.nextcloud-cron.
Journal
-- Logs begin at Wed 2018-04-04 17:00:58 UTC, end at Wed 2018-04-04 18:03:05 UTC. --
Apr 04 18:01:11 aliblackwell-nextcloud nextcloud.nextcloud-cron[3076]: Waiting for Nextcloud config dir...
Apr 04 18:01:11 aliblackwell-nextcloud systemd[1]: Stopping Service for snap application nextcloud.nextcloud-cron...
Apr 04 18:01:11 aliblackwell-nextcloud systemd[1]: Stopped Service for snap application nextcloud.nextcloud-cron.
Apr 04 18:01:20 aliblackwell-nextcloud systemd[1]: Started Service for snap application nextcloud.nextcloud-cron.
I had same issue when I installed first time. it just hung on waiting for PHP for 2 hours.
No idea the cause, or log details, or if this will work for you... but I managed to get mine working by simply removing the snap and reinstalling it.
sudo snap remove nextcloud
sudo snap install nextcloud
and then continuing with the manual install of user and trusted domains and lets encrypt.
Nicely done. I will start again and see if it works. I ended up installing it manually but I'm very keen to use snap, it feels like the future ;)
@aliblackwell I think this traces back to MySQL bailing out (the "* The server quit without updating PID file (/tmp/pids/mysql.pid)." line) but it's not telling us why. If it happens again, let's look closer at the MySQL log (in /var/snap/nextcloud/current/mysql/<hostname>.err).
I have save problem.
My device is raspberryPI 3
OS info โ
Linux raspberrypi 4.14.71-v7+ #1145 SMP Fri Sep 21 15:38:35 BST 2018 armv7l GNU/Linux
After a fresh install of snap and nextcloud, I have the same issue on Debian 9, it seems to be relative to MYSQL service.
MYSQL
โ snap.nextcloud.mysql.service - Service for snap application nextcloud.
mysql
Loaded: loaded (/etc/systemd/system/snap.nextcloud.mysql.service; enabled; vendo
r preset: enabled)
Active: active (running) since Sun 2019-03-17 12:39:16 CET; 4min 46s
ago
Main PID: 3332 (start_mysql)
Tasks: 2 (limit: 4915)
Memory: 24.9M
CPU: 1.494s
CGroup: /system.slice/snap.nextcloud.mysql.service
โโ3332 /bin/sh /snap/nextcloud/11891/bin/start_mysql
โโ6669 sleep 1
mars 17 12:39:17 Neptune nextcloud.mysql[3332]: 2019-03-17T11:39:17.460963Z 0 [ERRO
R] Aborting
mars 17 12:39:17 Neptune nextcloud.mysql[3332]: Starting MySQL
mars 17 12:39:17 Neptune mysqld[4411]: /snap/nextcloud/11891/bin/mysqld (mysqld 5.7
.25) starting as process 4411 ...
mars 17 12:39:17 Neptune mysqld[4411]: failed to set datadir to /var/snap/n
extcloud/11891/mysql/
mars 17 12:39:17 Neptune mysqld[4411]: Aborting
mars 17 12:39:17 Neptune mysqld[4411]: Binlog end
mars 17 12:39:17 Neptune mysqld[4411]: /snap/nextcloud/11891/bin/mysqld: Shutdown c
omplete
mars 17 12:39:18 Neptune nextcloud.mysql[3332]: . * The server quit without updatin
g PID file (/tmp/pids/mysql.pid).
mars 17 12:39:18 Neptune nextcloud.mysql[3332]: sed: can't read /var/snap/nextcloud
/11891/mysql/root.ini: No such file or directory
mars 17 12:39:18 Neptune nextcloud.mysql[3332]: Waiting for MySQL...
@dufour-yohann I think that's #913.
I believe this issue is a dupe of #913.
Hello I have the same issue on my odroid
login as: root
[email protected]'s password:
Welcome to Ubuntu 16.04.6 LTS (GNU/Linux 3.14.79-116 aarch64)
Last login: Sun Mar 8 18:12:58 2020 from 192.168.1.95
root@odroid64:~# #!/bin/sh
root@odroid64:~#
root@odroid64:~# print_info()
{
echo "### Status"
echo "```"
sudo systemctl status --no-pager "snap.nextcloud.$1.service"
echo "```"echo "### Journal" echo "\`\`\`" sudo journalctl --no-pager -n100 -u "snap.nextcloud.$1.service" echo "\`\`\`"}
end_section
start_section "nextcloud version"
echo "```"
root@odroid64:~#
snap list nextcloud --all
root@odroid64:~# start_section()
{
echo """
echo "$1
"
echo ""
"
echo ""
}
root@odroid64:~#
root@odroid64:~# end_section()
{
echo "
echo "
echo ""
}
root@odroid64:~#
root@odroid64:~# start_section "Apache"
Apache
root@odroid64:~# print_info "apache"
โ snap.nextcloud.apache.service - Service for snap application nextcloud.apache
Loaded: loaded (/etc/systemd/system/snap.nextcloud.apache.service; enabled; vendor preset: enabled)
Active: active (running) since Sun 2020-03-08 18:16:12 CET; 8min ago
Main PID: 5452 (run-httpd)
CGroup: /system.slice/snap.nextcloud.apache.service
โโ5452 /bin/sh /snap/nextcloud/19305/bin/run-httpd -k ...
โโ5666 /bin/sh /snap/nextcloud/19305/bin/setup-nextclo...
โโ9274 sleep 1
Mar 08 18:16:12 odroid64 systemd[1]: Started Service for snap ap....
Mar 08 18:16:12 odroid64 nextcloud.apache[5452]: Making sure next...
Mar 08 18:16:13 odroid64 nextcloud.apache[5452]: Waiting for PHP...
Hint: Some lines were ellipsized, use -l to show in full.
-- Logs begin at Thu 2016-02-11 17:28:00 CET, end at Sun 2020-03-08 18:24:43 CET. --
Feb 11 17:28:10 odroid64 systemd[1]: Started Service for snap application nextcloud.apache.
Feb 11 17:28:11 odroid64 nextcloud.apache[806]: Making sure nextcloud is setup...
Feb 11 17:28:11 odroid64 nextcloud.apache[806]: Waiting for PHP...
Mar 08 18:15:07 odroid64 systemd[1]: Stopping Service for snap application nextcloud.apache...
Mar 08 18:15:08 odroid64 nextcloud.apache[4293]: No certificates are active: using HTTP only
Mar 08 18:15:08 odroid64 nextcloud.apache[4293]: AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1. Set the 'ServerName' directive globally to suppress this message
Mar 08 18:15:08 odroid64 nextcloud.apache[4293]: httpd (no pid file) not running
Mar 08 18:15:08 odroid64 systemd[1]: Stopped Service for snap application nextcloud.apache.
Mar 08 18:16:12 odroid64 systemd[1]: Started Service for snap application nextcloud.apache.
Mar 08 18:16:12 odroid64 nextcloud.apache[5452]: Making sure nextcloud is setup...
Mar 08 18:16:13 odroid64 nextcloud.apache[5452]: Waiting for PHP...
root@odroid64:~# end_section
root@odroid64:~# root@odroid64:~# print_info "php-fpm" root@odroid64:~# end_section
root@odroid64:~# start_section "PHP"
PHP
Status
โ snap.nextcloud.php-fpm.service - Service for snap application nextcloud.php-fpm
Loaded: loaded (/etc/systemd/system/snap.nextcloud.php-fpm.service; enabled; vendor preset: enabled)
Active: active (running) since Sun 2020-03-08 18:16:12 CET; 8min ago
Main PID: 5482 (start-php-fpm)
CGroup: /system.slice/snap.nextcloud.php-fpm.service
โโ5482 /bin/sh /snap/nextcloud/19305/bin/start-php-fpm...
โโ9275 sleep 1
Mar 08 18:16:12 odroid64 systemd[1]: Started Service for snap ap....
Mar 08 18:16:13 odroid64 nextcloud.php-fpm[5482]: Waiting for MyS...
Hint: Some lines were ellipsized, use -l to show in full.
Journal
-- Logs begin at Thu 2016-02-11 17:28:00 CET, end at Sun 2020-03-08 18:24:43 CET. --
Feb 11 17:28:10 odroid64 systemd[1]: Started Service for snap application nextcloud.php-fpm.
Feb 11 17:28:11 odroid64 nextcloud.php-fpm[823]: Waiting for MySQL...
Mar 08 18:15:11 odroid64 systemd[1]: Stopping Service for snap application nextcloud.php-fpm...
Mar 08 18:15:11 odroid64 systemd[1]: Stopped Service for snap application nextcloud.php-fpm.
Mar 08 18:16:12 odroid64 systemd[1]: Started Service for snap application nextcloud.php-fpm.
Mar 08 18:16:13 odroid64 nextcloud.php-fpm[5482]: Waiting for MySQL...
root@odroid64:~# root@odroid64:~# print_info "mysql" root@odroid64:~# end_section
root@odroid64:~# start_section "MySQL"
MySQL
Status
โ snap.nextcloud.mysql.service - Service for snap application nextcloud.mysql
Loaded: loaded (/etc/systemd/system/snap.nextcloud.mysql.service; enabled; vendor preset: enabled)
Active: active (running) since Sun 2020-03-08 18:16:12 CET; 8min ago
Main PID: 5462 (start_mysql)
CGroup: /system.slice/snap.nextcloud.mysql.service
โโ5462 /bin/sh /snap/nextcloud/19305/bin/start_mysql
โโ9276 sleep 1
Mar 08 18:16:17 odroid64 nextcloud.mysql[5462]: where mysqld died...
Mar 08 18:16:17 odroid64 nextcloud.mysql[5462]: terribly wrong...
Mar 08 18:16:17 odroid64 nextcloud.mysql[5462]: stack_bottom = 0 ...
Mar 08 18:16:17 odroid64 nextcloud.mysql[5462]: mysqld(my_print_s...
Mar 08 18:16:17 odroid64 nextcloud.mysql[5462]: The manual page a...
Mar 08 18:16:17 odroid64 nextcloud.mysql[5462]: information that ...
Mar 08 18:16:18 odroid64 nextcloud.mysql[5462]: Starting MySQL
Mar 08 18:16:19 odroid64 nextcloud.mysql[5462]: . * The server qu...
Mar 08 18:16:19 odroid64 nextcloud.mysql[5462]: sed: can't read /...
Mar 08 18:16:19 odroid64 nextcloud.mysql[5462]: Waiting for MySQL...
Hint: Some lines were ellipsized, use -l to show in full.
Journal
-- Logs begin at Thu 2016-02-11 17:28:00 CET, end at Sun 2020-03-08 18:24:43 CET. --
Feb 11 17:28:10 odroid64 systemd[1]: Started Service for snap application nextcloud.mysql.
Feb 11 17:28:13 odroid64 nextcloud.mysql[807]: 2016-02-11T16:28:13.099748Z 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
Feb 11 17:28:13 odroid64 nextcloud.mysql[807]: 2016-02-11T16:28:13.326126Z 0 [ERROR] --initialize specified but the data directory has files in it. Aborting.
Feb 11 17:28:13 odroid64 nextcloud.mysql[807]: 2016-02-11T16:28:13.326266Z 0 [ERROR] Aborting
Feb 11 17:28:13 odroid64 nextcloud.mysql[807]: Starting MySQL
Feb 11 17:28:14 odroid64 nextcloud.mysql[807]: . * The server quit without updating PID file (/tmp/pids/mysql.pid).
Feb 11 17:28:14 odroid64 nextcloud.mysql[807]: sed: can't read /var/snap/nextcloud/19305/mysql/root.ini: No such file or directory
Feb 11 17:28:14 odroid64 nextcloud.mysql[807]: Waiting for MySQL...
Mar 08 18:15:10 odroid64 systemd[1]: Stopping Service for snap application nextcloud.mysql...
Mar 08 18:15:10 odroid64 nextcloud.mysql[4385]: * MySQL server PID file could not be found!
Mar 08 18:15:10 odroid64 systemd[1]: Stopped Service for snap application nextcloud.mysql.
Mar 08 18:16:12 odroid64 systemd[1]: Started Service for snap application nextcloud.mysql.
Mar 08 18:16:14 odroid64 nextcloud.mysql[5462]: 2020-03-08T17:16:14.634603Z 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
Mar 08 18:16:17 odroid64 nextcloud.mysql[5462]: 17:16:17 UTC - mysqld got signal 4 ;
Mar 08 18:16:17 odroid64 nextcloud.mysql[5462]: This could be because you hit a bug. It is also possible that this binary
Mar 08 18:16:17 odroid64 nextcloud.mysql[5462]: or one of the libraries it was linked against is corrupt, improperly built,
Mar 08 18:16:17 odroid64 nextcloud.mysql[5462]: or misconfigured. This error can also be caused by malfunctioning hardware.
Mar 08 18:16:17 odroid64 nextcloud.mysql[5462]: Attempting to collect some information that could help diagnose the problem.
Mar 08 18:16:17 odroid64 nextcloud.mysql[5462]: As this is a crash and something is definitely wrong, the information
Mar 08 18:16:17 odroid64 nextcloud.mysql[5462]: collection process might fail.
Mar 08 18:16:17 odroid64 nextcloud.mysql[5462]: key_buffer_size=8388608
Mar 08 18:16:17 odroid64 nextcloud.mysql[5462]: read_buffer_size=131072
Mar 08 18:16:17 odroid64 nextcloud.mysql[5462]: max_used_connections=0
Mar 08 18:16:17 odroid64 nextcloud.mysql[5462]: max_threads=151
Mar 08 18:16:17 odroid64 nextcloud.mysql[5462]: thread_count=0
Mar 08 18:16:17 odroid64 nextcloud.mysql[5462]: connection_count=0
Mar 08 18:16:17 odroid64 nextcloud.mysql[5462]: It is possible that mysqld could use up to
Mar 08 18:16:17 odroid64 nextcloud.mysql[5462]: key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 68205 K bytes of memory
Mar 08 18:16:17 odroid64 nextcloud.mysql[5462]: Hope that's ok; if not, decrease some variables in the equation.
Mar 08 18:16:17 odroid64 nextcloud.mysql[5462]: Thread pointer: 0x0
Mar 08 18:16:17 odroid64 nextcloud.mysql[5462]: Attempting backtrace. You can use the following information to find out
Mar 08 18:16:17 odroid64 nextcloud.mysql[5462]: where mysqld died. If you see no messages after this, something went
Mar 08 18:16:17 odroid64 nextcloud.mysql[5462]: terribly wrong...
Mar 08 18:16:17 odroid64 nextcloud.mysql[5462]: stack_bottom = 0 thread_stack 0x40000
Mar 08 18:16:17 odroid64 nextcloud.mysql[5462]: mysqld(my_print_stacktrace+0x44)[0xda2c9c]
Mar 08 18:16:17 odroid64 nextcloud.mysql[5462]: The manual page at http://dev.mysql.com/doc/mysql/en/crashing.html contains
Mar 08 18:16:17 odroid64 nextcloud.mysql[5462]: information that should help you find out what is causing the crash.
Mar 08 18:16:18 odroid64 nextcloud.mysql[5462]: Starting MySQL
Mar 08 18:16:19 odroid64 nextcloud.mysql[5462]: . * The server quit without updating PID file (/tmp/pids/mysql.pid).
Mar 08 18:16:19 odroid64 nextcloud.mysql[5462]: sed: can't read /var/snap/nextcloud/19305/mysql/root.ini: No such file or directory
Mar 08 18:16:19 odroid64 nextcloud.mysql[5462]: Waiting for MySQL...
root@odroid64:~# root@odroid64:~# print_info "redis-server" root@odroid64:~# end_section
root@odroid64:~# start_section "Redis"
Redis
Status
โ snap.nextcloud.redis-server.service - Service for snap application nextcloud.redis-server
Loaded: loaded (/etc/systemd/system/snap.nextcloud.redis-server.service; enabled; vendor preset: enabled)
Active: active (running) since Sun 2020-03-08 18:16:12 CET; 8min ago
Main PID: 5506 (start-redis-ser)
CGroup: /system.slice/snap.nextcloud.redis-server.service
โโ5506 /bin/sh /snap/nextcloud/19305/bin/start-redis-s...
โโ5768 redis-server 127.0.0.1:0
Mar 08 18:16:12 odroid64 systemd[1]: Started Service for snap ap....
Hint: Some lines were ellipsized, use -l to show in full.
Journal
-- Logs begin at Thu 2016-02-11 17:28:00 CET, end at Sun 2020-03-08 18:24:43 CET. --
Feb 11 17:28:10 odroid64 systemd[1]: Started Service for snap application nextcloud.redis-server.
Mar 08 18:15:09 odroid64 systemd[1]: Stopping Service for snap application nextcloud.redis-server...
Mar 08 18:15:09 odroid64 systemd[1]: Stopped Service for snap application nextcloud.redis-server.
Mar 08 18:16:12 odroid64 systemd[1]: Started Service for snap application nextcloud.redis-server.
root@odroid64:~# root@odroid64:~# print_info "mdns-publisher" root@odroid64:~# end_section
root@odroid64:~# start_section "mDNS Publisher"
mDNS Publisher
Status
โ snap.nextcloud.mdns-publisher.service - Service for snap application nextcloud.mdns-publisher
Loaded: loaded (/etc/systemd/system/snap.nextcloud.mdns-publisher.service; enabled; vendor preset: enabled)
Active: active (running) since Sun 2020-03-08 18:16:12 CET; 8min ago
Main PID: 5542 (delay-on-failur)
CGroup: /system.slice/snap.nextcloud.mdns-publisher.service
โโ5542 /bin/sh /snap/nextcloud/19305/bin/delay-on-fail...
โโ5787 mdns-publisher nextcloud
Mar 08 18:16:12 odroid64 systemd[1]: Started Service for snap ap....
Mar 08 18:16:13 odroid64 nextcloud.mdns-publisher[5542]: 2020/03/...
Hint: Some lines were ellipsized, use -l to show in full.
Journal
-- Logs begin at Thu 2016-02-11 17:28:00 CET, end at Sun 2020-03-08 18:24:43 CET. --
Feb 11 17:28:10 odroid64 systemd[1]: Started Service for snap application nextcloud.mdns-publisher.
Feb 11 17:28:12 odroid64 nextcloud.mdns-publisher[864]: 2016/02/11 17:28:12 Publishing odroid64.local -> [192.168.1.242 fe80::21e:6ff:fe36:6cd1] with 60-second TTL
Mar 08 18:15:09 odroid64 systemd[1]: Stopping Service for snap application nextcloud.mdns-publisher...
Mar 08 18:15:09 odroid64 systemd[1]: Stopped Service for snap application nextcloud.mdns-publisher.
Mar 08 18:16:12 odroid64 systemd[1]: Started Service for snap application nextcloud.mdns-publisher.
Mar 08 18:16:13 odroid64 nextcloud.mdns-publisher[5542]: 2020/03/08 18:16:13 Publishing odroid64.local -> [192.168.1.242 fe80::21e:6ff:fe36:6cd1] with 60-second TTL
root@odroid64:~# root@odroid64:~# print_info "renew-certs" root@odroid64:~# end_section
root@odroid64:~# start_section "Certificate Renewer"
Certificate Renewer
Status
โ snap.nextcloud.renew-certs.service - Service for snap application nextcloud.renew-certs
Loaded: loaded (/etc/systemd/system/snap.nextcloud.renew-certs.service; enabled; vendor preset: enabled)
Active: active (running) since Sun 2020-03-08 18:16:12 CET; 8min ago
Main PID: 5530 (renew-certs)
CGroup: /system.slice/snap.nextcloud.renew-certs.service
โโ5530 /bin/sh /snap/nextcloud/19305/bin/renew-certs
โโ6241 sleep 1d
Mar 08 18:16:12 odroid64 systemd[1]: Started Service for snap ap....
Mar 08 18:16:22 odroid64 nextcloud.renew-certs[5530]: Saving debu...
Mar 08 18:16:22 odroid64 nextcloud.renew-certs[5530]: - - - - - -...
Mar 08 18:16:22 odroid64 nextcloud.renew-certs[5530]: No renewals...
Mar 08 18:16:22 odroid64 nextcloud.renew-certs[5530]: No hooks we...
Mar 08 18:16:22 odroid64 nextcloud.renew-certs[5530]: - - - - - -...
Hint: Some lines were ellipsized, use -l to show in full.
Journal
-- Logs begin at Thu 2016-02-11 17:28:00 CET, end at Sun 2020-03-08 18:24:43 CET. --
Feb 11 17:28:10 odroid64 systemd[1]: Started Service for snap application nextcloud.renew-certs.
Mar 08 18:10:49 odroid64 nextcloud.renew-certs[812]: Saving debug log to /var/snap/nextcloud/current/certs/certbot/logs/letsencrypt.log
Mar 08 18:10:49 odroid64 nextcloud.renew-certs[812]: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Mar 08 18:10:49 odroid64 nextcloud.renew-certs[812]: No renewals were attempted.
Mar 08 18:10:49 odroid64 nextcloud.renew-certs[812]: No hooks were run.
Mar 08 18:10:49 odroid64 nextcloud.renew-certs[812]: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Mar 08 18:15:07 odroid64 systemd[1]: Stopping Service for snap application nextcloud.renew-certs...
Mar 08 18:15:07 odroid64 systemd[1]: Stopped Service for snap application nextcloud.renew-certs.
Mar 08 18:16:12 odroid64 systemd[1]: Started Service for snap application nextcloud.renew-certs.
Mar 08 18:16:22 odroid64 nextcloud.renew-certs[5530]: Saving debug log to /var/snap/nextcloud/current/certs/certbot/logs/letsencrypt.log
Mar 08 18:16:22 odroid64 nextcloud.renew-certs[5530]: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Mar 08 18:16:22 odroid64 nextcloud.renew-certs[5530]: No renewals were attempted.
Mar 08 18:16:22 odroid64 nextcloud.renew-certs[5530]: No hooks were run.
Mar 08 18:16:22 odroid64 nextcloud.renew-certs[5530]: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
root@odroid64:~# root@odroid64:~# print_info "nextcloud-cron" root@odroid64:~# end_section
root@odroid64:~# start_section "Nextcloud Cron"
Nextcloud Cron
Status
โ snap.nextcloud.nextcloud-cron.service - Service for snap application nextcloud.nextcloud-cron
Loaded: loaded (/etc/systemd/system/snap.nextcloud.nextcloud-cron.service; enabled; vendor preset: enabled)
Active: active (running) since Sun 2020-03-08 18:16:12 CET; 8min ago
Main PID: 5493 (nextcloud-cron)
CGroup: /system.slice/snap.nextcloud.nextcloud-cron.service
โโ5493 /bin/sh /snap/nextcloud/19305/bin/nextcloud-cro...
โโ9292 sleep 1
Mar 08 18:16:12 odroid64 systemd[1]: Started Service for snap ap....
Hint: Some lines were ellipsized, use -l to show in full.
Journal
-- Logs begin at Thu 2016-02-11 17:28:00 CET, end at Sun 2020-03-08 18:24:43 CET. --
Feb 11 17:28:10 odroid64 systemd[1]: Started Service for snap application nextcloud.nextcloud-cron.
Mar 08 18:15:09 odroid64 systemd[1]: Stopping Service for snap application nextcloud.nextcloud-cron...
Mar 08 18:15:09 odroid64 nextcloud.nextcloud-cron[808]: Waiting for Nextcloud config dir...
Mar 08 18:15:09 odroid64 systemd[1]: Stopped Service for snap application nextcloud.nextcloud-cron.
Mar 08 18:16:12 odroid64 systemd[1]: Started Service for snap application nextcloud.nextcloud-cron.
root@odroid64:~# root@odroid64:~# print_info "nextcloud-fixer" root@odroid64:~# end_section
root@odroid64:~# start_section "Nextcloud Fixer"
Nextcloud Fixer
Status
โ snap.nextcloud.nextcloud-fixer.service - Service for snap application nextcloud.nextcloud-fixer
Loaded: loaded (/etc/systemd/system/snap.nextcloud.nextcloud-fixer.service; enabled; vendor preset: enabled)
Active: active (running) since Sun 2020-03-08 18:16:12 CET; 8min ago
Main PID: 5469 (nextcloud-fixer)
CGroup: /system.slice/snap.nextcloud.nextcloud-fixer.service
โโ5469 /bin/sh -e /snap/nextcloud/19305/bin/nextcloud-...
โโ9293 sleep 1
Mar 08 18:16:12 odroid64 systemd[1]: Started Service for snap ap....
Mar 08 18:16:12 odroid64 nextcloud.nextcloud-fixer[5469]: Waiting...
Hint: Some lines were ellipsized, use -l to show in full.
Journal
-- Logs begin at Thu 2016-02-11 17:28:00 CET, end at Sun 2020-03-08 18:24:43 CET. --
Feb 11 17:28:10 odroid64 systemd[1]: Started Service for snap application nextcloud.nextcloud-fixer.
Feb 11 17:28:11 odroid64 nextcloud.nextcloud-fixer[833]: Waiting for Apache...
Mar 08 18:15:10 odroid64 systemd[1]: Stopping Service for snap application nextcloud.nextcloud-fixer...
Mar 08 18:15:10 odroid64 systemd[1]: Stopped Service for snap application nextcloud.nextcloud-fixer.
Mar 08 18:16:12 odroid64 systemd[1]: Started Service for snap application nextcloud.nextcloud-fixer.
Mar 08 18:16:12 odroid64 nextcloud.nextcloud-fixer[5469]: Waiting for Apache...
root@odroid64:~# root@odroid64:~# echo "```"
root@odroid64:~# start_section "Nextcloud configuration"
Nextcloud configuration
```
root@odroid64:~# sudo nextcloud.occ config:list
Waiting for PHP...
I fixed my issue by doing this:
sudo snap install core
I fixed my issue by doing this:
sudo snap install core
Hey I can finally reach the configuration page after following this!! On a Pi 4. After like 5 hours of troubleshooting! Would you mind sharing how you found this fix?
Most helpful comment
I fixed my issue by doing this:
sudo snap install core