nextcloud_information
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| nextcloud_information [2025/04/19 21:50] – mike | nextcloud_information [2026/09/12 06:25] (current) – mike | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Nextcloud Information ====== | ====== Nextcloud Information ====== | ||
| - | ---- | + | |
| ~~NOTOC~~ | ~~NOTOC~~ | ||
| - | === A high level example of interfacing with Nextcloud (docker container) === | ||
| - | ##Open terminal in container | ||
| - | docker exec -it nextcloud bash | ||
| - | | ||
| - | ##Turn on maintenance mode | ||
| - | sudo -u abc php7 / | ||
| - | | ||
| - | ##Backup current nextcloud install | ||
| - | mv / | ||
| - | | ||
| - | ##Grab newest nextcloud release and unpack it | ||
| - | wget https:// | ||
| - | tar -xvf latest.tar.bz2 -C /config/www | ||
| - | | ||
| - | ##Copy across old config.php from backup | ||
| - | cp / | ||
| - | | ||
| - | ##Now Restart docker container | ||
| - | exit | ||
| - | docker restart nextcloud | ||
| - | | ||
| - | ##Open terminal in container | ||
| - | docker exec -it nextcloud bash | ||
| - | | ||
| - | ##Perform upgrade | ||
| - | sudo -u abc php7 / | ||
| - | | ||
| - | ##Turn off maintenance mode | ||
| - | sudo -u abc php7 / | ||
| - | | ||
| - | ## Now Restart docker container | ||
| - | exit | ||
| - | docker restart nextcloud | ||
| - | |||
| - | === Upgrading Nextcloud running in a docker container: === | ||
| - | Login to the console of the docker host and execute: | ||
| - | docker exec -it <docker name> updater.phar | ||
| | | ||
| === Disable IPv6 in Nextcloud === | === Disable IPv6 in Nextcloud === | ||
| Line 44: | Line 7: | ||
| === Additions to Nextcloud config (/ | === Additions to Nextcloud config (/ | ||
| + | [[https:// | ||
| (Note: make sure to update the xxx.xxx.xxx.xxx in the code below to the IP of the proxy) | (Note: make sure to update the xxx.xxx.xxx.xxx in the code below to the IP of the proxy) | ||
| Line 54: | Line 18: | ||
| 0 => ' | 0 => ' | ||
| 1 => ' | 1 => ' | ||
| + | 2 => ' | ||
| ), | ), | ||
| ' | ' | ||
| Line 92: | Line 57: | ||
| for i in $(cat users_to_del.txt); | for i in $(cat users_to_del.txt); | ||
| + | === Enable deletion of 1-1 chat conversations === | ||
| + | Execute the command: | ||
| + | occ config: | ||
| + | | ||
| + | === Background image location === | ||
| + | Background images are stored in the **appdata/ | ||
| + | |||
| + | ---- | ||
| + | |||
| + | ==== Older information that may no longer be relevant but is kept for historical value ==== | ||
| + | |||
| + | === A high level example of interfacing with Nextcloud (docker container) === | ||
| + | ##Open terminal in container | ||
| + | docker exec -it nextcloud bash | ||
| + | | ||
| + | ##Turn on maintenance mode | ||
| + | sudo -u abc php7 / | ||
| + | | ||
| + | ##Backup current nextcloud install | ||
| + | mv / | ||
| + | | ||
| + | ##Grab newest nextcloud release and unpack it | ||
| + | wget https:// | ||
| + | tar -xvf latest.tar.bz2 -C /config/www | ||
| + | | ||
| + | ##Copy across old config.php from backup | ||
| + | cp / | ||
| + | | ||
| + | ##Now Restart docker container | ||
| + | exit | ||
| + | docker restart nextcloud | ||
| + | | ||
| + | ##Open terminal in container | ||
| + | docker exec -it nextcloud bash | ||
| + | | ||
| + | ##Perform upgrade | ||
| + | sudo -u abc php7 / | ||
| + | | ||
| + | ##Turn off maintenance mode | ||
| + | sudo -u abc php7 / | ||
| + | | ||
| + | ## Now Restart docker container | ||
| + | exit | ||
| + | docker restart nextcloud | ||
| + | |||
| + | === Upgrading Nextcloud running in a docker container: === | ||
| + | Login to the console of the docker host and execute: | ||
| + | docker exec -it <docker name> updater.phar | ||
nextcloud_information.1745124611.txt.gz · Last modified: by mike
