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

Halle (Saale) failed update ? #173

Closed
jbelien opened this issue Apr 24, 2021 · 10 comments
Closed

Halle (Saale) failed update ? #173

jbelien opened this issue Apr 24, 2021 · 10 comments

Comments

@jbelien
Copy link
Member

jbelien commented Apr 24, 2021

Jonathan,

last week I did add a lot of adding wikidata information. BUT, i coudn't await the update on Thusday, i cant see the newly added street information on
https://halle-saale.equalstreetnames.eu/

What went wrong?

Greetings
Heinz

Originally posted by @hjoertel in #167 (comment)

@jbelien
Copy link
Member Author

jbelien commented Apr 24, 2021

Hello @hjoertel ,

The data update happened correctly on Thursday 22/04 (see EqualStreetNames/equalstreetnames-halle-saale@7d3afab).

The deployment process also happened correctly on Thursday but for a reason that I can't explain it didn't used the latest data.
I've run the deployment process again and it's now fixed.

I'll keep the issue open until (at least) next week to see if everything happens correctly next Thursday on the next automated process run.

@jbelien jbelien changed the title Halle (Saale) update Halle (Saale) failed update ? Apr 24, 2021
@hjoertel
Copy link

hjoertel commented Apr 24, 2021 via email

jbelien added a commit to EqualStreetNames/equalstreetnames-halle-saale that referenced this issue Apr 24, 2021
Add German to languages in the process.
Related to EqualStreetNames/equalstreetnames#173 (comment)
@jbelien
Copy link
Member Author

jbelien commented Apr 24, 2021

May be we have another issue. I selected German
https://halle-saale.equalstreetnames.eu/de/
but the pop-up window when a street is selected, displays the English entry

You forgot to add German in the languages used by the process in your config.php.

- 'languages' => ['en'],
+ 'languages' => ['de', 'en'],

I have made the update (the process is currently running).

@jbelien
Copy link
Member Author

jbelien commented Apr 24, 2021

Data update has completed and the automated deployment succeeded. ✅

@jbelien jbelien closed this as completed Apr 24, 2021
@hjoertel
Copy link

hjoertel commented Apr 24, 2021 via email

@RobinLinde
Copy link
Member

RobinLinde commented Apr 29, 2021

@jbelien
I think I'm seeing some similar problems for Assen. It looks like something like this is happening:

  1. Data is updated and committed to city repo
  2. Tries to update submodule, but fails because local version is out of date because another workflow pushed something.
  3. Deploy and build is triggered and uses the old version of the submodule that is still referenced

A fix might be to pull the main repo just before pushing in the workflow. Another option might be to change the scheduled times.

@jbelien jbelien reopened this Apr 29, 2021
@jbelien
Copy link
Member Author

jbelien commented Apr 29, 2021

For reference: https://github.com/EqualStreetNames/equalstreetnames-assen/runs/2462988471?check_suite_focus=true#step:12:8

I also had the same issue for cities in Belgium.

I use the ad-m/github-push-action GItHub Action and it's indeed already a feature request (see ad-m/github-push-action#84).

There is already a git pull in the process before the push (see update-data.yml#L76).
We could indeed add another git pull after the commit but even though it will probably reduce the number of time this issue happens, I don't think it will fix it.

While waiting it's implemented in ad-m/github-push-action, I suggest to set a "update calendar" for each city so 2 cities don't run at the same time.

Something like:

  • Brusssels, Monday 1:00AM
  • Braine-l'Alleud, Monday 2:00AM
  • Brugge, Monday 2:30AM
  • Gent, Monday 3:00AM
  • Leuven, Monday 3:30AM
  • Liège, Monday 4:00AM
  • Mons, Monday 4:30AM
  • Namur, Monday 5:00AM
  • Nivelles, Monday 5:30AM
  • Berlin, Tuesday 1:00AM
  • Freising, Tuesday 1:30AM
  • Halle (Saale), Tuesday 2:00AM
  • Leipzig, Tuesday 2:30AM
  • Munich, Tuesday 3:00AM
  • Assen, Wednesday 1:00AM
  • Groningen, Wednesday 1:30AM
  • Belgrade, Thursday 1:00AM
  • Bern, Friday 1:00AM

Since the process doesn't take more than 30 minutes, that should avoid the issue.
What do you think ?

@RobinLinde
Copy link
Member

Seems like a good solution for now, we could also create our own fork of ad-m/github-push-action and implement it. Doesn't seem like something that would be too hard.

jbelien added a commit to EqualStreetNames/equalstreetnames-brugge that referenced this issue May 1, 2021
jbelien added a commit to EqualStreetNames/equalstreetnames-gent that referenced this issue May 1, 2021
jbelien added a commit to EqualStreetNames/equalstreetnames-leuven that referenced this issue May 1, 2021
jbelien added a commit to EqualStreetNames/equalstreetnames-liege that referenced this issue May 1, 2021
jbelien added a commit to EqualStreetNames/equalstreetnames-mons that referenced this issue May 1, 2021
jbelien added a commit to EqualStreetNames/equalstreetnames-namur that referenced this issue May 1, 2021
jbelien added a commit to EqualStreetNames/equalstreetnames-nivelles that referenced this issue May 1, 2021
jbelien added a commit to EqualStreetNames/equalstreetnames-berlin that referenced this issue May 1, 2021
jbelien added a commit to EqualStreetNames/equalstreetnames-freising that referenced this issue May 1, 2021
jbelien added a commit to EqualStreetNames/equalstreetnames-halle-saale that referenced this issue May 1, 2021
jbelien added a commit to EqualStreetNames/equalstreetnames-leipzig that referenced this issue May 1, 2021
jbelien added a commit to EqualStreetNames/equalstreetnames-munich that referenced this issue May 1, 2021
jbelien added a commit to EqualStreetNames/equalstreetnames-assen that referenced this issue May 1, 2021
jbelien added a commit to EqualStreetNames/equalstreetnames-groningen that referenced this issue May 1, 2021
jbelien added a commit to EqualStreetNames/equalstreetnames-bern that referenced this issue May 1, 2021
@jbelien
Copy link
Member Author

jbelien commented May 7, 2021

I think we're back on track, all cities have successfully been updated this week.

@jbelien jbelien closed this as completed May 7, 2021
@hjoertel
Copy link

hjoertel commented May 7, 2021 via email

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

No branches or pull requests

3 participants