Updated Offline (markdown)

Lauri Ojansivu 2023-07-05 00:19:21 +03:00
parent 3d69a63783
commit c42919c3b5

@ -38,6 +38,39 @@ Then Wekan will be at http://192.168.0.100:2000/sign-in
10. For mobile devices, you can [create PWA app icon](PWA) using that 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:
```
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`.
2. If there is files at `WRITABLE_PATH` directory mentioned at `start-wekan.bat` of https://github.com/wekan/wekan , also backup those.
3. Then download newest WeKan bundle .zip file from https://github.com/wekan/wekan/releases
4. Replace old bundle with new from that .zip file.
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
7. Restore database with mongorestore, like this:
```
mongorestore --drop
```
If there are errors, try this instead:
```
mongorestore --drop --noIndexRestore
```
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:
```
diff old-start-wekan.bat start-wekan.bat
```
## b) How to fix errors on Linux bundle to create Windows bundle
Download Linux bundle wekan-VERSION.zip from from https://github.com/wekan/wekan/releases or https://releases.wekan.team/