smic717394
Dabbler
- Joined
- Apr 27, 2022
- Messages
- 29
Hi guys,
I need a bit of help. I´m currently on TrueNAS-SCALE-22.12.1 and just updated to NextCloud 26.0.0_1.6.20, I´ve noticed that not Next Cloud is stuck on maintenance mode. I tried to rollback but still the same. I tried opened the shell on the next cloud and it shows 2 pods, "nextcloud-postgres-59c55d886b-gngqh" with the container "nextcloud-postgres" and a second pod "nextcloud-6f57d84df7-5xdf6" with 3 containers "nextcloud, neginx and initpostgressdb" I open the second one with the container nextcloud and tried the su -m www-data -c 'php occ maintenance:mode --on' but I gett an error the account is currently not available.
I tried ./occ maintenance:mode --on and I get the following:
I tried to edit the file using cat and seen in the end of the file a line maintenance mode on or something like this, because I didnt know how to edit I reload the pod, and I install nano "apt-get update" then "apt-get install nano", but not the config file is empty. and I get an error on the nextcloud page the config.php must be configure. So now I really messed it up.
Please help
I need a bit of help. I´m currently on TrueNAS-SCALE-22.12.1 and just updated to NextCloud 26.0.0_1.6.20, I´ve noticed that not Next Cloud is stuck on maintenance mode. I tried to rollback but still the same. I tried opened the shell on the next cloud and it shows 2 pods, "nextcloud-postgres-59c55d886b-gngqh" with the container "nextcloud-postgres" and a second pod "nextcloud-6f57d84df7-5xdf6" with 3 containers "nextcloud, neginx and initpostgressdb" I open the second one with the container nextcloud and tried the su -m www-data -c 'php occ maintenance:mode --on' but I gett an error the account is currently not available.
I tried ./occ maintenance:mode --on and I get the following:
i tried to cd config to try to edit the config.php but none nano or vi works.Console has to be executed with the user that owns the file config/config.php
Current user id: 0
Owner id of config.php: 33
Try adding 'sudo -u #33' to the beginning of the command (without the single quotes)
If running with 'docker exec' try adding the option '-u 33' to the docker command (without the single quotes)
I tried to edit the file using cat and seen in the end of the file a line maintenance mode on or something like this, because I didnt know how to edit I reload the pod, and I install nano "apt-get update" then "apt-get install nano", but not the config file is empty. and I get an error on the nextcloud page the config.php must be configure. So now I really messed it up.
Please help
Last edited: