I don’t know that this actually matters, but I’m just giving a heads up incase it does (possibly just something needs a minor tweak)
MongoDB server version: 4.0.25
{
“ok” : 0,
“errmsg” : “Invalid command argument. Expected ‘4.0’ or ‘3.6’, found 4.0.25 in: { setFeatureCompatibilityVersion: "4.0.25", lsid: { id: UUID("557b1409-68b1-4714-bcc6-0dc5d99a48e5") }, $db: "admin" }. See http://dochub.mongodb.org/core/4.0-feature-compatibility.”,
“code” : 2,
“codeName” : “BadValue”
}
Full log:
tutor@ip:~/tutor$ tutor local upgrade --from=koa
You are about to upgrade your Open edX platform. It is strongly recommended to make a backup before upgrading. To do so, run:tutor local stop sudo rsync -avr "$(tutor config printroot)"/ /tmp/tutor-backup/
In case of problem, to restore your backup you will then have to run: sudo rsync -avr /tmp/tutor-backup/ “$(tutor config printroot)”/
Are you sure you want to continue? [Y/n]
Upgrading MongoDb to v4.0.25
============================================
Environment generated in /home/tutor/.local/share/tutor/env
docker-compose -f /home/tutor/.local/share/tutor/env/local/docker-compose.yml -f /home/tutor/.local/share/tutor/env/local/docker-compose.prod.yml --project-name tutor_local build
elasticsearch uses an image, skipping
mongodb uses an image, skipping
forum uses an image, skipping
mysql uses an image, skipping
caddy uses an image, skipping
redis uses an image, skipping
smtp uses an image, skipping
lms uses an image, skipping
cms uses an image, skipping
cms-worker uses an image, skipping
nginx uses an image, skipping
lms-worker uses an image, skipping
docker-compose -f /home/tutor/.local/share/tutor/env/local/docker-compose.yml -f /home/tutor/.local/share/tutor/env/local/docker-compose.prod.yml --project-name tutor_local up --remove-orphans -d mongodb
tutor_local_mongodb_1 is up-to-date
docker-compose -f /home/tutor/.local/share/tutor/env/local/docker-compose.yml -f /home/tutor/.local/share/tutor/env/local/docker-compose.prod.yml --project-name tutor_local exec mongodb mongo --eval db.adminCommand({ setFeatureCompatibilityVersion: “4.0.25” })
MongoDB shell version v4.0.25
connecting to: mongodb://127.0.0.1:27017/?gssapiServiceName=mongodb
Implicit session: session { “id” : UUID(“557b1409-68b1-4714-bcc6-0dc5d99a48e5”) }
MongoDB server version: 4.0.25
{
“ok” : 0,
“errmsg” : “Invalid command argument. Expected ‘4.0’ or ‘3.6’, found 4.0.25 in: { setFeatureCompatibilityVersion: "4.0.25", lsid: { id: UUID("557b1409-68b1-4714-bcc6-0dc5d99a48e5") }, $db: "admin" }. See http://dochub.mongodb.org/core/4.0-feature-compatibility.”,
“code” : 2,
“codeName” : “BadValue”
}
docker-compose -f /home/tutor/.local/share/tutor/env/local/docker-compose.yml -f /home/tutor/.local/share/tutor/env/local/docker-compose.prod.yml --project-name tutor_local stop
Stopping tutor_local_mongodb_1 … done
Stopping tutor_local_nginx_1 … done
Stopping tutor_local_cms-worker_1 … done
Stopping tutor_local_cms_1 … done
Stopping tutor_local_lms-worker_1 … done
Stopping tutor_local_lms_1 … done
Stopping tutor_local_forum_1 … done
Stopping tutor_local_mysql_1 … done
Stopping tutor_local_elasticsearch_1 … done
Stopping tutor_local_caddy_1 … done
Stopping tutor_local_smtp_1 … done
Stopping tutor_local_redis_1 … done