Maps: Download enable fails

Created on 15 Oct 2020  路  15Comments  路  Source: nextcloud/maps

Attempting to "download and enable" Maps from the Apps list fails with the following:
Column name "oc_maps_address_geo"."object_uri" is NotNull, but has empty string or null as default.

Screenshot_2020-10-15 Apps - Nextcloud

Most helpful comment

I get the same error with Nextcloud 19.0.4 and version 0.1.6 for the app.

All 15 comments

@eneiluj didn't we fix this?

Which version of map do you try to install and which Nextcloud version are you running?

Fixed For NC 20 in #453

I get the same error with Nextcloud 19.0.4 and version 0.1.6 for the app.

Same here for nc 19.0.4.

I did a Nextcloud installation using snap which is only letting me install v19 at the moment. I then tried to add the Maps app via the "app store" as seen in the little screenshot.On 15 Oct 2020 11:25, Arne Hamann notifications@github.com wrote:
Which version of map do you try to install and which Nextcloud version are you running?

鈥擸ou are receiving this because you authored the thread.Reply to this email directly, view it on GitHub, or unsubscribe.

Same here for nc 19.0.4.

I ran into this problem when switching to a Postres database (NC 19.0.4). Looking through the migrations, I noticed a couple of other potentially offending entries (judging by the error message):

https://github.com/nextcloud/maps/blob/2dae947bf3b0fee2668fd29cf80bfc5889924cb0/lib/Migration/Version000012Date20190722184716.php#L49-L63

Just encountered this. Is there a workaround for those of us who aren't on NC 20 yet?

19.0.4 same issue encountered.

For nc 19.0.4 you may apply the patch from #453 manually or edit the two migrations by hand after download. Then try to enable the app again.
This fixed the issue for me.

I have this same issue on a docker install of version 19.0.4

Same here on 190.4 installed via Docker and upgraded via the auto-update process.

Hi,
also encountering this on 19.0.5. Is there a workaround, or how can you apply the patch from #453 manually? (@RainerEmrich )?

Fixed for NC 19.0.5 by manually editing the migrations as shown in patch #453, and could then enable the app.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

vwbusguy picture vwbusguy  路  6Comments

Yetangitu picture Yetangitu  路  7Comments

gucu picture gucu  路  7Comments

piiskop picture piiskop  路  6Comments

jancborchardt picture jancborchardt  路  11Comments