-
Notifications
You must be signed in to change notification settings - Fork 76
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
[OSM] Failed to install/reinstall OpenStreetMap on iiab 7.2 version via ./runrole #3064
Comments
Thanks @boholder for the report! @georgejhunt do you have time to look into this today or in coming days possibly? |
|
If you need me to provide more informations, feel free to mention me. The outputs of the OSM installation script shows that maybe I haven't installed the OSM correctly so I don't know why it is a potential admin console issue. |
@boholder as a side comment (and general FYI for everyone!) please use the new http://FAQ.IIAB.IO going forward. It is now hosted here: |
Rerun in Thanks for the information! |
Thanks @boholder for http://sprunge.us/Uvv2G9?en Please also consider a completely fresh install of the latest pre-release of IIAB 7.2 (as your original install appears to have been about 3 months ago, in September) if you can? Thanks for reporting back what you discover! |
The OSM works well after performing installation of pre-release of IIAB 7.2 (via one-line install script). 😄 |
Thanks @boholder for your reports! PS do you happen to have a Raspberry Pi available? If so, you can also try a much faster way to install IIAB — that also works well for those wanting to avoid the Command-Line: https://github.com/iiab/iiab/wiki/Raspberry-Pi-Images:-Summary |
This comment has been minimized.
This comment has been minimized.
how were you able to install iiab without an internet connection? also we don't usually run scripts out of the ansible repo. they could contain variables that only get substituted during installation |
This comment was marked as outdated.
This comment was marked as outdated.
My concern is not disrespect. I appreciate your enthusiasm and interest in fiddling with IIAB. My concern is that your tutorial contains misinformation based on reverse engineering and an assumption that Admin Console runs scripts from /opt/iiab/iiab-admin-console/roles/cmdsrv/files. It doesn't. These are also not published scripts so they could get changed at any time. So while this worked for you it might not work for others. |
You are right, I broke the encapsulation. I've hidden that comment. Thank you for pointing out that. |
@boholder here's an IIAB reference doc that I'll try to update (with others' help) in coming weeks: https://github.com/iiab/iiab/wiki/IIAB-Maps It's about a year-old so not everything is gospel truth as the sands of time pass — but just FYI, as yes looking under the hood is sometimes necessary — e.g. if this general topic of helping communities customize the offline OpenStreetMap "packs" they most need...is of interest to you! |
Expected behavior and actual behavior:
After installed iiab (the "large(? that allows OSM to be installed)" install option), go to
box.lan/admin
->Install Content
->Get Map Regions
orGet Map Addons
, there are only "MAPS NOT INSTALLED OR NOT ENABLED" text and no map select check box on the left side.Then I found
Configuration
->Services Enabled
has an enable config for OSM, so I checked it on and restart the box via admin panel.But still I can't access OSM after reboot, so I assumed that the OSM installation is failed. I searched the method that reinstall OSM, and found issue #2370 :
./runrole --reinstall osm-vector-maps
.Running
./runrole --reinstall osm-vector-maps
will outputRunning
./runrole osm-vector-maps
will outputNow... maybe my real question is: is there any other way to reinstall the OSM alone?
BTW, my network isn't stable and run
./iiab-install --reinstall
will output some network-related errors (see here), so another trickier possibility is that some files is crushed or even not exist in right position.Big thank to hardworking maintainers.
IIAB version, OS version, hardware details:
IIAB: 7.2, Debian 11 amd64 (bullseye) (in virtualbox), host is Windows10
Please run the
iiab-diagnostics
command, to generate a URL summarizing your IIAB configuration, for volunteers seeking to help you: (Include that short URL here, Thanks!)https://pastebin.com/Yqf4PxAL
The text was updated successfully, but these errors were encountered: