Skip to content

Commit dd1fda4

Browse files
authored
rsync example for manual upgrade (#305)
1 parent 8840abd commit dd1fda4

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

docs/update.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,13 @@ This update will be the one you have to use if you are following the Release cha
7979

8080
1. Download the [newest Version](https://github.com/LycheeOrg/Lychee/releases)
8181
2. Replace all existing files, excluding `public/uploads/`, `public/dist/user.css` and `.env` (and `database/database.sqlite` if using **SQLite** as your database)
82-
3. Go into the `Diagnostic` page and click on the `Apply migration` button.
82+
3. Go into the `Diagnostic` page (this will mostly happen automatically) and click on the `Apply migration` button.
83+
84+
Note: if using `rsync` to upload stuff to the WebServer, something like this might be used:
85+
86+
```bash
87+
rsync -vrtz --delete --chmod=Du=rwx,Dg=rx,Do=rx,Fu=rw,Fg=r,Fo=r --exclude=public/uploads/ --exclude=public/dist/user.css --exclude=.env --exclude=database/database.sqlite Lychee/ user@web.server.web:~/www/your_path_to/lychee/
88+
```
8389

8490

8591
## Update via the GUI

0 commit comments

Comments
 (0)