Nextcloud gets into maintenance mode #31

Open
opened 2021-08-23 07:46:57 +03:00 by Ghost · 0 comments

As discovered, Nextcloud may enter maintenance mode for some reason. To get out of it, please do the following:

  1. Log into your Hetzner account
  2. Select your project and your server
  3. Select 'Rescue' category in the server control menu
  4. Push 'Enable Rescue and Power Cycle' button.
  5. Select 'linux64' in OS selection menu and your SSH key in SSH keys selection menu.
  6. Write down appeared login credentials.
  7. Return to 'Overview' tab
  8. At the upper right corner of the browser tab, please find a button with terminal icon and push it(it situated near the server on/off switch)
  9. When server shell opens, please login with written credentials and edit the following file: /root/.ssh/authorized_keys using nano or vi editor:

nano /root/.ssh/authorized_keys

or

vi /root/.ssh/authorized_keys

and add your public SSH key.
10. Go to 'Rescue' tab again, WITHOUT CLOSING THE CONSOLE WINDOW
11. Push 'Disable Rescue' button
12. Send a 'reboot' command to the server shell.
13. When server reboots, try logging into your server with the following command:

ssh -i /path/to/your/ssh/key root@server.domain

  1. After successful login, please run the following command:

nextcloud-occ maintenance:mode --off

  1. After that, please try logging into your Nextcloud instance
As discovered, Nextcloud may enter maintenance mode for some reason. To get out of it, please do the following: 1. Log into your Hetzner account 2. Select your project and your server 3. Select 'Rescue' category in the server control menu 4. Push 'Enable Rescue and Power Cycle' button. 5. Select 'linux64' in OS selection menu and your SSH key in SSH keys selection menu. 6. Write down appeared login credentials. 7. Return to 'Overview' tab 8. At the upper right corner of the browser tab, please find a button with terminal icon and push it(it situated near the server on/off switch) 9. When server shell opens, please login with written credentials and edit the following file: /root/.ssh/authorized_keys using nano or vi editor: nano /root/.ssh/authorized_keys or vi /root/.ssh/authorized_keys and add your public SSH key. 10. Go to 'Rescue' tab again, WITHOUT CLOSING THE CONSOLE WINDOW 11. Push 'Disable Rescue' button 12. Send a 'reboot' command to the server shell. 13. When server reboots, try logging into your server with the following command: ssh -i /path/to/your/ssh/key root@server.domain 14. After successful login, please run the following command: nextcloud-occ maintenance:mode --off 15. After that, please try logging into your Nextcloud instance
Ghost added the
Errata
Bug
labels 2021-08-23 07:46:57 +03:00
Ghost added the
Under investigation
label 2021-08-23 07:48:49 +03:00
Ghost added this to the Stable Version Release project 2021-09-14 10:23:25 +03:00
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: SelfPrivacy/selfprivacy.org.app#31
There is no content yet.