`mongo` binary appears to be missing from the Cloudron base image 4.0.0
-
Steps to reproduce:
- Open web terminal for app that uses MongoDB
- Example Wekan
- Click the
MongoDB
button- This will insert the command
mongo -u "${CLOUDRON_MONGODB_USERNAME}" -p "${CLOUDRON_MONGODB_PASSWORD}" ${CLOUDRON_MONGODB_HOST}:${CLOUDRON_MONGODB_PORT}/${CLOUDRON_MONGODB_DATABASE}
into the terminal
- This will insert the command
- Press
Enter
- This results in the error message
bash: mongo: command not found
This occurs with the latest version of wekan which has the new
Cloudron base image to 4.0.0
.I am guessing that the
mongo
binary is not present in the 4.0.0 base image.I have confirmed that the first version of Paperless-NGX with the 4.0.0 base image is also missing the
mongo
binary.Currently this is causing cron jobs which use this binary to now fail when they would have succeeded in the past.
- Open web terminal for app that uses MongoDB
-
@subven Gotcha, working on using
mongosh
instead now.If this is now the correct way to access Mongo then the
MongoDB
button in the webterminal needs to be updated to use that as currently when clicked it still tries to usemongo
. -
@ChristopherMag said in `mongo` binary appears to be missing from the Cloudron base image 4.0.0:
to access Mongo then the MongoDB button in the webterminal needs to be updated
Thats a fair point and should be added to the todo list ^^
-
-
-
@nebulon Do I need to make a second post or add this somewhere else to get the
MongoDB
button in the web terminal fixed? -
@ChristopherMag I will fix it up now for the next release. We were kinda aware of this already, but wanted the last release out sooner rather than later.