Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unraid (current) update locked into maintenance mode. #430

Closed
1 task done
TheShillsYT opened this issue Apr 17, 2024 · 13 comments
Closed
1 task done

Unraid (current) update locked into maintenance mode. #430

TheShillsYT opened this issue Apr 17, 2024 · 13 comments

Comments

@TheShillsYT
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

upon updating this using Unraid (current version) nextcloud no longer runs and I am locked into maintenance mode. It is late in the evening so I will gather better logs if this one posted below isn't the one needed in the AM, sorry. Just wanted to post in case it saves anyone from the loop I am in.

Expected Behavior

Was expecting a simple restart and it would work as before.

Steps To Reproduce

I can't do anything now as I will have to try and revert I think.

Environment

- OS:UnRaid Version: 6.12.6 
- How docker service was installed:using community applications built into Unraid.

CPU architecture

x86-64

Docker creation

was installed using the GUI for community applications.

Container logs

[migrations] started
[migrations] 01-nginx-site-confs-default: skipped
[migrations] 02-default-location: skipped
[migrations] done
───────────────────────────────────────

      ██╗     ███████╗██╗ ██████╗
      ██║     ██╔════╝██║██╔═══██╗
      ██║     ███████╗██║██║   ██║
      ██║     ╚════██║██║██║   ██║
      ███████╗███████║██║╚██████╔╝
      ╚══════╝╚══════╝╚═╝ ╚═════╝

   Brought to you by linuxserver.io
───────────────────────────────────────

To support LSIO projects visit:
https://www.linuxserver.io/donate/

───────────────────────────────────────
GID/UID
───────────────────────────────────────

User UID:    99
User GID:    100
───────────────────────────────────────

using keys found in /config/keys
Initializing nextcloud 28.0.4.1 (this can take a while) ...
Setting permissions
Initializing finished
**** The following active confs have different version dates than the samples that are shipped. ****
**** This may be due to user customization or an update to the samples. ****
**** You should compare the following files to the samples in the same folder and update them. ****
**** Use the link at the top of the file to view the changelog. ****
┌────────────┬────────────┬────────────────────────────────────────────────────────────────────────┐
│  old date  │  new date  │ path                                                                   │
├────────────┼────────────┼────────────────────────────────────────────────────────────────────────┤
│ 2024-01-03 │ 2024-04-02 │ /config/nginx/site-confs/default.conf                                  │
└────────────┴────────────┴────────────────────────────────────────────────────────────────────────┘
[custom-init] No custom files found, skipping...
[ls.io-init] done.
Copy link

Thanks for opening your first issue here! Be sure to follow the relevant issue templates, or risk having this issue marked as invalid.

@WernerFettke
Copy link

I have the same issue, where you able to resolve it ?

@tatezach
Copy link

Happened to me by an update in the past, I think it was 28.0.3. Iwas able to resolve it by just deactivating maintenance mode via docker cli command. Did you try this?

@WernerFettke
Copy link

Hi,

Tried with the following:

root@UNRaid01:~# docker exec -it nextcloud occ maintenance:mode --off
Nextcloud or one of the apps require upgrade - only a limited number of commands are available
You may use your browser or the occ upgrade command to do the upgrade
Maintenance mode already disabled

Got rid of the maintenance mode, however when I try run the upgrade I'm getting a malformed error:

Doctrine\DBAL\Exception\DriverException: An exception occurred while executing a query: SQLSTATE[HY000]: General error: 11 database disk image is malformed

Tried running:
docker exec -it nextcloud occ maintenance:repair

However I get:

  • ERROR: An exception occurred while executing a query: SQLSTATE[HY000]: General error: 11 database disk image is malformed

I'm assuming I need to re-install ?

Thanks for your suggestion.

Werner

@Exogenic
Copy link

Tried the suggestions here last night, also deleted all auth tokens, but couldn't get a stable login. Came home from work today and installed the latest update, and everything seems to be in order now. Whatever you did, thanks :-)

@ThElement12
Copy link

ThElement12 commented Apr 25, 2024

I have the same problem

@LinuxServer-CI
Copy link
Collaborator

This issue has been automatically marked as stale because it has not had recent activity. This might be due to missing feedback from OP. It will be closed if no further activity occurs. Thank you for your contributions.

@al73rus
Copy link

al73rus commented May 28, 2024

After todays update i got the same msg

@sf281
Copy link

sf281 commented Jun 7, 2024

I have the same issue... after updating nextcloud docker to 29.0.2 I either can't access or if I can only see Maintenance mode.

@J0hn-Lawrence
Copy link

I have the same issue. After updating (via unraid GUI) from 29.0.1.1 to 29.0.2.2 my instance is stuck. It is not reachable via web and seems to do nothing as CPU utilisation by the container is virtually 0%.
The log shows the following:
Initializing nextcloud 29.0.2.2 (this can take a while) ... Upgrading nextcloud from 29.0.1.1 ...
It does not go past this stage no matter how long I wait.

I checked the "config/www/nextcloud/config/config.php" file, but the maintenance parameter is set to false (in the past sometimes it got stuck in maintenance=true and changing it in this config file fixed the issue). I am not sure what could be the issue.

@J0hn-Lawrence
Copy link

I have the same issue. After updating (via unraid GUI) from 29.0.1.1 to 29.0.2.2 my instance is stuck. It is not reachable via web and seems to do nothing as CPU utilisation by the container is virtually 0%. The log shows the following: Initializing nextcloud 29.0.2.2 (this can take a while) ... Upgrading nextcloud from 29.0.1.1 ... It does not go past this stage no matter how long I wait.

I checked the "config/www/nextcloud/config/config.php" file, but the maintenance parameter is set to false (in the past sometimes it got stuck in maintenance=true and changing it in this config file fixed the issue). I am not sure what could be the issue.

I was able to solve the problem by reinstalling the Nextcloud Docker container. I do not know what caused this upgrading issue.

@LinuxServer-CI
Copy link
Collaborator

This issue has been automatically marked as stale because it has not had recent activity. This might be due to missing feedback from OP. It will be closed if no further activity occurs. Thank you for your contributions.

@LinuxServer-CI LinuxServer-CI closed this as not planned Won't fix, can't repro, duplicate, stale Sep 6, 2024
Copy link

github-actions bot commented Oct 7, 2024

This issue is locked due to inactivity

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 7, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
Development

No branches or pull requests

9 participants