wekan / wekan-snap

Newest Wekan Snap docs wiki. Repo has old Snap code, newest Snap code at https://github.com/wekan/wekan , where is also more of newest WeKan docs at wiki.
https://github.com/wekan/wekan-snap/wiki
MIT License
71 stars 11 forks source link

Refresh from stable to edge #163

Closed malins closed 2 years ago

malins commented 2 years ago

Hello,

I was trying to switch from stable (6.09) to edge (6.55) using snap refresh, but mongodb is no longer starting. I can see the following in the logs:

2022-11-15T17:37:50Z wekan.mongodb[30181]: mongodb bind options:  --bind_ip 127.0.0.1 --port 27019
2022-11-15T17:37:50Z wekan.mongodb[30181]: Sending mongodb logs to /dev/null
2022-11-15T17:37:50Z wekan.mongodb[30788]: Error parsing command line: unrecognised option '--bind_ip'
2022-11-15T17:37:50Z wekan.mongodb[30788]: try 'mongo --help' for more information
2022-11-15T17:37:50Z wekan.mongodb[30789]: Error parsing command line: unrecognised option '--bind_ip'
2022-11-15T17:37:50Z wekan.mongodb[30789]: try 'mongo --help' for more information

When reverting back to stable, everything works again. Is switching between channels not supported?

Thank you Manuel

xet7 commented 2 years ago

Switching between channels is not supported.

In theory, you could do mongodump / mongorestore, because they use different MongoDB versions, but there is also other bugs like attachments not visible in newest version, because database structure is different.

I would recommend waiting for official update that has fixed automatic migrations.