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

Remove broken unique constraints #542

Closed
wants to merge 1 commit into from
Closed

Conversation

Tyil
Copy link

@Tyil Tyil commented Feb 25, 2021

As per #541, these constraints are broken. Maps are working fine (for me, at least) without these constraints.

@UweKrause
Copy link

@Tyil the DCO bot prevents you from merging, could you please make that bot happy?

@UweKrause
Copy link

and btw, after applying your fix, it looks like the installation has worked, but from now on, I get following error:
Doctrine\DBAL\Exception\TableNotFoundException: An exception occurred while executing a query: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'nextcloud.oc_maps_tracks' doesn't exist
Might be unrelated(?)

@Tyil
Copy link
Author

Tyil commented Mar 9, 2021 via email

@tacruc
Copy link
Collaborator

tacruc commented Mar 10, 2021

I'm unshure If this modifications allown will fix the database migration on all setups.
This was the fix I implemented on my development setup, but it was not sufficient allown. As after the fix Tables where missing.

So we have to make shure, that the fix works on:

  • New Installations, which never enabled maps bevor
  • Installations, which where running into the error, it might be that the migration is not reexecuted
  • Installations, which where using maps, but not jet where running into the error.

@odea
Copy link

odea commented Apr 5, 2021

and btw, after applying your fix, it looks like the installation has worked, but from now on, I get following error:
Doctrine\DBAL\Exception\TableNotFoundException: An exception occurred while executing a query: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'nextcloud.oc_maps_tracks' doesn't exist
Might be unrelated(?)

Same for me ! still unable to install maps...
Server version: Apache/2.4.41-4ubuntu3.1
PHP 7.4.3 (cli) (built: Oct 6 2020 15:47:56) ( NTS )
Nexcloud version: 21
Database: MariaDB 1:10.3.25-0ubuntu0.20.04.1
Where did you install Nextcloud from: Source

@tacruc
Copy link
Collaborator

tacruc commented Mar 14, 2022

Is it still an Issue with NC23 and with #568 ?

@odea
Copy link

odea commented Mar 15, 2022

Hi, I can't say for NC23, I'm stuck with 22.2.5 (btw if someone can tell me if it's normal that would be great).
I don't remember what I did, but I managed to install 0.1.9 manually, it worked and updated well to 0.1.10.

@tacruc
Copy link
Collaborator

tacruc commented Apr 14, 2022

Redundand to #568

@tacruc tacruc closed this Apr 14, 2022
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

Successfully merging this pull request may close these issues.

4 participants