Nextcloud 26 (Hub 4) - Can't install Maps

I am playing with Nextcloud 26 (Hub 4). Installed it this week for the first time.

I was running PHP8.2.

I tried to install Maps, but it gave an error:

An error occured during the request unable to proceed.

I tried downgrading to PHP8.1 and manually reinstalled all the relevant PHP modules for 8.1.

Same error.

I then went onto the server via SSH and removed the folder “maps” from the “apps” folder. Tried again, same error.

What am I missing here?


Nextcloud version (eg, 20.0.5): 26.0.0
Operating system and version (eg, Ubuntu 20.04): Debian Bullseye 11 (latest updates installed)
Apache or nginx version (eg, Apache 2.4.25): Apache/2.4.56 (Debian)
PHP version (eg, 7.4): 8.1 (was 8.2 but have downgraded to try solve the problem)

The issue you are facing:

Is this the first time you’ve seen this error? (Y/N): Y

Steps to replicate it:

  1. Running PHP8.2 I tried to install Maps, it gave the error.
  2. Downgraded to PHP8.1 as is the recommended version in the administrators manual.
  3. Tried to install Maps, same error.
  4. Deleted maps out of apps folder on server.
  5. Tried to install Maps, same error.

The output of your Nextcloud log in Admin > Logging:

Level	App	Message		Time
Error	index	Exception: Class "OCP\AppFramework\Db\Mapper" not found in file '/var/www/html/nextcloud/apps/maps/lib/DB/GeophotoMapper.php' line 18	
2023-04-05T23:12:57+0200
Error	index	Exception: Class "OCP\AppFramework\Db\Mapper" not found in file '/var/www/html/nextcloud/apps/maps/lib/DB/GeophotoMapper.php' line 18	
2023-04-05T23:12:41+0200
Error	core	RuntimeException: Classifier process error	
2023-04-05T23:10:12+0200
Warning	recognize	Classifier process output: 	
2023-04-05T23:10:12+0200
Error	core	RuntimeException: Classifier process error	
2023-04-05T23:10:11+0200
Warning	recognize	Classifier process output: 	
2023-04-05T23:10:11+0200
Error	index	Exception: Class "OCP\AppFramework\Db\Mapper" not found in file '/var/www/html/nextcloud/apps/maps/lib/DB/GeophotoMapper.php' line 18	
2023-04-05T23:00:57+0200
Error	core	RuntimeException: Classifier process error	
2023-04-05T23:00:09+0200
Warning	recognize	Classifier process output: 	
2023-04-05T23:00:09+0200
Error	core	RuntimeException: Classifier process error	
2023-04-05T23:00:07+0200
Warning	recognize	Classifier process output: 	
2023-04-05T23:00:07+0200
Error	index	Exception: Class "OCP\AppFramework\Db\Mapper" not found in file '/var/www/html/nextcloud/apps/maps/lib/DB/GeophotoMapper.php' line 18	
2023-04-05T22:58:22+0200
Error	index	Exception: Class "OCP\AppFramework\Db\Mapper" not found in file '/var/www/html/nextcloud/apps/maps/lib/DB/GeophotoMapper.php' line 18	
2023-04-05T22:55:35+0200
Error	index	Exception: Class "OCP\AppFramework\Db\Mapper" not found in file '/var/www/html/nextcloud/apps/maps/lib/DB/GeophotoMapper.php' line 18	
2023-04-05T22:55:28+0200
Error	index	Exception: Class "OCP\AppFramework\Db\Mapper" not found in file '/var/www/html/nextcloud/apps/maps/lib/DB/GeophotoMapper.php' line 18	
2023-04-05T22:53:39+0200
Error	core	RuntimeException: Classifier process error	
2023-04-05T22:50:09+0200
Warning	recognize	Classifier process output: 	
2023-04-05T22:50:09+0200
Error	core	RuntimeException: Classifier process error	
2023-04-05T22:50:07+0200
Warning	recognize	Classifier process output: 	
2023-04-05T22:50:07+0200
Error	core	RuntimeException: Classifier process error	
2023-04-05T22:40:11+0200
Warning	recognize	Classifier process output: 	
2023-04-05T22:40:11+0200
Error	core	RuntimeException: Classifier process error	
2023-04-05T22:40:09+0200
Warning	recognize	Classifier process output: 	
2023-04-05T22:40:09+0200
Error	core	RuntimeException: Classifier process error	
2023-04-05T22:30:15+0200
Warning	recognize	Classifier process output: 	
2023-04-05T22:30:15+0200
Error	core	RuntimeException: Classifier process error	
2023-04-05T22:30:13+0200
Warning	recognize	Classifier process output: 	
2023-04-05T22:30:13+0200
Error	core	RuntimeException: Classifier process error	
2023-04-05T22:25:09+0200
Warning	recognize	Classifier process output: 	
2023-04-05T22:25:09+0200
Error	core	RuntimeException: Classifier process error	
2023-04-05T22:25:08+0200
Warning	recognize	Classifier process output: 	
2023-04-05T22:25:08+0200
Error	index	Exception: Class "OCP\AppFramework\Db\Mapper" not found in file '/var/www/html/nextcloud/apps/maps/lib/DB/GeophotoMapper.php' line 18	
2023-04-05T22:24:07+0200
Error	core	RuntimeException: Classifier process error	
2023-04-05T22:15:10+0200
Warning	recognize	Classifier process output: 	
2023-04-05T22:15:10+0200
Error	core	RuntimeException: Classifier process error	
2023-04-05T22:15:08+0200
Warning	recognize	Classifier process output: 	
2023-04-05T22:15:08+0200
Error	index	Exception: Class "OCP\AppFramework\Db\Mapper" not found in file '/var/www/html/nextcloud/apps/maps/lib/DB/GeophotoMapper.php' line 18	
2023-04-05T22:12:34+0200
Error	index	Exception: Class "OCP\AppFramework\Db\Mapper" not found in file '/var/www/html/nextcloud/apps/maps/lib/DB/GeophotoMapper.php' line 18	
2023-04-05T22:12:27+0200
Error	core	RuntimeException: Classifier process error	
2023-04-05T22:05:10+0200
Warning	recognize	Classifier process output: 	
2023-04-05T22:05:10+0200
Error	core	RuntimeException: Classifier process error	
2023-04-05T22:05:08+0200
Warning	recognize	Classifier process output: 	
2023-04-05T22:05:08+0200
Error	core	RuntimeException: Classifier process error	
2023-04-05T22:00:09+0200
Warning	recognize	Classifier process output: 	
2023-04-05T22:00:09+0200
Error	core	RuntimeException: Classifier process error	
2023-04-05T22:00:07+0200
Warning	recognize	Classifier process output: 	
2023-04-05T22:00:07+0200

The output of your config.php file in /path/to/nextcloud (make sure you remove any identifiable information!):

  'instanceid' => '******',
  'passwordsalt' => '******',
  'secret' => '******',
  'trusted_domains' => 
  array (
    0 => '******',
  ),
  'datadirectory' => '/home/nchomedatafiles',
  'dbtype' => 'mysql',
  'version' => '26.0.0.11',
  'overwrite.cli.url' => 'https://******/nextcloud',
  'dbname' => 'nextcloud',
  'dbhost' => 'localhost',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'mysql.utf8mb4' => true,
  'dbuser' => 'nextcloud',
  'dbpassword' => '******',
  'installed' => true,
  'mail_from_address' => 'no-reply',
  'mail_smtpmode' => 'smtp',
  'mail_sendmailmode' => 'smtp',
  'mail_domain' => '******',
  'mail_smtpsecure' => 'ssl',
  'mail_smtphost' => '******',
  'mail_smtpport' => '465',
  'mail_smtpauth' => 1,
  'mail_smtpname' => '******',
  'mail_smtppassword' => '******',
  'maintenance' => false,
  'default_phone_region' => 'ZA',
  'memories.exiftool' => '/var/www/html/nextcloud/apps/memories/exiftool-bin/exi>
  'app_install_overwrite' => 
  array (
    0 => 'maps',
    1 => 'extract',
  ),

The output of your Apache/nginx/system log in /var/log/____:
access.log

192.168.27.250 - zeev [05/Apr/2023:23:26:45 +0200] "PROPFIND /nextcloud/remote.php/dav/files/zeev/ HTTP/1.1" 207 5876 "-" "Mozilla/5.0 (Linux) mirall/3.1.1-2+deb11u1 (Nextcloud)"
192.168.26.1 - - [05/Apr/2023:23:26:46 +0200] "PUT /nextcloud/ocs/v2.php/apps/user_status/api/v1/heartbeat?format=json HTTP/1.1" 200 1297 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/111.0.0.0 Safari/537.36 Edg/111.0.1661.62"
192.168.26.1 - - [05/Apr/2023:23:26:47 +0200] "GET /nextcloud/ocs/v2.php/apps/notifications/api/v2/notifications HTTP/1.1" 304 814 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/111.0.0.0 Safari/537.36 Edg/111.0.1661.62"
192.168.26.1 - - [05/Apr/2023:23:26:50 +0200] "GET /nextcloud/index.php/apps/notes/notes?pruneBefore=1680729985 HTTP/1.1" 304 863 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/111.0.0.0 Safari/537.36 Edg/111.0.1661.62"
192.168.27.250 - - [05/Apr/2023:23:26:33 +0200] "GET /nextcloud/index.php/apps/logreader/poll?lastReqId=ucqJmDA0DXV4TOlma9Nh HTTP/1.1" 200 844 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Firefox/102.0"
192.168.27.250 - - [05/Apr/2023:23:26:54 +0200] "PUT /nextcloud/ocs/v2.php/apps/user_status/api/v1/heartbeat?format=json HTTP/1.1" 200 1296 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Firefox/102.0"
192.168.27.250 - zeev [05/Apr/2023:23:26:58 +0200] "PROPFIND /nextcloud/remote.php/dav/files/zeev/ HTTP/1.1" 207 5864 "-" "Mozilla/5.0 (Linux) mirall/3.1.1-2+deb11u1 (Nextcloud)"
192.168.27.250 - - [05/Apr/2023:23:26:58 +0200] "GET /nextcloud/ocs/v2.php/apps/notifications/api/v2/notifications HTTP/1.1" 304 816 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Firefox/102.0"
192.168.27.250 - - [05/Apr/2023:23:26:59 +0200] "GET /nextcloud/index.php/settings/apps HTTP/1.1" 200 15598 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Firefox/102.0"
192.168.27.250 - - [05/Apr/2023:23:27:00 +0200] "GET /nextcloud/dist/core-files_fileinfo.js?v=d8f2d7b1-1 HTTP/1.1" 200 1216 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Firefox/102.0"
192.168.27.250 - - [05/Apr/2023:23:27:00 +0200] "GET /nextcloud/dist/files_sharing-main.js?v=d8f2d7b1-1 HTTP/1.1" 200 961 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Firefox/102.0"
192.168.27.250 - - [05/Apr/2023:23:27:00 +0200] "GET /nextcloud/apps/files_rightclick/l10n/en_GB.js?v=d8f2d7b1-1 HTTP/1.1" 200 680 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Firefox/102.0"
192.168.27.250 - - [05/Apr/2023:23:27:00 +0200] "GET /nextcloud/apps/theming/js/theming.js?v=d8f2d7b1-1 HTTP/1.1" 200 377 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Firefox/102.0"
192.168.27.250 - - [05/Apr/2023:23:27:00 +0200] "GET /nextcloud/dist/settings-vue-settings-apps-users-management.js?v=d8f2d7b1-1 HTTP/1.1" 200 7758 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Firefox/102.0"
192.168.27.250 - - [05/Apr/2023:23:27:00 +0200] "GET /nextcloud/index.php/apps/side_menu/css/stylesheet?v=0 HTTP/1.1" 200 1761 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Firefox/102.0"
192.168.27.250 - - [05/Apr/2023:23:27:00 +0200] "GET /nextcloud/index.php/apps/side_menu/js/script?v=0 HTTP/1.1" 200 2381 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Firefox/102.0"
192.168.27.250 - - [05/Apr/2023:23:27:02 +0200] "GET /nextcloud/ocs/v2.php/search/providers?from=%2Fnextcloud%2Fsettings%2Fapps HTTP/1.1" 200 1402 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Firefox/102.0"
192.168.27.250 - - [05/Apr/2023:23:27:03 +0200] "GET /nextcloud/apps/mediadc/img/app.svg HTTP/1.1" 200 3347 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Firefox/102.0"
192.168.27.250 - - [05/Apr/2023:23:27:03 +0200] "PUT /nextcloud/ocs/v2.php/apps/user_status/api/v1/heartbeat?format=json HTTP/1.1" 200 972 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Firefox/102.0"
192.168.27.250 - - [05/Apr/2023:23:27:03 +0200] "GET /nextcloud/ocs/v2.php/apps/user_status/api/v1/statuses/admin HTTP/1.1" 200 942 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Firefox/102.0"
192.168.27.250 - - [05/Apr/2023:23:27:03 +0200] "GET /nextcloud/index.php/apps/side_menu/js/config HTTP/1.1" 200 1103 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Firefox/102.0"
192.168.27.250 - - [05/Apr/2023:23:27:04 +0200] "GET /nextcloud/index.php/apps/theming/icon/settings?v=b00cb4a2 HTTP/1.1" 200 24620 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Firefox/102.0"
192.168.27.250 - - [05/Apr/2023:23:27:04 +0200] "GET /nextcloud/index.php/settings/apps/categories HTTP/1.1" 200 1416 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Firefox/102.0"
192.168.27.250 - - [05/Apr/2023:23:27:04 +0200] "GET /nextcloud/ocs/v2.php/cloud/groups?offset=0&search=&limit=5 HTTP/1.1" 200 1290 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Firefox/102.0"
192.168.27.250 - - [05/Apr/2023:23:27:03 +0200] "GET /nextcloud/ocs/v2.php/apps/notifications/api/v2/notifications HTTP/1.1" 200 1225 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Firefox/102.0"
192.168.27.250 - - [05/Apr/2023:23:27:04 +0200] "GET /nextcloud/index.php/apps/theming/favicon/settings?v=b00cb4a2 HTTP/1.1" 200 57432 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Firefox/102.0"
192.168.27.250 - - [05/Apr/2023:23:27:04 +0200] "GET /nextcloud/index.php/settings/apps/list HTTP/1.1" 200 875868 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Firefox/102.0"
192.168.27.250 - - [05/Apr/2023:23:27:05 +0200] "GET /nextcloud/apps/files_downloadactivity/img/app.svg HTTP/1.1" 200 526 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Firefox/102.0"
192.168.27.250 - - [05/Apr/2023:23:27:05 +0200] "GET /nextcloud/apps/circles/img/circles.svg HTTP/1.1" 200 632 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Firefox/102.0"
192.168.27.250 - - [05/Apr/2023:23:27:05 +0200] "GET /nextcloud/apps/systemtags/img/app.svg HTTP/1.1" 200 736 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Firefox/102.0"
192.168.27.250 - - [05/Apr/2023:23:27:05 +0200] "GET /nextcloud/apps/comments/img/comments.svg HTTP/1.1" 200 1082 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Firefox/102.0"
192.168.27.250 - - [05/Apr/2023:23:27:05 +0200] "GET /nextcloud/apps/contacts/img/contacts.svg HTTP/1.1" 200 3113 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Firefox/102.0"
192.168.27.250 - - [05/Apr/2023:23:27:05 +0200] "GET /nextcloud/apps/files_trashbin/img/app.svg HTTP/1.1" 200 574 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Firefox/102.0"
192.168.27.250 - - [05/Apr/2023:23:27:05 +0200] "GET /nextcloud/apps/drawio/img/drawio.svg HTTP/1.1" 200 1703 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Firefox/102.0"
192.168.27.250 - - [05/Apr/2023:23:27:05 +0200] "GET /nextcloud/apps/fileslibreofficeedit/img/app.svg HTTP/1.1" 200 17850 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Firefox/102.0"
192.168.27.250 - - [05/Apr/2023:23:27:05 +0200] "GET /nextcloud/apps/external/img/external.svg HTTP/1.1" 200 2303 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Firefox/102.0"
192.168.27.250 - - [05/Apr/2023:23:27:05 +0200] "GET /nextcloud/apps/files_sharing/img/app.svg HTTP/1.1" 200 772 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Firefox/102.0"
192.168.27.250 - - [05/Apr/2023:23:27:05 +0200] "GET /nextcloud/apps/files_automatedtagging/img/app.svg HTTP/1.1" 200 893 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Firefox/102.0"
192.168.27.250 - - [05/Apr/2023:23:27:05 +0200] "GET /nextcloud/apps/integration_giphy/img/app.svg HTTP/1.1" 200 711 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Firefox/102.0"
192.168.27.250 - - [05/Apr/2023:23:27:05 +0200] "GET /nextcloud/apps/integration_google/img/app.svg HTTP/1.1" 200 864 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Firefox/102.0"
192.168.27.250 - - [05/Apr/2023:23:27:05 +0200] "GET /nextcloud/apps/google_synchronization/img/app.svg HTTP/1.1" 200 864 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Firefox/102.0"
192.168.27.250 - - [05/Apr/2023:23:27:05 +0200] "GET /nextcloud/apps/logreader/img/app.svg HTTP/1.1" 200 821 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Firefox/102.0"
192.168.27.250 - - [05/Apr/2023:23:27:06 +0200] "GET /nextcloud/apps/serverinfo/img/app.svg HTTP/1.1" 200 739 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Firefox/102.0"
192.168.27.250 - - [05/Apr/2023:23:27:06 +0200] "GET /nextcloud/apps/music/img/music.svg HTTP/1.1" 200 1007 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Firefox/102.0"
192.168.27.250 - - [05/Apr/2023:23:27:06 +0200] "GET /nextcloud/apps/nextcloud_announcements/img/app.svg HTTP/1.1" 200 1045 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Firefox/102.0"
192.168.27.250 - - [05/Apr/2023:23:27:06 +0200] "GET /nextcloud/apps/richdocuments/img/app.svg HTTP/1.1" 200 923 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Firefox/102.0"
192.168.27.250 - - [05/Apr/2023:23:27:06 +0200] "GET /nextcloud/apps/notifications/img/notifications.svg HTTP/1.1" 200 604 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Firefox/102.0"
192.168.27.250 - - [05/Apr/2023:23:27:06 +0200] "GET /nextcloud/apps/integration_openai/img/app.svg HTTP/1.1" 200 1935 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Firefox/102.0"
192.168.27.250 - - [05/Apr/2023:23:27:06 +0200] "GET /nextcloud/apps/integration_openstreetmap/img/app.svg HTTP/1.1" 200 2821 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Firefox/102.0"
192.168.27.250 - - [05/Apr/2023:23:27:06 +0200] "GET /nextcloud/apps/password_policy/img/app.svg HTTP/1.1" 200 675 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Firefox/102.0"
192.168.27.250 - - [05/Apr/2023:23:27:06 +0200] "GET /nextcloud/apps/files_pdfviewer/img/app.svg HTTP/1.1" 200 2456 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Firefox/102.0"
192.168.27.250 - - [05/Apr/2023:23:27:06 +0200] "GET /nextcloud/apps/photos/img/photos.svg HTTP/1.1" 200 803 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Firefox/102.0"
192.168.27.250 - - [05/Apr/2023:23:27:06 +0200] "GET /nextcloud/apps/files_texteditor/img/app.svg HTTP/1.1" 200 923 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Firefox/102.0"
192.168.27.250 - - [05/Apr/2023:23:27:06 +0200] "GET /nextcloud/apps/privacy/img/app.svg HTTP/1.1" 200 632 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Firefox/102.0"
192.168.27.250 - - [05/Apr/2023:23:27:06 +0200] "GET /nextcloud/apps/qownnotesapi/img/app.svg HTTP/1.1" 200 1760 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Firefox/102.0"
192.168.27.250 - - [05/Apr/2023:23:27:06 +0200] "GET /nextcloud/apps/quota_warning/img/app.svg HTTP/1.1" 200 772 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Firefox/102.0"
192.168.27.250 - - [05/Apr/2023:23:27:06 +0200] "GET /nextcloud/apps/recognize/img/recognize.svg HTTP/1.1" 200 2399 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Firefox/102.0"
192.168.27.250 - - [05/Apr/2023:23:27:06 +0200] "GET /nextcloud/apps/integration_reddit/img/app.svg HTTP/1.1" 200 1363 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Firefox/102.0"
192.168.27.250 - - [05/Apr/2023:23:27:06 +0200] "GET /nextcloud/apps/integration_replicate/img/app.svg HTTP/1.1" 200 1211 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Firefox/102.0"
192.168.27.250 - - [05/Apr/2023:23:27:06 +0200] "GET /nextcloud/apps/sharebymail/img/app.svg HTTP/1.1" 200 772 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Firefox/102.0"
192.168.27.250 - - [05/Apr/2023:23:27:06 +0200] "GET /nextcloud/apps/text/img/app.svg HTTP/1.1" 200 867 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Firefox/102.0"
192.168.27.250 - - [05/Apr/2023:23:27:06 +0200] "GET /nextcloud/apps/text_templates/img/app.svg HTTP/1.1" 200 667 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Firefox/102.0"
192.168.27.250 - - [05/Apr/2023:23:27:06 +0200] "GET /nextcloud/apps/integration_tmdb/img/app.svg HTTP/1.1" 200 3215 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Firefox/102.0"
192.168.27.250 - - [05/Apr/2023:23:27:06 +0200] "GET /nextcloud/apps/updatenotification/img/app.svg HTTP/1.1" 200 595 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Firefox/102.0"
192.168.27.250 - - [05/Apr/2023:23:27:06 +0200] "GET /nextcloud/apps/user_status/img/app.svg HTTP/1.1" 200 726 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Firefox/102.0"
192.168.27.250 - - [05/Apr/2023:23:27:06 +0200] "GET /nextcloud/apps/files_versions/img/app.svg HTTP/1.1" 200 821 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Firefox/102.0"
192.168.27.250 - - [05/Apr/2023:23:27:06 +0200] "GET /nextcloud/apps/weather_status/img/app.svg HTTP/1.1" 200 1686 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Firefox/102.0"
192.168.27.250 - - [05/Apr/2023:23:27:06 +0200] "GET /nextcloud/apps/workflow_script/img/app.svg HTTP/1.1" 200 831 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Firefox/102.0"
192.168.27.250 - - [05/Apr/2023:23:27:06 +0200] "GET /nextcloud/apps/workflow_ocr/img/app.svg HTTP/1.1" 200 4007 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Firefox/102.0"
192.168.27.250 - - [05/Apr/2023:23:27:06 +0200] "GET /nextcloud/apps/encryption/img/app.svg HTTP/1.1" 200 1399 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Firefox/102.0"
192.168.27.250 - - [05/Apr/2023:23:27:06 +0200] "GET /nextcloud/apps/files_external/img/app.svg HTTP/1.1" 200 676 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Firefox/102.0"
192.168.27.250 - - [05/Apr/2023:23:27:06 +0200] "GET /nextcloud/apps/federation/img/app.svg HTTP/1.1" 200 772 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Firefox/102.0"
192.168.27.250 - - [05/Apr/2023:23:27:06 +0200] "GET /nextcloud/apps/firstrunwizard/img/app.svg HTTP/1.1" 200 696 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Firefox/102.0"
192.168.27.250 - - [05/Apr/2023:23:27:06 +0200] "GET /nextcloud/apps/user_ldap/img/app.svg HTTP/1.1" 200 1260 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Firefox/102.0"
192.168.27.250 - - [05/Apr/2023:23:27:06 +0200] "GET /nextcloud/apps/maps/img/maps.svg HTTP/1.1" 200 754 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Firefox/102.0"
192.168.27.250 - - [05/Apr/2023:23:27:06 +0200] "GET /nextcloud/apps/support/img/app.svg HTTP/1.1" 200 3003 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Firefox/102.0"
192.168.27.250 - - [05/Apr/2023:23:27:06 +0200] "GET /nextcloud/apps/suspicious_login/img/app.svg HTTP/1.1" 200 634 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Firefox/102.0"
192.168.27.250 - - [05/Apr/2023:23:27:06 +0200] "GET /nextcloud/apps/twofactor_totp/img/app.svg HTTP/1.1" 200 1353 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Firefox/102.0"
192.168.27.250 - - [05/Apr/2023:23:27:06 +0200] "GET /nextcloud/apps/survey_client/img/app.svg HTTP/1.1" 200 2107 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Firefox/102.0"
192.168.27.250 - - [05/Apr/2023:23:26:54 +0200] "GET /nextcloud/index.php/apps/logreader/poll?lastReqId=ucqJmDA0DXV4TOlma9Nh HTTP/1.1" 200 844 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Firefox/102.0"
::1 - - [05/Apr/2023:23:27:14 +0200] "OPTIONS * HTTP/1.0" 200 126 "-" "Apache/2.4.56 (Debian) OpenSSL/1.1.1n (internal dummy connection)"
192.168.26.1 - - [05/Apr/2023:23:27:15 +0200] "GET /nextcloud/index.php/apps/notes/notes?pruneBefore=1680730010 HTTP/1.1" 304 1187 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/111.0.0.0 Safari/537.36 Edg/111.0.1661.62"
192.168.26.1 - - [05/Apr/2023:23:27:17 +0200] "GET /nextcloud/ocs/v2.php/apps/notifications/api/v2/notifications HTTP/1.1" 304 814 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/111.0.0.0 Safari/537.36 Edg/111.0.1661.62"
192.168.27.250 - zeev [05/Apr/2023:23:27:17 +0200] "PROPFIND /nextcloud/remote.php/dav/files/zeev/ HTTP/1.1" 207 5876 "-" "Mozilla/5.0 (Linux) mirall/3.1.1-2+deb11u1 (Nextcloud)"
192.168.27.250 - zeev [05/Apr/2023:23:27:28 +0200] "PROPFIND /nextcloud/remote.php/dav/files/zeev/ HTTP/1.1" 207 5864 "-" "Mozilla/5.0 (Linux) mirall/3.1.1-2+deb11u1 (Nextcloud)"
192.168.27.250 - - [05/Apr/2023:23:27:32 +0200] "GET /nextcloud/ocs/v2.php/core/navigation/apps?format=json HTTP/1.1" 200 2105 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Firefox/102.0"
192.168.27.250 - - [05/Apr/2023:23:27:33 +0200] "GET /nextcloud/ocs/v2.php/apps/notifications/api/v2/notifications HTTP/1.1" 304 816 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Firefox/102.0"
192.168.26.1 - - [05/Apr/2023:23:27:40 +0200] "GET /nextcloud/index.php/apps/notes/notes?pruneBefore=1680730035 HTTP/1.1" 304 1187 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/111.0.0.0 Safari/537.36 Edg/111.0.1661.62"
192.168.26.1 - - [05/Apr/2023:23:27:47 +0200] "GET /nextcloud/ocs/v2.php/apps/notifications/api/v2/notifications HTTP/1.1" 304 1138 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/111.0.0.0 Safari/537.36 Edg/111.0.1661.62"
192.168.27.250 - zeev [05/Apr/2023:23:27:49 +0200] "PROPFIND /nextcloud/remote.php/dav/files/zeev/ HTTP/1.1" 207 5876 "-" "Mozilla/5.0 (Linux) mirall/3.1.1-2+deb11u1 (Nextcloud)"
192.168.27.250 - - [05/Apr/2023:23:27:52 +0200] "POST /nextcloud/index.php/login/confirm HTTP/1.1" 200 1290 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Firefox/102.0"
192.168.27.250 - - [05/Apr/2023:23:27:53 +0200] "GET /nextcloud/index.php/settings/apps/uninstall/maps HTTP/1.1" 200 867 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Firefox/102.0"
192.168.27.250 - - [05/Apr/2023:23:27:53 +0200] "GET /nextcloud/ocs/v2.php/core/navigation/apps?format=json HTTP/1.1" 200 1781 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Firefox/102.0"
192.168.27.250 - zeev [05/Apr/2023:23:27:58 +0200] "PROPFIND /nextcloud/remote.php/dav/files/zeev/ HTTP/1.1" 207 5864 "-" "Mozilla/5.0 (Linux) mirall/3.1.1-2+deb11u1 (Nextcloud)"
192.168.27.250 - - [05/Apr/2023:23:27:55 +0200] "POST /nextcloud/index.php/settings/apps/enable HTTP/1.1" 500 7625 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Firefox/102.0"
192.168.27.250 - - [05/Apr/2023:23:28:03 +0200] "GET /nextcloud/ocs/v2.php/apps/notifications/api/v2/notifications HTTP/1.1" 304 1140 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Firefox/102.0"
192.168.27.250 - - [05/Apr/2023:23:28:04 +0200] "GET /nextcloud/ocs/v2.php/core/navigation/apps?format=json HTTP/1.1" 200 2105 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Firefox/102.0"
192.168.26.1 - - [05/Apr/2023:23:28:06 +0200] "GET /nextcloud/index.php/apps/notes/notes?pruneBefore=1680730061 HTTP/1.1" 304 1187 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/111.0.0.0 Safari/537.36 Edg/111.0.1661.62"

error.log has nothing from the above timeline…

Output errors in nextcloud.log in /var/www/ or as admin user in top right menu, filtering for errors. Use a pastebin service if necessary.

{"reqId":"yf7FoofjrgKev238tGvr","level":3,"time":"2023-04-05T20:12:27+00:00","remoteAddr":"192.168.27.250","user":"admin","app":"index","method":"POST","url":"/nextcloud/index.php/settings/apps/enable","message":"Class \"OCP\\AppFramework\\Db\\Mapper\" not found in file '/var/www/html/nextcloud/apps/maps/lib/DB/GeophotoMapper.php' line 18","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Firefox/102.0","version":"26.0.0.11","exception":{"Exception":"Exception","Message":"Class \"OCP\\AppFramework\\Db\\Mapper\" not found in file '/var/www/html/nextcloud/apps/maps/lib/DB/GeophotoMapper.php' line 18","Code":0,"Trace":[{"file":"/var/www/html/nextcloud/lib/private/AppFramework/App.php","line":183,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/var/www/html/nextcloud/lib/private/Route/Router.php","line":315,"function":"main","class":"OC\\AppFramework\\App","type":"::"},{"file":"/var/www/html/nextcloud/lib/base.php","line":1055,"function":"match","class":"OC\\Route\\Router","type":"->"},{"file":"/var/www/html/nextcloud/index.php","line":36,"function":"handleRequest","class":"OC","type":"::"}],"File":"/var/www/html/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","Line":169,"Previous":{"Exception":"Error","Message":"Class \"OCP\\AppFramework\\Db\\Mapper\" not found","Code":0,"Trace":[{"file":"/var/www/html/nextcloud/lib/composer/composer/ClassLoader.php","line":578,"function":"include"},{"file":"/var/www/html/nextcloud/lib/composer/composer/ClassLoader.php","line":432,"function":"Composer\\Autoload\\{closure}","class":"Composer\\Autoload\\ClassLoader","type":"::","args":["*** sensitive parameters replaced ***"]},{"function":"loadClass","class":"Composer\\Autoload\\ClassLoader","type":"->"},{"file":"/var/www/html/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php","line":122,"function":"__construct","class":"ReflectionClass","type":"->"},{"file":"/var/www/html/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php","line":142,"function":"resolve","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->"},{"file":"/var/www/html/nextcloud/lib/private/AppFramework/DependencyInjection/DIContainer.php","line":493,"function":"query","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->"},{"file":"/var/www/html/nextcloud/lib/private/AppFramework/DependencyInjection/DIContainer.php","line":465,"function":"queryNoFallback","class":"OC\\AppFramework\\DependencyInjection\\DIContainer","type":"->"},{"file":"/var/www/html/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php","line":97,"function":"query","class":"OC\\AppFramework\\DependencyInjection\\DIContainer","type":"->"},{"function":"OC\\AppFramework\\Utility\\{closure}","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/html/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php","line":84,"function":"array_map"},{"file":"/var/www/html/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php","line":124,"function":"buildClass","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->"},{"file":"/var/www/html/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php","line":142,"function":"resolve","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->"},{"file":"/var/www/html/nextcloud/lib/private/AppFramework/DependencyInjection/DIContainer.php","line":493,"function":"query","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->"},{"file":"/var/www/html/nextcloud/lib/private/ServerContainer.php","line":155,"function":"queryNoFallback","class":"OC\\AppFramework\\DependencyInjection\\DIContainer","type":"->"},{"file":"/var/www/html/nextcloud/apps/maps/appinfo/application.php","line":33,"function":"query","class":"OC\\ServerContainer","type":"->"},{"file":"/var/www/html/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php","line":171,"function":"OCA\\Maps\\AppInfo\\{closure}","class":"OCA\\Maps\\AppInfo\\Application","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/html/nextcloud/3rdparty/pimple/pimple/src/Pimple/Container.php","line":122,"function":"OC\\AppFramework\\Utility\\{closure}","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/html/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php","line":138,"function":"offsetGet","class":"Pimple\\Container","type":"->"},{"file":"/var/www/html/nextcloud/lib/private/AppFramework/DependencyInjection/DIContainer.php","line":487,"function":"query","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->"},{"file":"/var/www/html/nextcloud/lib/private/AppFramework/DependencyInjection/DIContainer.php","line":465,"function":"queryNoFallback","class":"OC\\AppFramework\\DependencyInjection\\DIContainer","type":"->"},{"file":"/var/www/html/nextcloud/apps/maps/appinfo/application.php","line":41,"function":"query","class":"OC\\AppFramework\\DependencyInjection\\DIContainer","type":"->"},{"file":"/var/www/html/nextcloud/lib/private/ServerContainer.php","line":107,"function":"__construct","class":"OCA\\Maps\\AppInfo\\Application","type":"->"},{"file":"/var/www/html/nextcloud/lib/private/ServerContainer.php","line":186,"function":"getAppContainer","class":"OC\\ServerContainer","type":"->"},{"file":"/var/www/html/nextcloud/lib/private/ServerContainer.php","line":153,"function":"getAppContainerForService","class":"OC\\ServerContainer","type":"->"},{"file":"/var/www/html/nextcloud/lib/private/DB/MigrationService.php","line":490,"function":"query","class":"OC\\ServerContainer","type":"->"},{"file":"/var/www/html/nextcloud/lib/private/DB/MigrationService.php","line":442,"function":"createInstance","class":"OC\\DB\\MigrationService","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/html/nextcloud/lib/private/DB/MigrationService.php","line":409,"function":"migrateSchemaOnly","class":"OC\\DB\\MigrationService","type":"->"},{"file":"/var/www/html/nextcloud/lib/private/Installer.php","line":153,"function":"migrate","class":"OC\\DB\\MigrationService","type":"->"},{"file":"/var/www/html/nextcloud/apps/settings/lib/Controller/AppSettingsController.php","line":451,"function":"installApp","class":"OC\\Installer","type":"->"},{"file":"/var/www/html/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":230,"function":"enableApps","class":"OCA\\Settings\\Controller\\AppSettingsController","type":"->"},{"file":"/var/www/html/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":137,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/var/www/html/nextcloud/lib/private/AppFramework/App.php","line":183,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/var/www/html/nextcloud/lib/private/Route/Router.php","line":315,"function":"main","class":"OC\\AppFramework\\App","type":"::"},{"file":"/var/www/html/nextcloud/lib/base.php","line":1055,"function":"match","class":"OC\\Route\\Router","type":"->"},
1 Like

This is 100% a multi-user issue and I have precisely the same error (OCP\AppFramework\Db\Mapper) with the same setup too.

Same error here, can’t install maps. While installing i get no error message, but if i try to open maps its alread deactivated. Tried to disable a lot of apps and tried with removing richdocuments e.a. nothing helps. Upgraded to 6.0.2 no result.

Maps seems broken for all 26.0.2 docker images because of this issue. Upgrading a Nextcloud docker deployment from 25.x to 26 will also break and disable Maps even though Maps is listed as “compatible app” before the upgrade.

I’ve filed a bug with Maps to keep track of this issue: [Bug]: Maps is broken for Nextcloud container 26.0.2, App store offers ancient version 0.1.10 · Issue #1061 · nextcloud/maps · GitHub