-
-
Notifications
You must be signed in to change notification settings - Fork 228
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
Support for Ubuntu 20.04 #1265
Comments
@halkyon We've done a bit of looking into Ubuntu 20.04, and the main issue with it at the moment is that, by default, Ubuntu 20.04 installs MySQL 8, instead of MySQL 5.7 (the default for Ubuntu 16 & 18). Last I checked, there were some compatibility issues between Ghost itself & MySQL 8. Once those compatibility issues are fixed (they may have been fixed already, need to check) and we get any documentation updates done for steps that need to be taken to work on Ubuntu 20, we can look at allowing Ubuntu 20 in the stack check. |
MySQL 8 is in a weird state. There's no official support for it in Node.js yet! You can read my recent summary of the state of it here: TryGhost/Ghost#11625 (comment) The main things from a Ghost CLI perspective are auth (not sure if it's impacted) and the fact that upgrading from 5 -> 8 will cause mixed collations which is definitely not supported and would never be. |
Installing ghost on ubuntu 20.04 works using mariadb and having the database credentials setup before hand (though it doesn't help much with the default setup of ubuntu 20.04 and the ghost install command, but at least the 1-click install in DO and other similar options can be updated and the install docs could mention this caveat. |
I can actually confirm this. |
Apologies for the delayed response on this - gonna shoot to get basic mysql 8 + ubuntu 20 support out in the next release |
refs TryGhost#1265 - refactor mysql extension to use async/await - add separate setup steps for MySQL 8
refs TryGhost#1265 - refactor mysql extension to use async/await - add separate setup steps for MySQL 8
refs TryGhost#1265 - refactor mysql extension to use async/await - add separate setup steps for MySQL 8
refs TryGhost#1265 - refactor mysql extension to use async/await - add separate setup steps for MySQL 8
refs TryGhost#853,TryGhost#1265 - refactor system stack check to use systeminformation to check support - update ubuntu allowed versions to support Ubuntu 20
refs #1265 - refactor mysql extension to use async/await - add separate setup steps for MySQL 8
Support for MySQL 8 + Ubuntu 20.04 LTS has been merged in and will be released as part of Ghost-CLI 1.15.0 |
Released Ghost-CLI 1.15.0 a few minutes ago with Ubuntu 20 compatibility - let me know if you see any issues with it 😄 |
refs TryGhost#1265 - refactor mysql extension to use async/await - add separate setup steps for MySQL 8
I was not able to get Ghost v4 working on MySQL 8 + 20.04, upgrading from v3@latest. I tried attaching to an existing database and I got this error during the migrations https://forum.ghost.org/t/upgrading-v4-10-2-to-v4-11-0-error/24903/4 . Then I tried a fresh Ghost install with a fresh database, using the root user and a password. It was fine, but when I tried to import my blog contents it showed an error related to nested objects, the output was just [Object object]. On v3 for now, but I would like to upgrade in the future. |
Ubuntu 20.04 is available now, but the stack check when installing Ghost is requiring Ubuntu 16 or 18 specifically.
I've worked around it using
--no-stack
for now.Doesn't look like any issues with Ubuntu 20.04, but I haven't done an exhaustive check.
The text was updated successfully, but these errors were encountered: