Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 22 [BREAKING] #18

Closed
5 tasks done
sparkpunkd opened this issue May 29, 2020 · 4 comments
Closed
5 tasks done

Release 22 [BREAKING] #18

sparkpunkd opened this issue May 29, 2020 · 4 comments

Comments

@sparkpunkd
Copy link
Contributor

sparkpunkd commented May 29, 2020

In the Sofie-project at NRK we work in sprints, generally 2-3 weeks long and we'll communicate the status of each release here. The releases are also documented here.

Note: This issue is subject to change and will be updated as development progresses.

The contents of this release is not planned yet, more updates will follow.

Development status

Testing is expected to start 2020-06-15.

  • Planning
  • Working on
  • Features frozen, in testing.
  • Tests complete, update docs
  • Released

Summary of features

This release features an update of the Meteor platform, from 1.6 to 1.10, which is a large jump ahead. This requires mongodb to be updated, from the old 3.6 to 4.2. Update instructions are posted below.

To be announced

Expected versions of components:

Component Expected version
Core 1.10.0
Blueprints API ( Core ) TBD
Blueprints API ( TSR ) 4.0.0
Playout Gateway 1.9.0
Mos Gateway 1.4.x
Spreadsheet Gateway -
Media Manager 1.2.0
@nytamin nytamin changed the title Release 22 Release 22 [BREAKING] Jun 16, 2020
@nytamin
Copy link
Contributor

nytamin commented Jun 16, 2020

Regarding updating mongodb:
This is the script that NRK used for updating mongodb from 3.6 to 4.2, to draw inspiration from:

#!/bin/bash
docker stop mongo
docker rm mongo
docker run --network sofie --name=mongo --hostname=mongodb --volume=/opt/mongo/db:/data/db --volume=/opt/mongo/backup:/data/backup --volume=/etc/timezone:/etc/timezone:ro -p 127.0.0.1:27017:27017 --detach=true mongo:3.6.18 mongod --replSet rs0
sleep 5
docker exec -it mongo mongo --eval  'db.adminCommand( { setFeatureCompatibilityVersion: "3.6" } )'
docker stop mongo
docker rm mongo
docker run --network sofie --name=mongo --hostname=mongodb --volume=/opt/mongo/db:/data/db --volume=/opt/mongo/backup:/data/backup --volume=/etc/timezone:/etc/timezone:ro -p 127.0.0.1:27017:27017 --detach=true mongo:4.0.18 mongod --replSet rs0
sleep 5
docker exec -it mongo mongo --eval  'db.adminCommand( { setFeatureCompatibilityVersion: "4.0" } )'
docker stop mongo
docker rm mongo
docker run --network sofie --name=mongo --hostname=mongodb --volume=/opt/mongo/db:/data/db --volume=/opt/mongo/backup:/data/backup --volume=/etc/timezone:/etc/timezone:ro -p 127.0.0.1:27017:27017 --detach=true mongo:4.2.7 mongod --replSet rs0
sleep 5
docker exec -it mongo mongo --eval  'db.adminCommand( { setFeatureCompatibilityVersion: "4.2" } )'

@jesperstarkar
Copy link
Contributor

I don't know if it's this script, but something regarding the upgrade has a flaw where autorestart on server reboot i broken.

@Julusian
Copy link
Member

@jesperstarkar The last docker run ... probably just needs --restart always added into it. Or possibly some other mode, depending on what was previously used

@jesperstarkar
Copy link
Contributor

Sounds likely since the manual patch is to run "docker update --restart=always mongo"

@nytamin nytamin mentioned this issue Aug 17, 2020
5 tasks
@nytamin nytamin pinned this issue Aug 17, 2020
@nytamin nytamin unpinned this issue Sep 29, 2020
@jstarpl jstarpl removed the ! Stable label Sep 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants