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

Next deployment (after 2023-06-28) to openflights.org #1391

Closed
6 of 16 tasks
reedy opened this issue Jul 20, 2023 · 12 comments
Closed
6 of 16 tasks

Next deployment (after 2023-06-28) to openflights.org #1391

reedy opened this issue Jul 20, 2023 · 12 comments
Labels
server Things that likely require server access for deployment

Comments

@reedy
Copy link
Collaborator

reedy commented Jul 20, 2023

Relevant tasks/PR's that may require action for the next deployment to openflights.org.

I believe on 2023-06-28 it was updated to ecf635a.

Changes: ecf635a...master

After #1216 / a70afa1 this will be easier to check in future from the live site.

TODOs:


Other fixes (missing files/crons):


Errors from logs that could do with investigating (or at least, logs posting on tasks):

@reedy reedy added the server Things that likely require server access for deployment label Jul 20, 2023
@reedy reedy pinned this issue Jul 26, 2023
@jpatokal
Copy link
Owner

jpatokal commented Sep 7, 2023

@reedy Are you OK with me doing a deploy from head to prod?

@reedy
Copy link
Collaborator Author

reedy commented Sep 7, 2023

@reedy Are you OK with me doing a deploy from head to prod?

I believe so, yeah.

I'm not going to say 100% everything is going to work right, but...

I think the big things that need doing before upgrading, are as listed in the task description. Just to prevent things failing spectacularly.

Install php7.4-intl and restart service (fpm/nginx) as appropriate.

As long as you update config.php as appropriate (ideally adding $OF_ENABLE_SIGNUP and $OF_DEMO_UID; though the former doesn't have to be added, due to checks in the code, but it'd be nice to remove the isset() checks. Also updating $OF_ADMIN_UID after too).

Happy to try and be around when you do it, if you want. I keep a weird local TZ.

@jpatokal
Copy link
Owner

jpatokal commented Sep 8, 2023

OK, thanks. This sounds involved enough that I'm not going to risk it without access to a proper computer if things go pear-shaped, so I'll put this on hold for two weeks or so.

@jpatokal
Copy link
Owner

Apologies for the massive delay. I have updated the configs, pulled from head, rebooted nginx and done a quick sanity check, and the site seems to work. Only bump in the road: I had to explicitly install php7.4-mbstring as well, not just php7.4-intl. I've followed up on #1314 re: the Github token, AFAICT it has no expiration date.

@reedy
Copy link
Collaborator Author

reedy commented Oct 19, 2023

Bleugh, that's my fault - 39226ef for #1412

Will put it in composer.json.

I honestly can't remember if I already had it installed in my dev vm for one reason ro another...

@reedy
Copy link
Collaborator Author

reedy commented Oct 19, 2023

Hmm, it was already listed in composer.json since before a728c1d (which suggests there was a mb_ call somewhere..).

No big deal at least, easily enough resolved :)

@reedy
Copy link
Collaborator Author

reedy commented Oct 19, 2023

Hmm. First load of the site (existing browser or incognito) I see

Screenshot 2023-10-19 at 11 03 20

Click OK a couple of times, change the locale and we're ok...

Some something to follow up on there

@jpatokal
Copy link
Owner

Works for me(tm) in incognito. Might be a locale issue, which one are you using? en_GB?

@reedy
Copy link
Collaborator Author

reedy commented Oct 19, 2023

It will be trying to use en_GB yeah, but I notice it's not in the drop down (because it won't be in the locales table, which is another issue, and mentioned in the task :))...

Browser console tells all:

Screenshot 2023-10-19 at 12 25 49

Looks like a fallback isn't quite working; and/or the check for null needs to be checking for '' too.

@reedy
Copy link
Collaborator Author

reedy commented Oct 19, 2023

5e3957f and b9b58a7 should take care of this!

@jpatokal
Copy link
Owner

I've done another pull from head to fix the locale issues, which were causing significant pain (#1448).

@jpatokal
Copy link
Owner

@reedy I suggest we close this out and open a new issue for the next bigger release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
server Things that likely require server access for deployment
Projects
None yet
Development

No branches or pull requests

2 participants