Maps installation attempt results in error: The "unique" column option is not supported

Fresh Debian install under Nginx (NextCloud 21.0.0.18), everything flawless, until I just tried to install “Maps” app. The application has downloaded, but I get the following error when attempting to enable it:

The “unique” column option is not supported."

The following screenie shows what I’m looking at I’m wondering whether I need to add a column or something in MariaDB?

Any assistance, your comments, suggestions, would be most appreciated :slight_smile:

The problem has already been reported and a workaround seems to exist too:

Hi,
the problem remains for some of us. After commenting “‘unique’ => true,” I am still unable to install maps and now have this 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

The issue in NC21 here

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

As long as the status of the mentioned issue ticket isn’t changed from “Open” to “Closed” you cannot expect to see that issue fixed in the app and have to live with the workaround :wink:

FYI, I removed the app and reinstalled it and it worked.

1 Like