v0.1.0
This commit is contained in:
BIN
docs/images/upgrade-from-v0.1.0-backup.png
Normal file
BIN
docs/images/upgrade-from-v0.1.0-backup.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 131 KiB |
28
docs/upgrade-from-v0.1.0.md
Normal file
28
docs/upgrade-from-v0.1.0.md
Normal file
@@ -0,0 +1,28 @@
|
||||
## 0. Check your current version
|
||||
```bash
|
||||
# Mac/Linux
|
||||
docker inspect glidea/zenfeed:latest | grep version
|
||||
|
||||
# Windows PowerShell
|
||||
docker inspect glidea/zenfeed:latest | Select-String -Pattern 'version'
|
||||
```
|
||||
|
||||
If you **don't see any results**, it means you're using version v0.1.0. This is because the first version didn't include version information. Therefore, **this document applies to you.**
|
||||
|
||||
## 1. Move your data to the correct volume path
|
||||
```bash
|
||||
docker-compose -p zenfeed exec zenfeed cp -a /data/. /app/data/
|
||||
```
|
||||
|
||||
## 2. Backup your config
|
||||
Access: http://localhost:1400
|
||||

|
||||
|
||||
## 3. Upgrade
|
||||
See [upgrade](./upgrade.md)
|
||||
|
||||
## 4. Resave your config
|
||||
Access: http://localhost:1400
|
||||
Resave your config.
|
||||
|
||||
These tedious steps are due to the oversight in the deployment form of the first version, and I apologize for that. Subsequent versions will not require these extra steps.
|
||||
19
docs/upgrade.md
Normal file
19
docs/upgrade.md
Normal file
@@ -0,0 +1,19 @@
|
||||
**NOTE:** If you are upgrading from v0.1.0, which is the first version, please refer to [upgrade-from-v0.1.0.md](./upgrade-from-v0.1.0.md)
|
||||
|
||||
```bash
|
||||
# Ensure compose yml up to date.
|
||||
## Mac/Linux
|
||||
curl -L -O https://raw.githubusercontent.com/glidea/zenfeed/main/docker-compose.yml
|
||||
## Windows PowerShell
|
||||
Invoke-WebRequest -Uri "https://raw.githubusercontent.com/glidea/zenfeed/main/docker-compose.yml" -OutFile ([System.IO.Path]::GetFileName("https://raw.githubusercontent.com/glidea/zenfeed/main/docker-compose.yml"))
|
||||
|
||||
|
||||
# Ensure images up to date.
|
||||
docker-compose -p zenfeed pull
|
||||
|
||||
|
||||
# Upgrading without reconfiguring, etc APIKey.
|
||||
docker-compose -p zenfeed up -d
|
||||
```
|
||||
|
||||
Then all the feed data and configurations should be intact.
|
||||
Reference in New Issue
Block a user