-
wrote on Jan 9, 2025, 10:43 PM last edited by
This seems to happen to me every couple of years... I fill the hard drive and it crashes Nextcloud and I have a hard time restarting Nextcloud. I have read through the previous threads I've started on this topic.
I removed lots of file allowing for plenty of hard drive space. I dealt with the unbound issue and restarted that service.
In terms of replacing config/config.php with a version from a backup, the most recent version I had was from 2023, oops. I got an error from that file about it being an old version. So then I just tried inserting'installed' => true,
into the current version. The error messages I'm getting now after clicking on "Start app" are
OCP\HintException: [0]: Configuration was not read or initialized correctly, not overwriting /app/code/config/config.php ()
and
Jan 09 17:30:43=> Healtheck error: Error: connect EHOSTUNREACH 172.18.17.145:80
I'd really appreciate help in getting my Nextcloud running again. Thank you.
-
This seems to happen to me every couple of years... I fill the hard drive and it crashes Nextcloud and I have a hard time restarting Nextcloud. I have read through the previous threads I've started on this topic.
I removed lots of file allowing for plenty of hard drive space. I dealt with the unbound issue and restarted that service.
In terms of replacing config/config.php with a version from a backup, the most recent version I had was from 2023, oops. I got an error from that file about it being an old version. So then I just tried inserting'installed' => true,
into the current version. The error messages I'm getting now after clicking on "Start app" are
OCP\HintException: [0]: Configuration was not read or initialized correctly, not overwriting /app/code/config/config.php ()
and
Jan 09 17:30:43=> Healtheck error: Error: connect EHOSTUNREACH 172.18.17.145:80
I'd really appreciate help in getting my Nextcloud running again. Thank you.
wrote on Jan 9, 2025, 11:13 PM last edited by@Shai said in Problem restarting Nextcloud after Disk Full Event:
In terms of replacing config/config.php with a version from a backup, the most recent version I had was from 2023
I don't understand, you're using Cloudron but don't have regular automatic backups?!?
-
wrote on Jan 10, 2025, 2:01 AM last edited by
Yes, really stupid, there were reasons which I don't want to go into here.
-
wrote on Jan 10, 2025, 4:04 AM last edited by
search for "disk full nextcloud" in the forum for ready made solutions
-
-
@Shai take a config.php from a fresh config.php and patch in values like passwordsalt, secret . If you restart nextcloud, values like db/redis/smtp/ldap will get updated to latest values automatically, so you don't need to fixup those.
-
wrote on Jan 12, 2025, 3:14 AM last edited by
@girish followed your instruction but I'm getting the following in the logs after a restart of the Nextcloud App says "Not responding":
An unhandled exception has been thrown: Jan 11 22:12:08OCP\HintException: [0]: Downgrading is not supported and is likely to cause unpredictable issues (from 30.0.4.1 to 29.0.3.4) ()code_text
Ideas?
-
wrote on Jan 13, 2025, 1:47 AM last edited by
Thanks @girish. Won't restart after the recommended edit of config.php. Here is the error:
=> Healtheck error: Error: connect ECONNREFUSED 172.18.17.145:80 OCP\HintException: [0]: Downgrading is not supported and is likely to cause unpredictable issues (from 30.0.4 to 29.0.3.4) ()
-
Thanks @girish. Won't restart after the recommended edit of config.php. Here is the error:
=> Healtheck error: Error: connect ECONNREFUSED 172.18.17.145:80 OCP\HintException: [0]: Downgrading is not supported and is likely to cause unpredictable issues (from 30.0.4 to 29.0.3.4) ()
@Shai said in Problem restarting Nextcloud after Disk Full Event:
30.0.4
Is this the version field you filled in?
-
Off-topic perhaps but after you have recovered your Nextcloud deployment âŚ
This seems to happen to me every couple of years
Worth considering some kind of free space monitoring?
Various server monitor apps/agents, but simplest is a bash script run as a cron using ntfy to send alerts.
I get a daily notification of disk free space, and an âintra-dayâ alert if anything spikes over a set level.Iâm not judging, been there too, but poking yourself in the eye repeatedly doesnât seem a good idea. Incidents happen, I know, the trick is to learn from them. âRoot causeâ âcorrective actionâ blah blah blah
-
Off-topic perhaps but after you have recovered your Nextcloud deployment âŚ
This seems to happen to me every couple of years
Worth considering some kind of free space monitoring?
Various server monitor apps/agents, but simplest is a bash script run as a cron using ntfy to send alerts.
I get a daily notification of disk free space, and an âintra-dayâ alert if anything spikes over a set level.Iâm not judging, been there too, but poking yourself in the eye repeatedly doesnât seem a good idea. Incidents happen, I know, the trick is to learn from them. âRoot causeâ âcorrective actionâ blah blah blah
wrote on Feb 4, 2025, 11:56 AM last edited by@timconsidine said in Problem restarting Nextcloud after Disk Full Event:
Worth considering some kind of free space monitoring?
Various server monitor apps/agentsis there a good tutorial somewhere? I also ran once into that case and would love automated monitoring.
The new notification support of cloudron 8.2 does not cover that case?