AtoM vagrant box v2.5.0.0 does have AtoM version 2.4.0

30 views
Skip to first unread message

Martin

unread,
May 5, 2020, 2:41:10 AM5/5/20
to AtoM Users
Hi AtoM Users

I just installed the vagrant box artefactual/atom v2.5.0.0 (https://app.vagrantup.com/artefactual/boxes/atom/versions/2.5.0.0) and expected to get AtoM version 2.5.x.

If I go to the global settings at http://127.0.0.1:8000/settings/global I do get: Application version 2.4.0 - 156

Is this correct or do I miss something? How to get AtoM version 2.5.x

Best,
Martin

Dan Gillean

unread,
May 5, 2020, 10:53:17 AM5/5/20
to ICA-AtoM Users
Hi Martin, 

Our Vagrant boxes are expected to be used for development, so we make them track our QA branches (i.e. the development branches). However, after a release is completed, the qa branch is renamed to stable, so the next major release becomes the QA branch - for example, now we've prepared the upcoming 2.5.4 release in stable/2.5.x, but are putting the latest feature development into qa/2.6.x. 

Note: if you have test data in your vagrant box that you wish to keep, make a backup first, and then load the sqldump back in before running the upgrade task (a step covered in the slides linked below). We'll be running the purge task at one point, which will purge all your data! 

Originally, this box was tracking the development branch (qa/2.5.x) but that branch has been deleted. You can easily update your vagrant box, however: First, check out the stable/2.5.x branch:
  • cd atom
  • git checkout stable/2.5.x
  • git pull --rebase
From here, you can follow slides 19 and onwards in the following deck: 
The one difference might be the command to restart PHP-FPM - I can't recall if we have PHP 7.0 or 7.2 in that particular vagrant box (you can try running php -v to check). If the version is PHP 7.2, then you would restart PHP-FPM with the following: 
  • sudo systemctl restart php7.2-fpm
You may also want to double-check the atom-worker configuration file, located at /usr/lib/systemd/system/atom-worker.service, to see if it conforms with the changes we introduced in 2.5 to make the job scheduler more stable - see: 
If you make any changes, be sure to run the rest of the maintenance commands listed on that page. 

Cheers, 

Dan Gillean, MAS, MLIS
AtoM Program Manager
Artefactual Systems, Inc.
604-527-2056
@accesstomemory
he / him


--
You received this message because you are subscribed to the Google Groups "AtoM Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ica-atom-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ica-atom-users/0787ccea-9678-4302-94c6-dbc9b2c35895%40googlegroups.com.

Martin

unread,
May 6, 2020, 10:00:55 AM5/6/20
to AtoM Users
Hi Dan,

thank you very much for answering so quickly. Your answer solved my problem and indeed it was very easy to finally get AtoM version 2.5.x.

Best,
Martin


Am Dienstag, 5. Mai 2020 16:53:17 UTC+2 schrieb Dan Gillean:
Hi Martin, 

Our Vagrant boxes are expected to be used for development, so we make them track our QA branches (i.e. the development branches). However, after a release is completed, the qa branch is renamed to stable, so the next major release becomes the QA branch - for example, now we've prepared the upcoming 2.5.4 release in stable/2.5.x, but are putting the latest feature development into qa/2.6.x. 

Note: if you have test data in your vagrant box that you wish to keep, make a backup first, and then load the sqldump back in before running the upgrade task (a step covered in the slides linked below). We'll be running the purge task at one point, which will purge all your data! 

Originally, this box was tracking the development branch (qa/2.5.x) but that branch has been deleted. You can easily update your vagrant box, however: First, check out the stable/2.5.x branch:
  • cd atom
  • git checkout stable/2.5.x
  • git pull --rebase
From here, you can follow slides 19 and onwards in the following deck: 
The one difference might be the command to restart PHP-FPM - I can't recall if we have PHP 7.0 or 7.2 in that particular vagrant box (you can try running php -v to check). If the version is PHP 7.2, then you would restart PHP-FPM with the following: 
  • sudo systemctl restart php7.2-fpm
You may also want to double-check the atom-worker configuration file, located at /usr/lib/systemd/system/atom-worker.service, to see if it conforms with the changes we introduced in 2.5 to make the job scheduler more stable - see: 
If you make any changes, be sure to run the rest of the maintenance commands listed on that page. 

Cheers, 

Dan Gillean, MAS, MLIS
AtoM Program Manager
Artefactual Systems, Inc.
604-527-2056
@accesstomemory
he / him


On Tue, May 5, 2020 at 2:41 AM Martin <m....@docuteam.ch> wrote:
Hi AtoM Users

I just installed the vagrant box artefactual/atom v2.5.0.0 (https://app.vagrantup.com/artefactual/boxes/atom/versions/2.5.0.0) and expected to get AtoM version 2.5.x.

If I go to the global settings at http://127.0.0.1:8000/settings/global I do get: Application version 2.4.0 - 156

Is this correct or do I miss something? How to get AtoM version 2.5.x

Best,
Martin

--
You received this message because you are subscribed to the Google Groups "AtoM Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ica-ato...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages