Let's encrypt cert died. I fixed it but now webinstaller is trying to reinstall?

I have a feeling this was caused by my server updating itself to 15 or something like that.

Yesterday I started getting messages from the NC client on my windows laptop that the let’s encrypt cert was incorrect. I thought I had set it to auto renew but it seemed to have gone out of date.

I get on my Ubuntu 18.04 server CLI and I try to renew. It won’t let me, saying port 80 was occupied. I do some research. I stop the nginx server, run certbot renew, it works, no problem, and then I restart server. I go to my public url for my cloud server and it is no longer getting an “incorrect cert” warning. Instead it’s showing me the web installer?

I checked my nc-data folder and all my files are still there.

I’m also getting a low disk warning. I have a vague memory that I had a similar problem when NC updated to 14, because it didn’t have enough hdd space to properly update. But I forget how I fixed that issue. Any ideas?

EDIT: I checked my post history and while my original post was a little vague on the solution I was able to fix stuff by going to the nc-data folder, go to the backups folder, and then copy paste my config.php file over to my server. The www nextcloud folder had a config file in it but it was blank, probably because of of an update.

I stop and restarted my server and it’s now updating to 14.03 (which I could have sworn I was already on…?)

I’m not entirely sure why this keeps happening but I guess it has something to do with my rootfs being full. Why this keeps happening I don’t totally understand, and it seems like something which should be fixed, or would at least be easy to add as a check to the auto updater.

Here was my original thread on this: Uh... Nextcloud installation just completely reinitalized?

EDITEDIT: The update gave me an error again. The config.php file on www nextcloud has been blanked out again. I have repasted stuff in. I reload the page and I’m getting a strange error:

redacted due to sensitive info

EDITEDITEDIT: I tried again, and now I got a white screen with the following:
`Internal Server Error

The server encountered an internal error and was unable to complete your request.
Please contact the server administrator if this error reappears multiple times, please include the technical details below in your report.
More details can be found in the server log.
`

I’ve never seen this error before :confused:

Have you solved the issue with you filled up partition?

Solve that first before your db gets corrupted.
That is the most sensible piece of info at this point.

I have solved it, it appears. I can now update and download software etc and it’s no longer giving me the filesystem full alert.

It’s still showing me that white screen error when I restart the server though.

the config.php file is not getting blanked out though.

EDIT: I restarted again and now it’s updating correctly. Consider this issue solved. Though I’m going to log a bug on the github about this because it is a reoccuring problem that probably should have some kind of check to prevent right? I mean, I’m not a great dev, I’m more of a designer who knows enough code to get himself in trouble but this has happened to me multiple times and it happened to other people, it seems like something that should have a check.

Whoops… not so fast. It looks like it still breaks when trying to update. I get the following error log:

Preparing update

Set log level to debug

Turned on maintenance mode

Updating database schema

Updated database

Checking for update of app "accessibility" in appstore

Checked for update of app "accessibility" in appstore

Checking for update of app "activity" in appstore

Checked for update of app "activity" in appstore

Checking for update of app "admin_audit" in appstore

Checked for update of app "admin_audit" in appstore

Checking for update of app "admin_notifications" in appstore

Checked for update of app "admin_notifications" in appstore

Checking for update of app "audioplayer" in appstore

Update app "audioplayer" from appstore

[0 / 0]:

Checked for update of app "audioplayer" in appstore

Checking for update of app "bruteforcesettings" in appstore

Update app "bruteforcesettings" from appstore

Checked for update of app "bruteforcesettings" in appstore

Checking for update of app "cloud_federation_api" in appstore

Checked for update of app "cloud_federation_api" in appstore

Checking for update of app "cms_pico" in appstore

Checked for update of app "cms_pico" in appstore

Checking for update of app "comments" in appstore

Checked for update of app "comments" in appstore

Checking for update of app "dav" in appstore

Checked for update of app "dav" in appstore

Checking for update of app "dropit" in appstore

Checked for update of app "dropit" in appstore

Checking for update of app "federatedfilesharing" in appstore

Checked for update of app "federatedfilesharing" in appstore

