update
This commit is contained in:
parent
6d9dff7fe9
commit
f1f00c8127
|
@ -137,6 +137,10 @@ Default login: `admin@admin.com` // `password`
|
||||||
|
|
||||||
![interface-pic](https://i.imgur.com/cN1GUZw.png)
|
![interface-pic](https://i.imgur.com/cN1GUZw.png)
|
||||||
|
|
||||||
|
# Trouble shooting
|
||||||
|
|
||||||
|
If after update you cant see edit tools. Clear cookies.
|
||||||
|
|
||||||
# Update
|
# Update
|
||||||
|
|
||||||
[Watchtower](https://github.com/DoTheEvo/selfhosted-apps-docker/tree/master/watchtower)
|
[Watchtower](https://github.com/DoTheEvo/selfhosted-apps-docker/tree/master/watchtower)
|
||||||
|
|
|
@ -64,7 +64,8 @@ Borg is likely in your linux repositories.
|
||||||
`mkdir ~/borg`</br>
|
`mkdir ~/borg`</br>
|
||||||
`borg init --encryption=none ~/borg/docker_backup`
|
`borg init --encryption=none ~/borg/docker_backup`
|
||||||
|
|
||||||
Note the sudo. Borg commands should be run as root, so it can access everything.
|
Note the lack of sudo for initialization, this allows regular user to browse it.
|
||||||
|
But the script should be run as root to have full access.
|
||||||
|
|
||||||
#### The backup script
|
#### The backup script
|
||||||
|
|
||||||
|
@ -141,23 +142,13 @@ but then non root user would not be able to enter the repo directory.
|
||||||
|
|
||||||
### Automatic execution
|
### Automatic execution
|
||||||
|
|
||||||
Using [cron](https://wiki.archlinux.org/index.php/cron).
|
Previously cron has been used, but decided to try systemd timers.
|
||||||
|
|
||||||
|
[This](https://blog.andrewkeech.com/posts/170719_borg.html) is the source.
|
||||||
|
|
||||||
|
|
||||||
**Make sure cron is installed and the service is running**</br>
|
|
||||||
`sudo systemctl status cronie`
|
|
||||||
|
|
||||||
Create a cron job that executes the script
|
|
||||||
[at 03:00](https://crontab.guru/#0_03_*_*_*)
|
|
||||||
|
|
||||||
* switch to root</br>
|
|
||||||
`su`
|
|
||||||
* add new cron job</br>
|
|
||||||
`crontab -e`</br>
|
|
||||||
`0 3 * * * /home/bastard/borg/borg_backup.sh`
|
|
||||||
|
|
||||||
|
|
||||||
`crontab -l` - list current cronjobs</br>
|
|
||||||
`journalctl -u cronie` - cron history
|
|
||||||
|
|
||||||
|
|
||||||
# Accessing the backup files
|
# Accessing the backup files
|
||||||
|
|
|
@ -161,9 +161,7 @@ jellyfin.{$MY_DOMAIN} {
|
||||||
|
|
||||||
*We're unable to connect to the selected server right now. Please ensure it is running and try again.*
|
*We're unable to connect to the selected server right now. Please ensure it is running and try again.*
|
||||||
|
|
||||||
If you encounter this,
|
If you encounter this, try opening the url in browsers private window.<br>
|
||||||
try open the url in browsers private window.
|
|
||||||
|
|
||||||
If it works then clear the cookies in your browser.
|
If it works then clear the cookies in your browser.
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -152,7 +152,7 @@ Address = 10.200.200.2/32
|
||||||
|
|
||||||
[Peer]
|
[Peer]
|
||||||
PublicKey = fuCKVQU+x/jukZq3WH5yorJ4mE665dkv2HKN/0mH5hQ=
|
PublicKey = fuCKVQU+x/jukZq3WH5yorJ4mE665dkv2HKN/0mH5hQ=
|
||||||
AllowedIPs = 10.200.200.1/32, 192.168.5.0/24
|
AllowedIPs = 192.168.5.0/24
|
||||||
Endpoint = 63.123.113.495:51820
|
Endpoint = 63.123.113.495:51820
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue