-
Notifications
You must be signed in to change notification settings - Fork 394
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
Comments
@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 As long as you update Happy to try and be around when you do it, if you want. I keep a weird local TZ. |
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. |
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 |
Hmm, it was already listed in No big deal at least, easily enough resolved :) |
Works for me(tm) in incognito. Might be a locale issue, which one are you using? |
It will be trying to use Browser console tells all: Looks like a fallback isn't quite working; and/or the check for |
I've done another pull from head to fix the locale issues, which were causing significant pain (#1448). |
@reedy I suggest we close this out and open a new issue for the next bigger release. |
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.
php7.4-intl
needs installing (and then nginx/fpm restarts as appropriate)config.php
to replace$OF_ADMIN_UID = 3;
with$OF_ADMIN_UID = [ 3 ];
config.php
to add$OF_ENABLE_SIGNUP = true;
config.php
to add$OF_DEMO_UID = 1;
$OF_VBULLETIN_LOGIN
from config.php$GITHUB_ACCESS_TOKEN
if it's expired (it might not be, just the previous code update was rubbish in c03f720).openflights-bot
user (or similar), and create a token on that account.config.php
when the token is due to expire; as the newer token style only last a year.TODOs:
en_GB
locale tolocale
tablelocale
table easier; don't just want to runsql/load-data.sql
. Split locale stuff into a new/separate/extra file so it can be run separately?route
table. Data updated2023-03-22
.schedule
table schema to import-vrs.py refers to schedules table which isn't in create.sql #1408tools/update-arm.sh
sql/import-arm.sql
data/routes.dat
Other fixes (missing files/crons):
sql/top10.sql
and add/fix cron jobsql/update-demo.sql
and add/fix cron jobErrors from logs that could do with investigating (or at least, logs posting on tasks):
The text was updated successfully, but these errors were encountered: