User Tools

Site Tools


nextcloud_information

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
nextcloud_information [2025/04/19 21:50] mikenextcloud_information [2025/12/08 09:36] (current) mike
Line 2: Line 2:
 ---- ----
 ~~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 /config/www/nextcloud/occ maintenance:mode --on 
-   
-  ##Backup current nextcloud install 
-  mv /config/www/nextcloud /config/www/nextcloud-backup 
-   
-  ##Grab newest nextcloud release and unpack it 
-  wget https://download.nextcloud.com/server/releases/latest.tar.bz2 
-  tar -xvf latest.tar.bz2 -C /config/www 
-   
-  ##Copy across old config.php from backup 
-  cp /config/www/nextcloud-backup/config/config.php /config/www/nextcloud/config/config.php 
-   
-  ##Now Restart docker container 
-  exit 
-  docker restart nextcloud 
-   
-  ##Open terminal in container 
-  docker exec -it nextcloud bash 
-   
-  ##Perform upgrade 
-  sudo -u abc php7 /config/www/nextcloud/occ upgrade 
-   
-  ##Turn off maintenance mode 
-  sudo -u abc php7 /config/www/nextcloud/occ maintenance:mode --off 
-   
-  ## 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 92: Line 55:
   for i in $(cat users_to_del.txt); do occ user:delete $i; done   for i in $(cat users_to_del.txt); do occ user:delete $i; done
  
 +=== Background image location ===
 +Background images are stored in the **appdata/www/nextcloud/apps/theming/img/background** directory.
 +
 +----
 +
 +==== 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 /config/www/nextcloud/occ maintenance:mode --on
 +  
 +  ##Backup current nextcloud install
 +  mv /config/www/nextcloud /config/www/nextcloud-backup
 +  
 +  ##Grab newest nextcloud release and unpack it
 +  wget https://download.nextcloud.com/server/releases/latest.tar.bz2
 +  tar -xvf latest.tar.bz2 -C /config/www
 +  
 +  ##Copy across old config.php from backup
 +  cp /config/www/nextcloud-backup/config/config.php /config/www/nextcloud/config/config.php
 +  
 +  ##Now Restart docker container
 +  exit
 +  docker restart nextcloud
 +  
 +  ##Open terminal in container
 +  docker exec -it nextcloud bash
 +  
 +  ##Perform upgrade
 +  sudo -u abc php7 /config/www/nextcloud/occ upgrade
 +  
 +  ##Turn off maintenance mode
 +  sudo -u abc php7 /config/www/nextcloud/occ maintenance:mode --off
 +  
 +  ## 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

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki