maps icon indicating copy to clipboard operation
maps copied to clipboard

Download enable fails

Open mateoke opened this issue 5 years ago • 16 comments

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

mateoke avatar Oct 15 '20 02:10 mateoke

@eneiluj didn't we fix this?

tacruc avatar Oct 15 '20 08:10 tacruc

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

tacruc avatar Oct 15 '20 08:10 tacruc

Fixed For NC 20 in #453

tacruc avatar Oct 15 '20 08:10 tacruc

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

MarkusStue avatar Oct 15 '20 13:10 MarkusStue

Same here for nc 19.0.4.

RainerEmrich avatar Oct 15 '20 17:10 RainerEmrich

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 [email protected] wrote: Which version of map do you try to install and which Nextcloud version are you running?

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

mateoke avatar Oct 17 '20 05:10 mateoke

Same here for nc 19.0.4.

copos77 avatar Oct 23 '20 17:10 copos77

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

sam-19 avatar Oct 24 '20 04:10 sam-19

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

mortie avatar Oct 26 '20 20:10 mortie

19.0.4 same issue encountered.

jiacai-wang avatar Nov 07 '20 03:11 jiacai-wang

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.

RainerEmrich avatar Nov 07 '20 09:11 RainerEmrich

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

miguelarios avatar Nov 12 '20 19:11 miguelarios

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

thenameiwantedwastaken avatar Nov 16 '20 06:11 thenameiwantedwastaken

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

novadeviator avatar Nov 23 '20 16:11 novadeviator

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

JazMTaz avatar Dec 07 '20 05:12 JazMTaz

Also occurs on 19.0.12.

Russtopia avatar Jun 08 '21 03:06 Russtopia