Compare commits
1 Commits
9f321bd7f8
..
dev
| Author | SHA1 | Date | |
|---|---|---|---|
| 65bd2a290b |
@@ -1,6 +0,0 @@
|
||||
This Git repository records the configuration of the Jones family network, and the system configurations of the devices and services that make up the network.
|
||||
|
||||
Directories defined at this level include:
|
||||
* devices - System configurations of the devices owned by the family and connected to the network
|
||||
* services - Configuration of services available on the network
|
||||
* network - Topology and design of the network itself
|
||||
@@ -57,7 +57,6 @@ view:
|
||||
local-data: "portainer.objectbrokers.com. A 192.168.88.231"
|
||||
local-data: "jellyfin.objectbrokers.com. A 192.168.88.231"
|
||||
local-data: "vaultwarden.objectbrokers.com. A 192.168.88.231"
|
||||
local-data: "lambdesktop.objectbrokers.com. A 192.168.88.187"
|
||||
|
||||
view:
|
||||
name: "tailnet"
|
||||
@@ -71,7 +70,6 @@ view:
|
||||
local-data: "portainer.objectbrokers.com. A 100.81.165.11"
|
||||
local-data: "jellyfin.objectbrokers.com. A 100.81.165.11"
|
||||
local-data: "vaultwarden.objectbrokers.com. A 100.81.165.11"
|
||||
local-data: "lambdesktop.objectbrokers.com. A 100.95.22.24"
|
||||
|
||||
remote-control:
|
||||
control-enable: yes
|
||||
|
||||
@@ -50,14 +50,34 @@ view:
|
||||
view-first: yes
|
||||
local-zone: "objectbrokers.com." transparent
|
||||
local-data: "teal.objectbrokers.com. A 192.168.88.231"
|
||||
local-data: "cygnus.objectbrokers.com. A 192.168.88.75"
|
||||
local-data: "nextcloud.objectbrokers.com. A 192.168.88.231"
|
||||
local-data: "photo.objectbrokers.com. A 192.168.88.231"
|
||||
local-data: "gitea.objectbrokers.com. A 192.168.88.231"
|
||||
local-data: "portainer.objectbrokers.com. A 192.168.88.231"
|
||||
local-data: "jellyfin.objectbrokers.com. A 192.168.88.231"
|
||||
local-data: "vaultwarden.objectbrokers.com. A 192.168.88.231"
|
||||
local-data: "lambdesktop.objectbrokers.com. A 192.168.88.187"
|
||||
local-data: "BOSCH-B36CL80ENS-68A40EB2F3BB.objectbrokers.com. A 192.168.88.64“
|
||||
local-data: "bosch-dishwasher-014010536224152576.objectbrokers.com. A 192.168.88.13“
|
||||
local-data: "chromecast.objectbrokers.com. A 192.168.88.156“
|
||||
local-data: "cr1000b.objectbrokers.com. A 192.168.88.25“
|
||||
local-data: "cranberrypi.objectbrokers.com. A 192.168.88.40“
|
||||
local-data: "cygnus.objectbrokers.com. A 192.168.88.75“
|
||||
local-data: "Denon-AVR-X3800H.objectbrokers.com. A 192.168.88.209“
|
||||
local-data: "DESKTOP-V5OFVIA.objectbrokers.com. A 192.168.88.18“
|
||||
local-data: "EPSON0BAAB1.objectbrokers.com. A 192.168.88.15“
|
||||
local-data: "evan-s-S23.objectbrokers.com. A 192.168.88.29“
|
||||
local-data: "evansroom.objectbrokers.com. A 192.168.88.82“
|
||||
local-data: "hAPax3.objectbrokers.com. A 192.168.88.47“
|
||||
local-data: "iris-s-S23-ultra.objectbrokers.com. A 192.168.88.86“
|
||||
local-data: "lambdesktop.objectbrokers.com. A 192.168.88.187“
|
||||
local-data: "lambtop.objectbrokers.com. A 192.168.88.20“
|
||||
local-data: "LgwebOSTV.objectbrokers.com. A 192.168.88.14“
|
||||
local-data: "mallard.objectbrokers.com. A 192.168.88.87“
|
||||
local-data: "merganser.objectbrokers.com. A 192.168.88.26“
|
||||
local-data: "pixel-9a.objectbrokers.com. A 192.168.88.142“
|
||||
local-data: "rokuExpress4k.objectbrokers.com. A 192.168.88.178“
|
||||
local-data: "samsung-washer.objectbrokers.com. A 192.168.88.220“
|
||||
local-data: "tcl6.objectbrokers.com. A 192.168.88.23“
|
||||
|
||||
view:
|
||||
name: "tailnet"
|
||||
@@ -71,7 +91,13 @@ view:
|
||||
local-data: "portainer.objectbrokers.com. A 100.81.165.11"
|
||||
local-data: "jellyfin.objectbrokers.com. A 100.81.165.11"
|
||||
local-data: "vaultwarden.objectbrokers.com. A 100.81.165.11"
|
||||
local-data: "lambtop.objectbrokers.com. A 100.69.184.48"
|
||||
local-data: "cranberrypi.objectbrokers.com. A 100.90.20.83"
|
||||
local-data: "fedora.objectbrokers.com. A 100.99.193.122"
|
||||
local-data: "lambdesktop.objectbrokers.com. A 100.95.22.24"
|
||||
local-data: "mallard.objectbrokers.com. A 1100.116.60.98"
|
||||
local-data: "merganser.objectbrokers.com. A 100.80.145.121"
|
||||
local-data: "pixel-9a.objectbrokers.com. A 1100.76.129.107"
|
||||
|
||||
remote-control:
|
||||
control-enable: yes
|
||||
|
||||
@@ -1,30 +1,16 @@
|
||||
Steps to upgrade Nextcloud from one major version to the next.
|
||||
Steps to upgrade Nextcloud from one version to another.
|
||||
|
||||
1. Put the Nextcloud instance into maintenance mode
|
||||
docker exec --user www-data nextcloud-app-1 php occ maintenance:mode --on
|
||||
1. Put the Nextcloud instance into maintenance mode
|
||||
docker exec --user www-data nextcloud-app-1 php occ maintenance:mode --on
|
||||
|
||||
Note that 'docker exec' is used to run commands within the Nextcloud docker container; and '--user www-data' is used to run as the user that owns all of the Nextcloud files.
|
||||
2. Back up the Nextcloud container's files to a location outside the container's mounted volume. 'rsync' is recommended:
|
||||
Note that 'docker exec' is used to run commands within the Nextcloud docker container; and '--user www-data' is used to run as the user that owns all of the Nextcloud files.
|
||||
|
||||
rsync -Aavx /mnt/storage/appdata/nextcloud/www/ <backup-target-dir>/
|
||||
2. Back up the Nextcloud container's files to a location outside the container's mounted volume. 'rsync' is recommended:
|
||||
|
||||
rsync should be run as root. rsync with these options should preserve file ownership & permissions.
|
||||
|
||||
3. Back up MariaDB database:
|
||||
rsync -Aavx /mnt/storage/appdata/nextcloud/www/ <backup-target-dir>/
|
||||
|
||||
docker exec nextcloud-db-container-name mysqldump --single-transaction -h localhost -u nextcloud_user -pnextcloud_password nextcloud_db_name > nextcloud-sqlbkp_$(date +"%Y%m%d").bak
|
||||
4. Alternatively, if the Nextcloud files and database are stored in a ZFS dataset, take a ZFS snapshot of the relevant dataset(s).
|
||||
rsync should be run as root. rsync with these options should preserve file ownership & permissions
|
||||
|
||||
5. Bring the Nextcloud instance down:
|
||||
sudo docker compose down
|
||||
6. Edit the compose.yaml file and change the tag on the Nextcloud image to the next major version number.
|
||||
7. Pull the next version of the Nextcloud image:
|
||||
sudo docker compose pull
|
||||
8. Bring up the Nextcloud instance:
|
||||
sudo docker compose up -d
|
||||
9. Wait a minute or so and bring up the Nextcloud web client in your browser. Open the Administrative Settings Overview page and check for any issues.
|
||||
10. If the Overview page recommends any occ commands:
|
||||
* Put the instance into maintenance mode : docker exec -u www-data nextcloud-app-1 php occ maintenance:mode --on
|
||||
* Run the occ commands recommended (for example, docker exec -u www-data nextcloud-app-1 php occ db:add-missing-indices)
|
||||
* Take the instance out of maintenance mode: docker exec -u www-data nextcloud-app-1 php occ maintenance:mode --off
|
||||
|
||||
3. Back up MariaDB database:
|
||||
|
||||
docker exec nextcloud-db-container-name mysqldump --single-transaction -h localhost -u nextcloud_user -pnextcloud_password nextcloud_db_name > nextcloud-sqlbkp_$(date +"%Y%m%d").bak
|
||||
|
||||
@@ -1,6 +0,0 @@
|
||||
This Git repository records the configuration of the Jones family network, and the system configurations of the devices and services that make up the network.
|
||||
|
||||
Directories defined at this level include:
|
||||
* devices - System configurations of the devices owned by the family and connected to the network
|
||||
* services - Configuration of services available on the network
|
||||
* network - Topology and design of the network itself
|
||||
Reference in New Issue
Block a user