Comments (16)
Same problem here on several servers.
I found a "workaround" after some tries (
(I consider starting after a failed wekan upgrade)
-
Purge old mongodb data (
⚠️ do a backup before and make sure wekan is the only app to use mongoDB)
rm -rf /var/lib/mongodb
-
Install mongodb (cf. https://docs.mongodb.com/manual/tutorial/install-mongodb-on-debian/) :
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 ; typeyunohost 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.
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.
the same error here. Seems that the instance cannot connect to MongoDB
from wekan_ynh.
Do you have other apps using Mongodb?
What is ?
$ mongo --version
You should try fixing packages by:
$ apt --fix-broken install
from wekan_ynh.
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.
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.
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.
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.
I'm try your comment @SiM and it's work to me.
from wekan_ynh.
Thanks @SiM, it worked for me too :-)
from wekan_ynh.
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.
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.
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.
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.
from wekan_ynh.
should be solved for now
from wekan_ynh.
Related Issues (20)
- Login problem HOT 7
- Installation failure HOT 3
- wekan canno't start since upgrade. HOT 8
- The smtp configuration parameters in the admin are gone after upgrading to 5.17.0 HOT 4
- Add wekan-ical-server HOT 3
- Installation failed HOT 3
- Cannot create an account HOT 1
- Installation impossible sur Raspberry Pi 4 8G, avec version Raspbian 64bit HOT 4
- Mongodb down ater upgrading wekan app HOT 9
- GUI is down after wekan upgrade HOT 7
- Service Wekan don't start after upgrade HOT 1
- Wekan Ldap Users Vs Password User Permissions HOT 1
- Installation fails
- Cannot use REST API HOT 2
- Searching for members in cards doesn't work HOT 4
- Problemes connecting issues HOT 3
- Backup script: clean error output
- Wrong email address, cannot change HOT 5
- Cannot test SMTP connection HOT 1
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_ynh.