Comments (9)
Yes. There will be automatic upgrade to newest. I'm In Progress of fixing related migration issues.
from wekan.
only an "old" version of wekan
No, that is incorrect. Candidate channel has newest WeKan:
https://github.com/wekan/wekan/wiki/OpenSuse
from wekan.
I also have installed version 6.09. When I try to update with these code
sudo snap refresh wekan --channel=latest/candidate
The newest version is installed now. Wekan is not available after updating. When I refresh to the stable version, wekan is available again.
Updating to the newest version is not possible. Maybe you have an other way to update wekan to the candidate version...
from wekan.
I'm currently coding automatic upgrade. It will upgrade all Snap Stable from 6.09 to newest WeKan automatically.
Manual upgrade currently has too many steps, that are time too consuming to do manually:
- Mongodump, using Snap 6.09 version of mongodump
- Mongorestore, using newest mongorestore
- To get attachments visible
3.1) Rename collections/tables of database:
rename cfs_gridfs.attachments.files attachments.files
rename cfs_gridfs.attachments.chunks attachments.chunks
rename cfs_gridfs.avatars.files avatars.files
rename cfs_gridfs.avatars.chunks avatars.chunks
3.2) Convert attachments database structure to new format, with upcoming code function:
convertup cfs.attachments.filerecord attachments
convertup cfs.avatars.filerecord avatars
I'm currently writing code functions for all that. I do not recommend trying it manually.
from wekan.
These are my current In Progress scripts for upgrade and downgrade. These do not yet make attachments visible, coding that is In Progress.
upgrade.sh
#!/bin/bash
if [ $(whoami) = 'root' ]; then
echo "Countinuing, because running as root."
else
echo "Not continuing, because not running as root."
exit
fi
# SNAP_COMMON=
snap stop wekan.wekan
export LD2=$LD_LIBRARY_PATH
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/snap/wekan/current/lib/x86_64-linux-gnu
export PATH2=$PATH
export PATH=/snap/wekan/current/bin:$PATH
sleep 1
mongodump --port 27019
snap get wekan > snap-settings.txt
snap stop wekan.mongodb
sleep 1
if [ -d "common" ]; then
rm -rf /var/snap/wekan/common/*
else
mv /var/snap/wekan/common .
mkdir /var/snap/wekan/common
fi
snap refresh wekan --channel=latest/candidate
sleep 1
snap start wekan
sleep 1
snap stop wekan.wekan
sleep 1
export PATH=$PATH2
export LD_LIBRARY_PATH=$LD2
mongorestore --drop --port 27019
sleep 1
snap start wekan.wekan
downgrade.sh
#!/bin/bash
if [ $(whoami) = 'root' ]; then
echo "Countinuing, because running as root."
else
echo "Not continuing, because not running as root."
exit
fi
snap stop wekan
sleep 1
rm -rf /var/snap/wekan/common/*
snap refresh wekan --channel=latest/stable
sleep 1
snap stop wekan
sleep 1
rm -rf /var/snap/wekan/common/*
cp -pR common/* /var/snap/wekan/common/
snap start wekan
from wekan.
Nice to know. Thank you for your work. Do you have any suggestions when the script is done?
The stable version will automatically upgrade to the newest version when the script is finished, right?
from wekan.
For any code, it is so unpredictable how long it takes to finish it, I don't know.
Most likely I will add that script to this issue, when I have finished it, to make possible manual upgrade.
There is also other questions related to how to upgrade Caddy 1 to newest, when AFAIK Caddy 2 does not support Caddy 1 Caddyfile file format.
from wekan.
One more question @xet7 . When I install the latest candidate on a new system, is the latest candidate version updated automaticly by snap? I think the problem is the old version updating to the newsest isn't it?
from wekan.
Yes, Snap Candidate is updated automatically by Snap, it is always newest version.
After I have fixed migrations, I will release newest WeKan also to Snap Stable. Those migrations will convert Snap Stable to newest WeKan, updating database, attachments etc.
from wekan.
Related Issues (20)
- Sandstorm Marketplace Version Significantly Outdated HOT 5
- feature request: As user I want to store and follow URL, maybe with a new custom field type "URL" HOT 4
- Problem with language in Wekan Docker Containter HOT 4
- Markdown and copy buttons on top of text
- OIDC sign in button does nothing iOS Brave/FF Focus - pop-up vs redirection implementation HOT 1
- illegal unescaped char: ( when signing in with LDAP_SYNC_ADMIN_STATUS: 'true' and "()" character in cn HOT 2
- Wekan Snap cannot override files HOT 1
- [Bug] Json import do not import all the cards HOT 2
- Add missing Webhook data information for "act-editComment" HOT 1
- Azure AD B2C HOT 9
- OIDC with Zitadel not working HOT 6
- get last change date of a list using API HOT 1
- Metrics - docker-compose.yml error variable name HOT 2
- Wekan 7.27 - Metrics error: TypeError: Cannot read property 'title' of undefined HOT 2
- Raspberry pi docker error with '[FilesCollection.attachments] Path "/data/attachments" is not writable!', HOT 1
- the board I left before still exist in database HOT 15
- Error: Cannot find module '../' (fibers) HOT 3
- wekan-gantt-gpl is outdated on quay.io HOT 2
- MongoDB dead after upgrading from stable to beta/rc/edge HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wekan.