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

Upgrade Ruby from 2.6.6 to 2.7.x #488

Closed
CSCSxx opened this issue Feb 9, 2022 · 18 comments
Closed

Upgrade Ruby from 2.6.6 to 2.7.x #488

CSCSxx opened this issue Feb 9, 2022 · 18 comments

Comments

@CSCSxx
Copy link

CSCSxx commented Feb 9, 2022

Unfortunately, I can't do the upgrade myself within my Dockerfile because I'm using it on a Synology NAS and can't really access the core from the outside.
But I also think in general that it makes sense to close the known security gaps in this way

@frank-dspeed
Copy link
Collaborator

Synology ships with this?

@jcormier
Copy link
Collaborator

jcormier commented Feb 9, 2022

Doesn't look like an upgraded Ruby 2.6.9 package has been released yet. https://launchpad.net/%7Ebrightbox/+archive/ubuntu/ruby-ng/+index?batch=75&memo=75&start=75

However according to Ruby, the maintenance for 2.6 is ending next month, so probably better to move to Ruby 2.7.2+ since thats the latest version that redmine 4.2 supports.
https://www.redmine.org/projects/redmine/wiki/RedmineInstall

@jcormier
Copy link
Collaborator

jcormier commented Feb 9, 2022

Synology ships with this?

Someone must have created a package for it. Its been in their package manager for years now.

@jcormier
Copy link
Collaborator

jcormier commented Feb 9, 2022

Pushed release 4.2.3-1

@sameersbn Build needs to be kicked off

@sameersbn
Copy link
Owner

done!

@CSCSxx
Copy link
Author

CSCSxx commented Feb 10, 2022

Hi there,
yes it works on Synology. But not directly shipped from them. You can install Docker and then get the dockerfile from the docker sourcepool.
Actually there are known problems in Redmine with custom fields under ruby 2.7.x! It will be fixed in 4.1.6 and 4.2.4
Thanks and greetings

@jcormier
Copy link
Collaborator

Actually there are known problems in Redmine with custom fields under ruby 2.7.x! It will be fixed in 4.1.6 and 4.2.4

Well thats annoying, I checked https://www.redmine.org/projects/redmine/wiki/RedmineInstall which only mentions avoiding 2.7.0/2.7.1

Found your issue. https://www.redmine.org/issues/36584

Seems like we should revert this change until 4.2.4 is released...

jcormier added a commit that referenced this issue Feb 15, 2022
Issue: #488 Known issue with Ruby 2.7, revert to 2.6 until fix is released

This reverts commit 95d9ebf.
@jcormier
Copy link
Collaborator

Posted 4.2.3-2 that reverts back to Ruby 2.6.6. Hopefully redmine 4.2.4 will fix the issue with Ruby 2.7

@CSCSxx
Copy link
Author

CSCSxx commented Feb 16, 2022

I hope also ;)

@CSCSxx CSCSxx closed this as completed Feb 16, 2022
@jcormier jcormier reopened this Feb 16, 2022
@jcormier
Copy link
Collaborator

Should leave this open since its not actually resolved yet

@jcormier jcormier changed the title Upgrade Ruby from 2.6.6 to 2.6.9 Upgrade Ruby from 2.6.6 to 2.7.x Feb 16, 2022
@jcormier
Copy link
Collaborator

Redmine 4.2.4 has been released. Will update docker image

https://www.redmine.org/projects/redmine/wiki/Changelog_4_2

@jcormier
Copy link
Collaborator

Well, i guess not quite yet, they posted the changelog but haven't uploaded the 4.2.4 tarball.

@CSCSxx
Copy link
Author

CSCSxx commented Feb 24, 2022

Now, it is released

@jcormier
Copy link
Collaborator

So not sure whats happening over there but who ever did the release attached it to the Downloads wiki page instead of uploading it to the normal releases url. https://www.redmine.org/releases/.

So our standard download link doesn't work. Posted an issue to redmine.org, perhaps they are having some server issues and this is a temporary situation.
https://www.redmine.org/issues/36703

@CSCSxx
Copy link
Author

CSCSxx commented Mar 8, 2022

Now, it should be online...

@jcormier
Copy link
Collaborator

jcormier commented Mar 8, 2022 via email

@jcormier
Copy link
Collaborator

jcormier commented Mar 8, 2022

Just pushed 4.2.4 and 4.1.6. However, looks like only "lastest" build got triggered.

@jcormier
Copy link
Collaborator

Tags 4.2, 4.2.4, and 4.1.6-r2 have been pushed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants