Giter Site home page Giter Site logo

Comments (4)

xet7 avatar xet7 commented on September 22, 2024

@mbrinkmann

Yes, you should switch back to stable channel, to get WeKan working again.

There will be automatic update to stable channel, when I have fixed upgrading MongoDB. That update will have newest WeKan.

from wekan.

mbrinkmann avatar mbrinkmann commented on September 22, 2024

Thank you :-) thanks to Vmware snapshots, the way back to working stable is easy ;-)

We found something more, looking in this thread: #5073

i tried to follow the repair command using the commands you told, adjusted to our environment.
I looks like there is an incompatibility issue with openssl1.1 and 3.0 which i also faced on another place in two of our debian 12 servers.
The problem was, that the nagios plugins i compiled on a debian 11 system and distributed them via ansible to my servers did not work on a fresh installed debian 12 server, due to openssl i think. u had to compile them again to make them work.

now wekan:
services:
wekan.caddy: simple, disabled, inactive
wekan.mongodb: simple, enabled, inactive
wekan: simple, enabled, inactive
snap-id: jtpboSYvTCEyHoutkkRo1SI9ioSMOUb3
tracking: latest/candidate
refresh-date: today at 11:01 CET
channels:
latest/stable: 6.09 2022-12-24 (1999) 167MB -
latest/candidate: 7.27 2024-01-02 (2782) 236MB -
latest/beta: 6.77 2023-02-27 (2384) 187MB -
latest/edge: 7.27 2024-01-08 (2784) 236MB -
installed: 7.27 (2782) 236MB -
root@ne-wekan:# export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/snap/wekan/2782/lib/x86_64-linux-gnu
root@ne-wekan:
# export PATH="/snap/wekan/2782/bin:$PATH"
root@ne-wekan:~# mongod --dbpath "/var/snap/wekan/common" --repair >> /root/repairlog.txt
mongod: error while loading shared libraries: libcrypto.so.1.1: cannot open shared object file: No such file or directory

Maybe this is the reason, the upgrade of mongo is not working?

from wekan.

xet7 avatar xet7 commented on September 22, 2024

@mbrinkmann

mongod: error while loading shared libraries: libcrypto.so.1.1: cannot open shared object file: No such file or directory
Maybe this is the reason, the upgrade of mongo is not working?

If you are repairing database, you should first stop WeKan:

sudo snap stop wekan

If using WeKan 6.09 Snap Stable, and included version of mongod, I presume path to libcrypto.so.1.1 should be first at path:

export LD_LIBRARY_PATH=/snap/wekan/2782/lib/x86_64-linux-gnu:$LD_LIBRARY_PATH

And then use that mongod that is included at /snap/wekan/bin

If using WeKan 7.x Snap Candidate, it has newest MongoDB 6.x dependencies.

But, upgrading is actually more about doing mongodump with old MongoDB 3.x, and mongorestore with MongoDB 6.x, and then also changing database structure so that attachments are visible, that migration code is what I'm working to fix.

There will be automatic upgrade from WeKan 6.09 Snap Stable to newest WeKan 7.x, staying at Stable channel. Also other channels will be using that newest WeKan 7.x, but the point is, Stable users should keep using Stable.

from wekan.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.