Code Monkey home page Code Monkey logo

Comments (16)

SiM avatar SiM commented on June 7, 2024 4

Same problem here on several servers.

I found a "workaround" after some tries (⚠️ do at your own risk, not sure if it will works in all contexts)
(I consider starting after a failed wekan upgrade)

wget -qO - https://www.mongodb.org/static/pgp/server-4.4.asc | sudo apt-key add -
echo "deb http://repo.mongodb.org/apt/debian buster/mongodb-org/4.4 main" | sudo tee /etc/apt/sources.list.d/mongodb-org-4.4.list
apt-get update
apt-get install -y mongodb-org
  • Restore wekan backup made before the failed upgrade :
    yunohost backup restore wekan-pre-upgradeX (replace X with the correct number ; type yunohost backup list to know)

  • Upgrade wekan
    yunohost app upgrade wekan


It would be ideal if all this could be managed during the wekan upgrade process, but my skills are not high enough 😄

from wekan_ynh.

yalh76 avatar yalh76 commented on June 7, 2024 1

I would really appreciate a workaround as I cannot even reinstall the backup. Thanks in advance!

Did you first install wekan on yunohost 3.x/Stretch, then at one time, upgrade yunohost to 4.x/Buster, and now tryed to upgrade wekan?

I'm asking that because mongodb has been removed from Debian in Buster and mongodb package name changed, with stretch it was mongodb and now, it's mongodb-org.

So maybe wekan upgrade doesn't manage that mongodb dependency name change...

from wekan_ynh.

nukedone avatar nukedone commented on June 7, 2024

the same error here. Seems that the instance cannot connect to MongoDB

from wekan_ynh.

anmol26s avatar anmol26s commented on June 7, 2024

Do you have other apps using Mongodb?

What is ?
$ mongo --version

You should try fixing packages by:

$ apt --fix-broken install

from wekan_ynh.

nukedone avatar nukedone commented on June 7, 2024

The error is because MongoDB service is not running.
My issue, after installing MongoDB as in here up to step 4 didn't make the service start.
Since there wasn't a service mongod.service I ran

sudo systemctl daemon-reload

And at the end had to remove

sudo rm -rf /tmp/mongodb-27017.sock
sudo service mongod restart

from wekan_ynh.

anmol26s avatar anmol26s commented on June 7, 2024

Try removing the Mongodb.

$ sudo apt-get purge mongodb-org*

Then again installing it.
$ sudo apt-get update && sudo apt-get install mongodb

from wekan_ynh.

stilobique avatar stilobique commented on June 7, 2024

Hi, same issue for me. I'm try to install Mongo DB and Yunohost give me an precious information :

Aucune version du paquet mongodb n'est disponible, mais il existe dans la base
de données. Cela signifie en général que le paquet est manquant, qu'il est devenu obsolète
ou qu'il n'est disponible que sur une autre source

(No package are available in English :) .

from wekan_ynh.

fflorent avatar fflorent commented on June 7, 2024

Did you first install wekan on yunohost 3.x/Stretch, then at one time, upgrade yunohost to 4.x/Buster, and now tryed to upgrade wekan?

Yes, that's indeed my case.

I'm asking that because mongodb has been removed from Debian in Buster and mongodb package name changed, with stretch it was mongodb and now, it's mongodb-org.

OK, for the workaround, may I install mongodb-org?

So maybe wekan upgrade doesn't manage that mongodb dependency name change...

I guess… Do you think it can be easily tested? I don't have much time but if it can be checked in about 1h, I can make that effort.

Florent

from wekan_ynh.

stilobique avatar stilobique commented on June 7, 2024

I'm try your comment @SiM and it's work to me.

from wekan_ynh.

jlnbdt avatar jlnbdt commented on June 7, 2024

Thanks @SiM, it worked for me too :-)

from wekan_ynh.

SiM avatar SiM commented on June 7, 2024

After following the "workaround" described above, If you have a warning on YNH diagnosis system regarding mongodb service (it's the old one, the new one is mongod) :
yunohost service remove mongodb will fix it

from wekan_ynh.

jrd10 avatar jrd10 commented on June 7, 2024

Hum,
I should have come here before opening a post on the YNH forum :(
https://forum.yunohost.org/t/pb-avec-wekan-et-mongodb/14762/3

Thank you for your comment.

Same situation after an update, two days ago.

Try several things mention here. Same problem.

Let me try again... just because I love wekan :).

from wekan_ynh.

jrd10 avatar jrd10 commented on June 7, 2024

Hi,
sorry but the "workaround" does not work for my configuration.

My /etc/apt/trusted.gpg.d/wekan.asc' wasn't not deleted because it doesn't exist is back! :(

Log here: https://paste.yunohost.org/raw/exoqegirec

Log about mongodb: https://paste.yunohost.org/cuqobofuga

Thank you for your time. jrd10

from wekan_ynh.

jrd10 avatar jrd10 commented on June 7, 2024

And always in troubles with MongoDB

Although

Description   MongoDB daemon
Status    running since 1 second ago
Start on boot   Enabled
Configuration   unknown

Diagnosis says: Service mongod is failed :( and make the MongoDB daemon failed!

https://paste.yunohost.org/iheracenac

Fixed by yunohost service remove mongod (and not mongodb)

Thank you for your time.

from wekan_ynh.

nukedone avatar nukedone commented on June 7, 2024

from wekan_ynh.

yalh76 avatar yalh76 commented on June 7, 2024

should be solved for now

from wekan_ynh.

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.