Checking for update of app "federation" in appstore

Checked for update of app "federation" in appstore

Checking for update of app "files" in appstore

Checked for update of app "files" in appstore

Checking for update of app "files_accesscontrol" in appstore

Checked for update of app "files_accesscontrol" in appstore

Checking for update of app "files_automatedtagging" in appstore

Checked for update of app "files_automatedtagging" in appstore

Checking for update of app "files_external" in appstore

Checked for update of app "files_external" in appstore

Checking for update of app "files_pdfviewer" in appstore

Checked for update of app "files_pdfviewer" in appstore

Checking for update of app "files_rightclick" in appstore

Checked for update of app "files_rightclick" in appstore

Checking for update of app "files_sharing" in appstore

Checked for update of app "files_sharing" in appstore

Checking for update of app "files_texteditor" in appstore

Checked for update of app "files_texteditor" in appstore

Checking for update of app "files_trashbin" in appstore

Checked for update of app "files_trashbin" in appstore

Checking for update of app "files_versions" in appstore

Checked for update of app "files_versions" in appstore

Checking for update of app "files_videoplayer" in appstore

Checked for update of app "files_videoplayer" in appstore

Checking for update of app "gallery" in appstore

Checked for update of app "gallery" in appstore

Checking for update of app "groupfolders" in appstore

Update app "groupfolders" from appstore

Checked for update of app "groupfolders" in appstore

Checking for update of app "impersonate" in appstore

Checked for update of app "impersonate" in appstore

Checking for update of app "issuetemplate" in appstore

Checked for update of app "issuetemplate" in appstore

Checking for update of app "logreader" in appstore

Checked for update of app "logreader" in appstore

Checking for update of app "lookup_server_connector" in appstore

Checked for update of app "lookup_server_connector" in appstore

Checking for update of app "music" in appstore

Update app "music" from appstore

Checked for update of app "music" in appstore

Checking for update of app "nextcloud_announcements" in appstore

Checked for update of app "nextcloud_announcements" in appstore

Checking for update of app "notifications" in appstore

Checked for update of app "notifications" in appstore

Checking for update of app "oauth2" in appstore

Checked for update of app "oauth2" in appstore

Checking for update of app "onlyoffice" in appstore

Update app "onlyoffice" from appstore

Checked for update of app "onlyoffice" in appstore

Checking for update of app "password_policy" in appstore

Checked for update of app "password_policy" in appstore

Checking for update of app "provisioning_api" in appstore

Checked for update of app "provisioning_api" in appstore

Checking for update of app "quota_warning" in appstore

Checked for update of app "quota_warning" in appstore

Checking for update of app "ransomware_protection" in appstore

Checked for update of app "ransomware_protection" in appstore

Checking for update of app "serverinfo" in appstore

Checked for update of app "serverinfo" in appstore

Checking for update of app "sharebymail" in appstore

Checked for update of app "sharebymail" in appstore

Checking for update of app "sharerenamer" in appstore

Checked for update of app "sharerenamer" in appstore

Checking for update of app "spreed" in appstore

Update app "spreed" from appstore

Checked for update of app "spreed" in appstore

Checking for update of app "support" in appstore

Checked for update of app "support" in appstore

Checking for update of app "survey_client" in appstore

Checked for update of app "survey_client" in appstore

Checking for update of app "systemtags" in appstore

Checked for update of app "systemtags" in appstore

Checking for update of app "theming" in appstore

Checked for update of app "theming" in appstore

Checking for update of app "theming_customcss" in appstore

Checked for update of app "theming_customcss" in appstore

Checking for update of app "twofactor_backupcodes" in appstore

Checked for update of app "twofactor_backupcodes" in appstore

Checking for update of app "updatenotification" in appstore

Checked for update of app "updatenotification" in appstore

Checking for update of app "workflowengine" in appstore

Checked for update of app "workflowengine" in appstore

An error occurred.

EDIT: Ah fixed it again. Has to do with this issue here:

Now I just have to figure how to get rid of the notifications constantly telling me that I’ve failed my integrity check.