Hello, I first installed Nextcloud though snap on 24.04. Nextcloud was working perfectly. Then did server upgrade to 25.04 now Nextcloud looks like it has been removed. Is there away to restore it? The files look like they are all there.
Hey @Chuck_Kent welcome to the community
and thanks for supporting Nextcloud snap
wow, that shouldn’t happen! I have no experience with 25.04, and recommend staying with (24.04 LTS) when running a server. nonetheless, you can’t roll-back and we should address the issue.
can you post the output of;
snap version
then;
sudo snap list nextcloud --all
followed by
sudo snap services nextcloud
just so wen can get a picture of the situation at hand.
Please also post the output of (could take a while depending on data and resources);
sudo du -hs /var/snap/nextcloud/common/nextcloud/data
Have you tried starting the snap manually;
sudo snap start nextcloud
do check out our wiki and see the FAQ’s
Here are the outcomes:
root@linux:/# snap version
snap 2.70
snapd 2.70
series 16
ubuntu 25.04
kernel 6.14.0-23-generic
``
root@linux:/# sudo snap list nextcloud --all
Name Version Rev Tracking Publisher Notes
nextcloud 31.0.5snap1 48223 latest/stable nextcloud✓ disabled
nextcloud 31.0.6snap1 48751 latest/stable nextcloud✓ -
root@linux:/# sudo snap services nextcloud
Service Startup Current Notes
nextcloud.apache enabled active -
nextcloud.logrotate enabled inactive timer-activated
nextcloud.mysql enabled active -
nextcloud.nextcloud-cron enabled active -
nextcloud.nextcloud-fixer enabled active -
nextcloud.php-fpm enabled active -
nextcloud.redis-server enabled active -
nextcloud.renew-certs enabled active -
Thank you for the help!
root@linux:/# sudo du -hs /var/snap/nextcloud/common/nextcloud/data
7.3G /var/snap/nextcloud/common/nextcloud/data
root@linux:/# sudo snap start nextcloud
Started.
no problem…
so the snap is there and its running fine! your data is there too! don’t panic ![]()
can you please be clear and explain exactly what is not working? It might be a good idea to fill in the Support template. Please use this when you request support
When I try to access the page this is what I get, (sorry beginner here)
This site can’t be reached
192.168.1.108 refused to connect.
Try:
- Checking the connection
- Checking the proxy and the firewall
ERR_CONNECTION_REFUSED
That is the IP address of the server
don’t worry, we all started out at the beginning…
without some specs about your setup, this is a guessing game ![]()
could it be the firewall?
root@linux:/# sudo ufw status
Status: active
To Action From
-- ------ ----
80,443/tcp ALLOW Anywhere
22 ALLOW Anywhere
8080 ALLOW Anywhere
3478 ALLOW Anywhere
8443 ALLOW Anywhere
445 ALLOW Anywhere
139 ALLOW Anywhere
80,443/tcp (v6) ALLOW Anywhere (v6)
22 (v6) ALLOW Anywhere (v6)
8080 (v6) ALLOW Anywhere (v6)
3478 (v6) ALLOW Anywhere (v6)
8443 (v6) ALLOW Anywhere (v6)
445 (v6) ALLOW Anywhere (v6)
139 (v6) ALLOW Anywhere (v6)
so you have a reverse proxy in place?
No proxy on the system
disable v6 on the server… that should do the trick…
that’s the server v4 IP, but if you’re running v6 (which could be default on 25.04 or some upgrade thing) will be preferred and the v4 will not get a chance to answer.
you could try http://nextcloud.local and the snap will most probably answer.
I disabled IPv6 and tried http://nextcloud.local still nothing. Even disabled the firewall on the server
could it be with database? Here are the logs:
root@linux:/var/snap/nextcloud/current/logs# ls -l
total 24544
-rw-r----- 1 root root 13916468 Jul 13 05:10 apache_access.log
-rw-r----- 1 root root 8507323 Jul 6 00:00 apache_access.log.1
-rw-r----- 1 root root 14480 Jun 28 01:48 apache_access.log.2.gz
-rw-r----- 1 root root 10062 Jun 21 23:59 apache_access.log.3.gz
-rw-r----- 1 root root 2044 Jun 14 02:13 apache_access.log.4.gz
-rw-r----- 1 root root 8570 Jul 13 05:18 apache_errors.log
-rw-r----- 1 root root 6882 Jul 6 00:00 apache_errors.log.1
-rw-r----- 1 root root 969 Jun 29 00:00 apache_errors.log.2.gz
-rw-r----- 1 root root 993 Jun 22 00:00 apache_errors.log.3.gz
-rw-r----- 1 root root 786 Jun 16 00:00 apache_errors.log.4.gz
-rw-r----- 1 root root 297 Jul 13 05:18 mysql_errors.log
-rw-r----- 1 root root 1532 Jun 22 15:40 mysql_errors.log.1
-rw-r----- 1 root root 673 May 28 05:20 mysql_errors.log.2.gz
-rw-r----- 1 root root 827 May 3 15:39 mysql_errors.log.3.gz
-rw-r----- 1 root root 1222 Apr 26 02:58 mysql_errors.log.4.gz
-rw-r----- 1 root root 1103920 Jul 10 15:51 nextcloud.log
-rw-r----- 1 root root 8067 Jul 3 12:32 nextcloud.log.1
-rw-r----- 1 root root 989 Jul 2 18:50 nextcloud.log.2.gz
-rw-r----- 1 root root 7081 Jun 22 15:40 nextcloud.log.3.gz
-rw-r----- 1 root root 8143 May 28 05:20 nextcloud.log.4.gz
-rw-r----- 1 root root 208 Jul 13 05:18 php-fpm_errors.log
-rw-r----- 1 root root 112 Jul 3 00:00 php-fpm_errors.log.1
-rw-r----- 1 root root 178 Jun 23 00:00 php-fpm_errors.log.2.gz
-rw-r----- 1 root root 73 Jun 16 00:00 php-fpm_errors.log.3.gz
-rw-r----- 1 root root 74 Jun 8 00:00 php-fpm_errors.log.4.gz
-rw-r----- 1 root root 757332 Jul 13 05:18 redis.log
-rw-r----- 1 root root 557940 Jul 6 00:00 redis.log.1
-rw-r----- 1 root root 41225 Jun 28 23:56 redis.log.2.gz
-rw-r----- 1 root root 34838 Jun 21 23:58 redis.log.3.gz
-rw-r----- 1 root root 43624 Jun 15 23:54 redis.log.4.gz
that doesn’t help much ![]()
run the debugging script and post the output here…
I tried to post but to long.
I do get a lot of this:
Jul 13 18:08:38 linux systemd[1]: snap.nextcloud.nextcloud-cron.service: Failed with result ‘exit-code’.
Jul 13 18:08:38 linux systemd[1]: snap.nextcloud.nextcloud-cron.service: Scheduled restart job, restart counter is at 3548.
did you read the output of the debugging script at all? if there’s an error in there, then that could be a hint.
without your logs its a guessing game. you’re not answering our questions!
9 out of 10 times its an issue with a third party app. so read the FAQ’s, find the app causing the issue and disable it. see the link below pointing directly to the correct section of the FAQ’s.
post the output of:
sudo nextcloud.occ app:list
root@linux:/home/chuck# sudo nextcloud.occ app:list
2025/07/14 21:16:02.897527 system_key.go:147: cannot determine nfs usage in generateSystemKey: cannot parse /etc/fstab: expected at least 3 fields, found 1
internal error, please report: running "nextcloud.occ" failed: timeout waiting for snap system profiles to get updated
root@linux:/home/chuck#
I found the error and now its working! Thank you very very much!