nextcloud / maps

🌍🌏🌎 The whole world fits inside your cloud!
https://apps.nextcloud.com/apps/maps
GNU Affero General Public License v3.0
500 stars 89 forks source link

Download enable fails #482

Open mateoke opened 4 years ago

mateoke commented 4 years ago

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

tacruc commented 4 years ago

@eneiluj didn't we fix this?

tacruc commented 4 years ago

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

tacruc commented 4 years ago

Fixed For NC 20 in #453

MarkusStue commented 4 years ago

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

RainerEmrich commented 4 years ago

Same here for nc 19.0.4.

mateoke commented 4 years ago

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?

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

copos77 commented 3 years ago

Same here for nc 19.0.4.

sam-19 commented 3 years ago

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

mortie commented 3 years ago

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

jiacai-wang commented 3 years ago

19.0.4 same issue encountered.

RainerEmrich commented 3 years ago

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.

miguelarios commented 3 years ago

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

thenameiwantedwastaken commented 3 years ago

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

novadeviator commented 3 years ago

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

JazMTaz commented 3 years ago

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

Russtopia commented 3 years ago

Also occurs on 19.0.12.