mirror of
https://github.com/wekan/wekan.git
synced 2026-02-26 01:44:07 +01:00
Updated Offline (markdown)
parent
c42919c3b5
commit
75fada2378
1 changed files with 22 additions and 10 deletions
32
Offline.md
32
Offline.md
|
|
@ -40,23 +40,35 @@ Then Wekan will be at http://192.168.0.100:2000/sign-in
|
|||
|
||||
## WeKan Updates
|
||||
|
||||
1. If there is newer MongoDB and Node.js version mentioned at https://wekan.github.io , in your current version you can use mongodump to backup database like this:
|
||||
1. Updating only WeKan. Not updating Node.js and MongoDB.
|
||||
|
||||
1.1. Make backup, look at steps 2.1. and 2.2 below.
|
||||
|
||||
1.2. Download newest WeKan bundle .zip file from https://github.com/wekan/wekan/releases
|
||||
|
||||
1.3. Replace old bundle with new from that .zip file.
|
||||
|
||||
1.4. Start WeKan with `start-wekan.sh`
|
||||
|
||||
2. If it does not work, you maybe need to update Node.js and MongoDB.
|
||||
|
||||
2.1. Backup part 1/2. Try mongodump to backup database like this command. If mongodump command does not exist, download MongoDB Tools from https://www.mongodb.com/try/download/database-tools . Make backup:
|
||||
```
|
||||
mongodump
|
||||
```
|
||||
at https://github.com/wekan/wekan/wiki/Backup . Mongodump command is at MongoDB Tools and MongoDB Shell that can be downloaded from mongodb.com . Backup is in directory `dump`.
|
||||
Backup will be is in directory `dump`. More info at https://github.com/wekan/wekan/wiki/Backup
|
||||
|
||||
2. If there is files at `WRITABLE_PATH` directory mentioned at `start-wekan.bat` of https://github.com/wekan/wekan , also backup those.
|
||||
2.2. Backup part 2/2. If there is files at `WRITABLE_PATH` directory mentioned at `start-wekan.bat` of https://github.com/wekan/wekan , also backup those. For example, if there is `WRITABLE_PATH=..`, it means previous directory. So when WeKan is started with `node main.js` in bundle directory, it may create in previous directory (where is bundle) directory `files`, where is subdirectories like `files\attachments`, `files\avatars` or similar.
|
||||
|
||||
3. Then download newest WeKan bundle .zip file from https://github.com/wekan/wekan/releases
|
||||
2.3. Check required compatible version of Node.js from https://wekan.github.io `Install WeKan ® Server` section and Download that version node.exe for Windows 64bit from https://nodejs.org/dist/
|
||||
|
||||
4. Replace old bundle with new from that .zip file.
|
||||
2.4. Check required compatible version of MongoDB from https://wekan.github.io `Install WeKan ® Server` section and Download that version Windows MongoDB .msi installer from https://www.mongodb.com/try/download/community
|
||||
|
||||
5. Remove old Node.js and MongoDB (at Windows, Control Panel / Add Remove Programs)
|
||||
2.5. Remove old Node.js and MongoDB (at Windows, Control Panel / Add Remove Programs).
|
||||
|
||||
6. Install newest Node.js and MongoDB version that is mentioned at https://wekan.github.com , also remove and install newest MongoDB tools and MongoDB Shell from mongodb.com
|
||||
2.6. Install newest Node.js and MongoDB.
|
||||
|
||||
7. Restore database with mongorestore, like this:
|
||||
2.7. Restore database with mongorestore, like this:
|
||||
```
|
||||
mongorestore --drop
|
||||
```
|
||||
|
|
@ -64,9 +76,9 @@ If there are errors, try this instead:
|
|||
```
|
||||
mongorestore --drop --noIndexRestore
|
||||
```
|
||||
8. Start wekan with `start-wekan.bat`
|
||||
2.8. Start wekan with `start-wekan.bat`
|
||||
|
||||
9. If WeKan does not start with your old start-wekan.bat, download newest [start-wekan.bat](https://raw.githubusercontent.com/wekan/wekan/master/start-wekan.bat) and look are there differences to your old start-wekan.bat . For example, with this command, could work on WSL or PowerShell or Linux or after installing git:
|
||||
2.9. If WeKan does not start with your old start-wekan.bat, download newest [start-wekan.bat](https://raw.githubusercontent.com/wekan/wekan/master/start-wekan.bat) and look are there differences to your old start-wekan.bat . For example, with this command, could work on WSL or PowerShell or Linux or after installing git:
|
||||
```
|
||||
diff old-start-wekan.bat start-wekan.bat
|
||||
```
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue