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

Upgrade Path to osm-tasking-manager2 #250

Open
schnuerle opened this issue Apr 10, 2015 · 14 comments
Open

Upgrade Path to osm-tasking-manager2 #250

schnuerle opened this issue Apr 10, 2015 · 14 comments

Comments

@schnuerle
Copy link

Is there a good resource for how to upgrade an installation of osm-tasking-manager to osm-tasking-manager2?

There is some interest at https://lists.openstreetmap.org/pipermail/imports-us to upgrade the US Import installation at http://tasks.openstreetmap.us/ (which is still heavily used) to version 2, but I'm not sure the admins know the best way to do this.

While I have your attention... Does V2 allow for arbitrary polygon areas, like this task? http://tasks.openstreetmap.us/job/50

Thanks.

@pgiraud
Copy link
Contributor

pgiraud commented Apr 11, 2015

Hey!

I can certainly help with the migration. I did the migration once for HOT. I have a quick and ugly script to automate the migration. https://github.com/pgiraud/osmtm_v1_migration
You will still need my help though since I'm not sure it'll work the first time.
The best option is probably the following one: if there's no private data, an admin can send me the last version of the v1 database. It's as simple as sending me the OSMTM.db file. I'll run the script with this file to see where I get to.

And yes, the V2 can work with arbitrary areas.

@iandees
Copy link

iandees commented Apr 11, 2015

@pgiraud very cool! I'll send you the sqlite db to the e-mail in your github profile.

@schnuerle
Copy link
Author

Hey nice stuff you two! I'll reply back on the [import-us] mailing list so others can see.

@schnuerle
Copy link
Author

Has this upgrade happened, and if so is there a new link for the US Task Manager? I'd like to 1) review the progress of our Louisville import and 2) start a new import task.

The site http://tasks.openstreetmap.us/ now gets a Bad Gateway error.

Thanks.

@pgiraud
Copy link
Contributor

pgiraud commented Sep 1, 2015

As far as I know, the migration never happened.

@iandees
Copy link

iandees commented Sep 1, 2015

The migration didn't happen and the disk that held the database died. I haven't been able to replace it since. I'm planning on setting it up this week, though.

I imagine we'll have to start with a fresh, empty Task Manager database.

@schnuerle
Copy link
Author

Thanks for the quick replies. Sorry to hear about the loss of data and all your troubles!

I hope some people in the middle of imports weren't affected too much. Our import was completed in May but I'm going to present it at Code for America's annual summit at the end of the month and wanted to show it off. But I've got some screen caps anyway.

When you set it up this weekend, can you configure it as osm-tasking-manager2? No data migration needed!

@iandees
Copy link

iandees commented Sep 1, 2015

Yep, my plan is to use the new tasking manager code.

@severinmenard
Copy link

Is it why all the instructions in French for
http://tasks.hotosm.org/project/108 vanished?
I hope there is a way to get this back, considering the hours it takes to
translate.

Sincerely,

Severin

On Tue, Sep 1, 2015 at 12:07 PM, Ian Dees [email protected] wrote:

The migration didn't happen and the disk that held the database died. I
haven't been able to replace is since. I'm planning on setting it up this
week, though.

I imagine we'll have to start with a fresh, empty Task Manager database.


Reply to this email directly or view it on GitHub
#250 (comment)
.

@iandees
Copy link

iandees commented Sep 1, 2015

No, tasks.hotosm.org has nothing to do with tasks.openstreetmap.us.

@severinmenard
Copy link

Ah sorry, I did not see it was about the US instance

On Tue, Sep 1, 2015 at 2:03 PM, Ian Dees [email protected] wrote:

No, tasks.hotosm.org has nothing to do with tasks.openstreetmap.us.


Reply to this email directly or view it on GitHub
#250 (comment)
.

@schnuerle
Copy link
Author

Hey Ian, have you made any progress on the install? The Code for America Summit is in 2 weeks and I'm presenting how local devs can import open data for their city, similar to what we did for Louisville: http://www.civicdataalliance.org/gis-open-data-american-printing-house-open-street-map/

I'd love to be able to show them the new Task Manager site and have at least one real task setup to demo. Thanks a lot.

@iandees
Copy link

iandees commented Sep 14, 2015

I ran into several issues with dependencies and finally got them fixed last
night. I still need to get the WSGI server running and redirected, etc.

On Mon, Sep 14, 2015 at 9:47 AM, Michael Schnuerle <[email protected]

wrote:

Hey Ian, have you made any progress on the install? The Code for America
Summit is in 2 weeks and I'm presenting how local devs can import open data
for their city, similar to what we did for Louisville:
http://www.civicdataalliance.org/gis-open-data-american-printing-house-open-street-map/

I'd love to be able to show them the site and have at least one real task
setup to demo. Thanks a lot.


Reply to this email directly or view it on GitHub
#250 (comment)
.

@iandees
Copy link

iandees commented Sep 15, 2015

I think I have it running on tasks.openstreetmap.us. If you're interested,
please give it a shot.

On Mon, Sep 14, 2015 at 10:01 AM, Ian Dees [email protected] wrote:

I ran into several issues with dependencies and finally got them fixed
last night. I still need to get the WSGI server running and redirected, etc.

On Mon, Sep 14, 2015 at 9:47 AM, Michael Schnuerle <
[email protected]> wrote:

Hey Ian, have you made any progress on the install? The Code for America
Summit is in 2 weeks and I'm presenting how local devs can import open data
for their city, similar to what we did for Louisville:
http://www.civicdataalliance.org/gis-open-data-american-printing-house-open-street-map/

I'd love to be able to show them the site and have at least one real task
setup to demo. Thanks a lot.


Reply to this email directly or view it on GitHub
#250 (comment)
.

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

No branches or pull requests

4 participants