Prevent maintenance mode to be set on from occweb #3
Labels
No Label
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No Milestone
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: adphi/occweb#3
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Hi,
using occweb interface, set the maintenance mode to on so as to increase the php memory limit to the recommended value of 512MB.
Nextcloud has now switched to maintenance mode and and i have not been able to access my instance of nextcloud for the last 24 hours.
I am therefore unable to access nextcloud to set maintenance mode to off.
How can this be resolved?
You need to edit the nextcloud config file, usually
/var/www/nextcloud/config/config.php
and remove the line :In the next versions, the command
occ maintenance:mode
will be disabled in OccWeb.Followed your suggestion and nextcloud is back!!
Thanks
Is it possible to change the following nextcloud settings using occweb?
There are some warnings regarding your setup.
1-The PHP memory limit is below the recommended value of 512MB.
2 The "Strict-Transport-Security" HTTP header is not set to at least "15552000" seconds. For enhanced security, it is recommended to enable HSTS as described in the security tips ↗.
3 No memory cache has been configured. To enhance performance, please configure a memcache, if available. Further information can be found in the documentation.
4 The PHP OPcache module is not loaded. For better performance it is recommended to load it into your PHP installation.
5 This instance is missing some recommended PHP modules. For improved performance and better compatibility it is highly recommended to install them.
imagick
I guess you are using a shared hosting, aren't you?
These are not Nextcloud settings. You will not be able to fix them using the
occ
command.This is a php configuration parameter, in
php.ini
, I don't know if you have access to the PHP configuration.This is a web server configuration, this can be nginx, apache, caddy ... Modifying the web server configuration is not available in most shared hosting solutions.
These two are related:
PHP OPcache module is not loaded
, this is (usually) the memory cache used by PHP. You may not be able to install it on shared hosting.Same as point 4.
I am using shared hosting on Hostgator which has a phpmyadmin control panel.
Can i use this to make these changes?
I can also access the php.ini using hostgator's file manager, download it, make ammendments (using ms notepad) and upload/replace the php.ini in the file manager.
Would this method work?
Please refer to the nextcloud configuration documentation and phpmyadmin documentation for php module installation, or ask on the Nextcloud Forum.
Will do.
Thanks for the great help you have provided.
You're welcome.