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

Update README.rst for occ updater #26

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -42,3 +42,26 @@ Credentials *(passwords set at first boot)*
.. _turnkey-occ: https://github.com/turnkeylinux-apps/nextcloud/blob/master/overlay/usr/local/bin/turnkey-occ
.. _Nextcloud documentation: https://docs.nextcloud.com/server/stable/admin_manual/maintenance/upgrade.html
.. _Adminer: https://www.adminer.org

--------------------------------------------

For updating the version of nextcloud you should check for the version upstream (stable or beta) This can be done in the Administration page of NC or in the /var/www/nextcloud/config/config.php file

By the interface you should change the /etc/php/{your_current_version}/cli/php.ini and /etc/php/{your_current_version}/apache/php.ini max execution time to be able to download the files.

You can also update by the terminal following this steps
.. code-block:: bash

$ su -l www-data -s /bin/bash

$ cd /var/www/nextcloud/updater

$ php updater.phar

When asked:

Should the "occ upgrade" command be executed? [Y/n]

Yes is Highly recomended

For more info about this matter check the updater `documentation <https://docs.nextcloud.com/server/latest/admin_manual/maintenance/update.html>`_.