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

Running "git pull" can mess up a very recently installed Map Pack [OSM] #1738

Closed
holta opened this issue Jun 14, 2019 · 3 comments
Closed

Running "git pull" can mess up a very recently installed Map Pack [OSM] #1738

holta opened this issue Jun 14, 2019 · 3 comments
Milestone

Comments

@holta
Copy link
Member

holta commented Jun 14, 2019

Implementer views this as bug, so I'm labeling this as a bug for now.

Anyway: quite unfortunate that a map pack just installed last week for Ghana was rendered inaccessible, apparently as a result of running this very common pre-flight recipe:

cd /opt/iiab/iiab
git pull
./iiab-install --reinstall

cd /opt/iiab/iiab-admin-console
git pull
./install

The error message when clicking from http://box to http://box/osm-vector-maps/en-osm-omt_africa_2017-07-03_v0.23/ was:

Not Found
The requested URL /osm-vector-maps/en-osm-omt_africa_2017-07-03_v0.23/ was not found on this server.

Apache/2.4.25 (Raspbian) Server at 10.8.0.38 Port 80

Can we consider better protecting maps that have very recently been downloaded?

Or if that's not possible, at least provide a clean error message in Plain English, explaining what options the implementer has to recover — e.g. perhaps delete /library/www/osm-vector-maps/en-osm-omt_africa_2017-07-03_v0.2 and/or whatever else is advisable?

(What is advisable, even if we just have to document this in http://FAQ.IIAB.IO for now?)

In any case, let's find ways to support & reward IIAB's most conscientious implementers & testers — dedicated people who set up their IIAB machines 1-2 months pre-flight, judiciously curating & fine-tuning content/software — during those essential weeks prior to field deployment/installation~

Closely Related: #1612 #1707 iiab/iiab-admin-console#211

@holta holta added this to the 7.0 milestone Jun 14, 2019
@holta holta changed the title Running "git pull" can mess up a very recently installed Map Pack Running "git pull" can mess up a very recently installed Map Pack [OSM] Jun 14, 2019
@holta
Copy link
Member Author

holta commented Jun 15, 2019

@georgejhunt & @tim-moody are helping work this out.

For IIAB 7.0, we just need very clean/actionable documentation, so implementers know exactly where to turn.

For IIAB 7 1, the answer likely lies among the map catalog / "subscription" ideas being discussed here:

#877
#1605
#1612
#1707
#1710
#1711
#1720
#1726
#1728
#1739

@holta
Copy link
Member Author

holta commented Jun 18, 2019

Possibly related:

PR iiab/iiab-admin-console#211 "Download if filename is changed"

@holta
Copy link
Member Author

holta commented Jun 20, 2019

Let's declare this documented workaround sufficient for IIAB 7.0:
https://github.com/iiab/iiab/wiki/IIAB-Maps#how-do-i-upgrade-an-iiab-map-pack

@holta holta closed this as completed Jun 20, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant