162 Packages can be upgraded. Is this normal?

Support intro

Sorry to hear you’re facing problems. :slightly_frowning_face:

The community help forum (help.nextcloud.com) is for home and non-enterprise users. Support is provided by other community members on a best effort / “as available” basis. All of those responding are volunteering their time to help you.

If you’re using Nextcloud in a business/critical setting, paid and SLA-based support services can be accessed via portal.nextcloud.com where Nextcloud engineers can help ensure your business keeps running smoothly.

Getting help

In order to help you as efficiently (and quickly!) as possible, please fill in as much of the below requested information as you can.

Before clicking submit: Please check if your query is already addressed via the following resources:

(Utilizing these existing resources is typically faster. It also helps reduce the load on our generous volunteers while elevating the signal to noise ratio of the forums otherwise arising from the same queries being posted repeatedly).

Some or all of the below information will be requested if it isn’t supplied; for fastest response please provide as much as you can. :heart:

The Basics

  • Nextcloud Server version (e.g., 29.x.x):

    • 30.0.15.1

    Operating system and version (e.g., Ubuntu 24.04):

    • Armbian 25.2.3 bookworm \l . 6.12.21-current-bcm2711 (aarch64)
  • Web server and version (e.g, Apache 2.4.25):

    • apache2 2.4.62-1~deb12u2]
  • Reverse proxy and version _(e.g. nginx 1.27.2)

    • not sure?
  • PHP version (e.g, 8.3):

    • PHP 8.3.17 (cli)
  • Is this the first time you’ve seen this error? (Yes / No):

    • yes
  • When did this problem seem to first start?

    • today
  • Installation method (e.g. AlO, NCP, Bare Metal/Archive, etc.)

    • ncp
  • Are you using CloudfIare, mod_security, or similar? (Yes / No)

    • i don't know

Summary of the issue you are facing:

I was trying to install elasticsearch on my NCP install. Doing this I noticed some problems with the packages. This is even after using sudo ncp-config to update the ncp version.

  1. There are many upgradable packages
  2. I get this error:
$ sudo apt-get install apt-transport-https
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
 libraspberrypi0 : Depends: raspberrypi-bootloader but it is not installable or
                            raspi-firmware but it is not going to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).

When I try the fix, I get this output:

$ sudo apt --fix-broken install
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Correcting dependencies... Done
The following additional packages will be installed:
  raspi-firmware
Suggested packages:
  firmware-brcm80211 firmware-misc-nonfree bluez-firmware
The following NEW packages will be installed:
  raspi-firmware
0 upgraded, 1 newly installed, 0 to remove and 162 not upgraded.
2 not fully installed or removed.
Need to get 0 B/12.8 MB of archives.
After this operation, 22.4 MB of additional disk space will be used.
Do you want to continue? [Y/n] 
(Reading database ... 39311 files and directories currently installed.)
Preparing to unpack .../raspi-firmware_1%3a1.20250430-4~bookworm_all.deb ...
Unpacking raspi-firmware (1:1.20250430-4~bookworm) ...
dpkg: error processing archive /var/cache/apt/archives/raspi-firmware_1%3a1.20250430-4~bookworm_all.deb (--unpack):
 trying to overwrite '/etc/kernel/postinst.d/z50-raspi-firmware', which is also in package armbian-bsp-cli-rpi4b-current 25.2.3
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Errors were encountered while processing:
 /var/cache/apt/archives/raspi-firmware_1%3a1.20250430-4~bookworm_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

Steps to replicate it (hint: details matter!):

  1. Try to install elasticsearch (sudo apt-get install apt-transport-https)

Log entries

Nextcloud

Please provide the log entries from your Nextcloud log that are generated during the time of problem (via the Copy raw option from Administration settings->Logging screen or from your nextcloud.log located in your data directory). Feel free to use a pastebin/gist service if necessary.

PASTE HERE

Web Browser

If the problem is related to the Web interface, open your browser inspector Console and Network tabs while refreshing (reloading) and reproducing the problem. Provide any relevant output/errors here that appear.

PASTE

Web server / Reverse Proxy

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

PASTE HERE

Configuration

Nextcloud

The output of occ config:list system or similar is best, but, if not possible, the contents of your config.php file from /path/to/nextcloud is fine (make sure to remove any identifiable information!):

Apps

The output of occ app:list (if possible).

Enabled:
  - activity: 3.0.0
  - app_api: 4.0.6
  - bruteforcesettings: 3.0.0
  - calendar: 5.5.4
  - circles: 30.0.0
  - cloud_federation_api: 1.13.0
  - comments: 1.20.1
  - contacts: 7.3.2
  - contactsinteraction: 1.11.0
  - dashboard: 7.10.0
  - dav: 1.31.1
  - deck: 1.14.6
  - federatedfilesharing: 1.20.0
  - federation: 1.20.0
  - files: 2.2.0
  - files_downloadlimit: 3.0.0
  - files_fulltextsearch: 31.0.0
  - files_fulltextsearch_tesseract: 27.0.1
  - files_pdfviewer: 3.0.0
  - files_reminders: 1.3.0
  - files_sharing: 1.22.0
  - files_trashbin: 1.20.1
  - files_versions: 1.23.0
  - firstrunwizard: 3.0.0
  - fulltextsearch: 30.0.1
  - fulltextsearch_elasticsearch: 30.0.1
  - logreader: 3.0.0
  - lookup_server_connector: 1.18.0
  - nextcloud_announcements: 2.0.0
  - notes: 4.12.3
  - notifications: 3.0.0
  - notify_push: 1.2.0
  - oauth2: 1.18.1
  - password_policy: 2.0.0
  - photos: 3.0.2
  - previewgenerator: 99.99.99
  - privacy: 2.0.0
  - provisioning_api: 1.20.0
  - recommendations: 3.0.0
  - related_resources: 1.5.0
  - serverinfo: 2.0.0
  - settings: 1.13.0
  - sharebymail: 1.20.0
  - support: 2.0.0
  - survey_client: 2.0.0
  - systemtags: 1.20.0
  - tasks: 0.16.1
  - text: 4.1.0
  - theming: 2.6.0
  - twofactor_backupcodes: 1.19.0
  - twofactor_totp: 12.0.0-dev
  - user_status: 1.10.0
  - viewer: 3.0.0
  - weather_status: 1.10.0
  - webhook_listeners: 1.1.0-dev
  - workflowengine: 2.12.0
Disabled:
  - admin_audit: 1.20.0
  - encryption: 2.18.0
  - files_external: 1.22.0
  - nextcloudpi: 0.0.2 (installed 0.0.2)
  - suspicious_login: 8.0.0
  - twofactor_nextcloud_notification: 4.0.0
  - updatenotification: 1.20.0 (installed 1.18.0)
  - user_ldap: 1.21.0

NCP Report

<–! Paste this in GitHub report →

NextcloudPi diagnostics ``` NextcloudPi version v1.55.4 NextcloudPi image OS Armbian 25.2.3 bookworm \l . 6.12.21-current-bcm2711 (aarch64) automount yes USB devices sda sdb datadir /media/wb-2tb/3ncdata/data data in SD no data filesystem ext2/ext3 data disk usage 799G/1.8T rootfs usage 10G/465G swapfile /var/swap dbdir /var/lib/mysql Nextcloud check ok Nextcloud version 30.0.15.1 HTTPD service up PHP service up MariaDB service up Redis service up HPB service up Postfix service up Internet check ok Public IPv4 ***REMOVED SENSITIVE VALUE*** Public IPv6 ***REMOVED SENSITIVE VALUE*** Port 80 open Port 443 open IP ***REMOVED SENSITIVE VALUE*** Gateway ***REMOVED SENSITIVE VALUE*** Interface end0 Certificates ***REMOVED SENSITIVE VALUE*** NAT loopback yes Uptime 2days ```
Nextcloud configuration ``` { “system”: { “passwordsalt”: “***REMOVED SENSITIVE VALUE***”, “secret”: “***REMOVED SENSITIVE VALUE***”, “trusted_domains”: { “0”: “localhost”, “7”: “nextcloudpi”, “5”: “nextcloudpi.local”, “8”: “nextcloudpi.lan”, “3”: “nc.hxfam.com”, “11”: “2600:4040:444b:ce00:47d1:fba5:c8f2:7919”, “1”: “192.168.226.201”, “14”: “nextcloudpi”, “2”: “nc.hxfam.com” }, “datadirectory”: “***REMOVED SENSITIVE VALUE***”, “dbtype”: “mysql”, “version”: “30.0.15.1”, “overwrite.cli.url”: “https:\/\/nc.hxfam.com\/”, “dbname”: “***REMOVED SENSITIVE VALUE***”, “dbhost”: “***REMOVED SENSITIVE VALUE***”, “dbport”: “”, “dbtableprefix”: “oc_”, “mysql.utf8mb4”: true, “dbuser”: “***REMOVED SENSITIVE VALUE***”, “dbpassword”: “***REMOVED SENSITIVE VALUE***”, “installed”: true, “instanceid”: “***REMOVED SENSITIVE VALUE***”, “memcache.local”: “\\OC\\Memcache\\Redis”, “memcache.locking”: “\\OC\\Memcache\\Redis”, “redis”: { “host”: “***REMOVED SENSITIVE VALUE***”, “port”: 0, “timeout”: 0, “password”: “***REMOVED SENSITIVE VALUE***” }, “tempdirectory”: “\/media\/wb-2tb\/3ncdata\/data\/tmp”, “mail_smtpmode”: “sendmail”, “mail_smtpauthtype”: “LOGIN”, “mail_from_address”: “***REMOVED SENSITIVE VALUE***”, “mail_domain”: “***REMOVED SENSITIVE VALUE***”, “preview_max_x”: “2048”, “preview_max_y”: “2048”, “jpeg_quality”: “60”, “overwriteprotocol”: “https”, “maintenance”: false, “logfile”: “\/media\/wb-2tb\/3ncdata\/data\/nextcloud.log”, “trusted_proxies”: “***REMOVED SENSITIVE VALUE***”, “loglevel”: “2”, “log_type”: “file”, “maintenance_window_start”: 1, “htaccess.RewriteBase”: “\/”, “default_phone_region”: “US”, “default_timezone”: “America\/NewYork”, “lost_password_link”: “disabled”, “data-fingerprint”: “30f70887228a9242d70f38aa702b5a59”, “theme”: “” } } ```
HTTPd logs ``` [Mon Sep 22 03:57:23.791258 2025] [core:error] [pid 61207:tid 61270] [client 66.179.191.213:50642] AH10244: invalid URI path (/cgi-bin/.%2e/.%2e/.%2e/.%2e/.%2e/.%2e/.%2e/.%2e/.%2e/.%2e/bin/sh) [Mon Sep 22 03:57:23.906670 2025] [core:error] [pid 61207:tid 61276] [client 66.179.191.213:50656] AH10244: invalid URI path (/cgi-bin/%%32%65%%32%65/%%32%65%%32%65/%%32%65%%32%65/%%32%65%%32%65/%%32%65%%32%65/%%32%65%%32%65/%%32%65%%32%65/bin/sh) [Mon Sep 22 08:32:06.546024 2025] [core:error] [pid 61193:tid 61290] [client 87.120.126.162:49562] AH10244: invalid URI path (/cgi-bin/.%2e/.%2e/.%2e/.%2e/.%2e/.%2e/.%2e/.%2e/.%2e/.%2e/bin/sh) [Mon Sep 22 08:32:06.984104 2025] [core:error] [pid 61207:tid 61249] [client 87.120.126.162:48974] AH10244: invalid URI path (/cgi-bin/%%32%65%%32%65/%%32%65%%32%65/%%32%65%%32%65/%%32%65%%32%65/%%32%65%%32%65/%%32%65%%32%65/%%32%65%%32%65/bin/sh) [Mon Sep 22 12:38:41.815710 2025] [core:error] [pid 61207:tid 61256] [client 173.212.238.133:54326] AH10244: invalid URI path (/cgi-bin/.%2e/.%2e/.%2e/.%2e/.%2e/.%2e/.%2e/.%2e/.%2e/.%2e/bin/sh) [Mon Sep 22 12:38:42.221192 2025] [core:error] [pid 61207:tid 61250] [client 173.212.238.133:54336] AH10244: invalid URI path (/cgi-bin/%%32%65%%32%65/%%32%65%%32%65/%%32%65%%32%65/%%32%65%%32%65/%%32%65%%32%65/%%32%65%%32%65/%%32%65%%32%65/bin/sh) ```
Database logs ``` tail: cannot open ‘/var/log/mysql/*.log’ for reading: No such file or directory ```
Nextcloud logs ``` {“reqId”:“pA2RnGGjwpr5J3VMvvTM”,“level”:1,“time”:“2025-09-22T13:36:46+00:00”,“remoteAddr”:“”,“user”:“–”,“app”:“updater”,“method”:“”,“url”:“–”,“message”:“OC\\Repair\\Events\\RepairStepEvent: Repair step: Queue a job to generate metadata”,“userAgent”:“–”,“version”:“30.0.13.1”,“data”:{“app”:“updater”}} {“reqId”:“pA2RnGGjwpr5J3VMvvTM”,“level”:0,“time”:“2025-09-22T13:36:46+00:00”,“remoteAddr”:“”,“user”:“–”,“app”:“no app in context”,“method”:“”,“url”:“–”,“message”:“dirty table reads: SELECT `id` FROM `*PREFIX*jobs` WHERE (`class` = :dcValue1) AND (`argument_hash` = :dcValue2) LIMIT 1”,“userAgent”:“–”,“version”:“30.0.13.1”,“exception”:{“Exception”:“Exception”,“Message”:“dirty table reads: SELECT `id` FROM `*PREFIX*jobs` WHERE (`class` = :dcValue1) AND (`argument_hash` = :dcValue2) LIMIT 1”,“Code”:0,“Trace”:[{“file”:“/var/www/nextcloud/lib/private/DB/ConnectionAdapter.php”,“line”:50,“function”:“executeQuery”,“class”:“OC\\DB\\Connection”,“type”:“->”},{“file”:“/var/www/nextcloud/lib/private/DB/QueryBuilder/QueryBuilder.php”,“line”:289,“function”:“executeQuery”,“class”:“OC\\DB\\ConnectionAdapter”,“type”:“->”},{“file”:“/var/www/nextcloud/lib/private/BackgroundJob/JobList.php”,“line”:130,“function”:“executeQuery”,“class”:“OC\\DB\\QueryBuilder\\QueryBuilder”,“type”:“->”},{“file”:“/var/www/nextcloud/lib/private/BackgroundJob/JobList.php”,“line”:50,“function”:“has”,“class”:“OC\\BackgroundJob\\JobList”,“type”:“->”},{“file”:“/var/www/nextcloud/lib/private/Repair/AddMetadataGenerationJob.php”,“line”:25,“function”:“add”,“class”:“OC\\BackgroundJob\\JobList”,“type”:“->”},{“file”:“/var/www/nextcloud/lib/private/Repair.php”,“line”:102,“function”:“run”,“class”:“OC\\Repair\\AddMetadataGenerationJob”,“type”:“->”},{“file”:“/var/www/nextcloud/lib/private/Updater.php”,“line”:263,“function”:“run”,“class”:“OC\\Repair”,“type”:“->”},{“file”:“/var/www/nextcloud/lib/private/Updater.php”,“line”:98,“function”:“doUpgrade”,“class”:“OC\\Updater”,“type”:“->”},{“file”:“/var/www/nextcloud/core/Command/Upgrade.php”,“line”:190,“function”:“upgrade”,“class”:“OC\\Updater”,“type”:“->”},{“file”:“/var/www/nextcloud/3rdparty/symfony/console/Command/Command.php”,“line”:326,“function”:“execute”,“class”:“OC\\Core\\Command\\Upgrade”,“type”:“->”},{“file”:“/var/www/nextcloud/3rdparty/symfony/console/Application.php”,“line”:1078,“function”:“run”,“class”:“Symfony\\Component\\Console\\Command\\Command”,“type”:“->”},{“file”:“/var/www/nextcloud/3rdparty/symfony/console/Application.php”,“line”:324,“function”:“doRunCommand”,“class”:“Symfony\\Component\\Console\\Application”,“type”:“->”},{“file”:“/var/www/nextcloud/3rdparty/symfony/console/Application.php”,“line”:175,“function”:“doRun”,“class”:“Symfony\\Component\\Console\\Application”,“type”:“->”},{“file”:“/var/www/nextcloud/lib/private/Console/Application.php”,“line”:183,“function”:“run”,“class”:“Symfony\\Component\\Console\\Application”,“type”:“->”},{“file”:“/var/www/nextcloud/console.php”,“line”:87,“function”:“run”,“class”:“OC\\Console\\Application”,“type”:“->”},{“file”:“/var/www/nextcloud/occ”,“line”:33,“args”:[“/var/www/nextcloud/console.php”],“function”:“require_once”}],“File”:“/var/www/nextcloud/lib/private/DB/Connection.php”,“Line”:402,“message”:“dirty table reads: SELECT `id` FROM `*PREFIX*jobs` WHERE (`class` = :dcValue1) AND (`argument_hash` = :dcValue2) LIMIT 1”,“tables”:[“oc_migrations”,“oc_jobs”,“oc_appconfig”,“oc_filecache”,“oc_notes_meta”,“oc_oauth2_access_tokens”,“oc_oauth2_clients”,“oc_filecache_extended”,“oc_files_metadata”,“oc_files_metadata_index”],“reads”:[“oc_jobs”],“exception”:{},“CustomMessage”:“dirty table reads: SELECT `id` FROM `*PREFIX*jobs` WHERE (`class` = :dcValue1) AND (`argument_hash` = :dcValue2) LIMIT 1”}} {“reqId”:“pA2RnGGjwpr5J3VMvvTM”,“level”:1,“time”:“2025-09-22T13:36:46+00:00”,“remoteAddr”:“”,“user”:“–”,“app”:“updater”,“method”:“”,“url”:“–”,“message”:“OC\\Repair\\Events\\RepairStepEvent: Repair step: migrate lazy config values”,“userAgent”:“–”,“version”:“30.0.13.1”,“data”:{“app”:“updater”}} {“reqId”:“pA2RnGGjwpr5J3VMvvTM”,“level”:0,“time”:“2025-09-22T13:36:46+00:00”,“remoteAddr”:“”,“user”:“–”,“app”:“no app in context”,“method”:“”,“url”:“–”,“message”:“The loading of lazy AppConfig values have been requested”,“userAgent”:“–”,“version”:“30.0.13.1”,“exception”:{“Exception”:“RuntimeException”,“Message”:“ignorable exception”,“Code”:0,“Trace”:[{“file”:“/var/www/nextcloud/lib/private/AppConfig.php”,“line”:1184,“function”:“loadConfig”,“class”:“OC\\AppConfig”,“type”:“->”},{“file”:“/var/www/nextcloud/lib/private/AppConfig.php”,“line”:957,“function”:“loadConfigAll”,“class”:“OC\\AppConfig”,“type”:“->”},{“file”:“/var/www/nextcloud/lib/private/Repair/AddAppConfigLazyMigration.php”,“line”:39,“function”:“updateLazy”,“class”:“OC\\AppConfig”,“type”:“->”,“args”:[“*** sensitive parameters replaced ***”]},{“file”:“/var/www/nextcloud/lib/private/Repair.php”,“line”:102,“function”:“run”,“class”:“OC\\Repair\\AddAppConfigLazyMigration”,“type”:“->”},{“file”:“/var/www/nextcloud/lib/private/Updater.php”,“line”:263,“function”:“run”,“class”:“OC\\Repair”,“type”:“->”},{“file”:“/var/www/nextcloud/lib/private/Updater.php”,“line”:98,“function”:“doUpgrade”,“class”:“OC\\Updater”,“type”:“->”},{“file”:“/var/www/nextcloud/core/Command/Upgrade.php”,“line”:190,“function”:“upgrade”,“class”:“OC\\Updater”,“type”:“->”},{“file”:“/var/www/nextcloud/3rdparty/symfony/console/Command/Command.php”,“line”:326,“function”:“execute”,“class”:“OC\\Core\\Command\\Upgrade”,“type”:“->”},{“file”:“/var/www/nextcloud/3rdparty/symfony/console/Application.php”,“line”:1078,“function”:“run”,“class”:“Symfony\\Component\\Console\\Command\\Command”,“type”:“->”},{“file”:“/var/www/nextcloud/3rdparty/symfony/console/Application.php”,“line”:324,“function”:“doRunCommand”,“class”:“Symfony\\Component\\Console\\Application”,“type”:“->”},{“file”:“/var/www/nextcloud/3rdparty/symfony/console/Application.php”,“line”:175,“function”:“doRun”,“class”:“Symfony\\Component\\Console\\Application”,“type”:“->”},{“file”:“/var/www/nextcloud/lib/private/Console/Application.php”,“line”:183,“function”:“run”,“class”:“Symfony\\Component\\Console\\Application”,“type”:“->”},{“file”:“/var/www/nextcloud/console.php”,“line”:87,“function”:“run”,“class”:“OC\\Console\\Application”,“type”:“->”},{“file”:“/var/www/nextcloud/occ”,“line”:33,“args”:[“/var/www/nextcloud/console.php”],“function”:“require_once”}],“File”:“/var/www/nextcloud/lib/private/AppConfig.php”,“Line”:1198,“message”:“The loading of lazy AppConfig values have been requested”,“exception”:{},“CustomMessage”:“The loading of lazy AppConfig values have been requested”}} {“reqId”:“pA2RnGGjwpr5J3VMvvTM”,“level”:0,“time”:“2025-09-22T13:36:46+00:00”,“remoteAddr”:“”,“user”:“–”,“app”:“no app in context”,“method”:“”,“url”:“–”,“message”:“dirty table reads: SELECT `appid`, `configkey`, `configvalue`, `type`, `lazy` FROM `*PREFIX*appconfig`”,“userAgent”:“–”,“version”:“30.0.13.1”,“exception”:{“Exception”:“Exception”,“Message”:“dirty table reads: SELECT `appid`, `configkey`, `configvalue`, `type`, `lazy` FROM `*PREFIX*appconfig`”,“Code”:0,“Trace”:[{“file”:“/var/www/nextcloud/lib/private/DB/ConnectionAdapter.php”,“line”:50,“function”:“executeQuery”,“class”:“OC\\DB\\Connection”,“type”:“->”},{“file”:“/var/www/nextcloud/lib/private/DB/QueryBuilder/QueryBuilder.php”,“line”:289,“function”:“executeQuery”,“class”:“OC\\DB\\ConnectionAdapter”,“type”:“->”},{“file”:“/var/www/nextcloud/lib/private/AppConfig.php”,“line”:1222,“function”:“executeQuery”,“class”:“OC\\DB\\QueryBuilder\\QueryBuilder”,“type”:“->”},{“file”:“/var/www/nextcloud/lib/private/AppConfig.php”,“line”:1184,“function”:“loadConfig”,“class”:“OC\\AppConfig”,“type”:“->”},{“file”:“/var/www/nextcloud/lib/private/AppConfig.php”,“line”:957,“function”:“loadConfigAll”,“class”:“OC\\AppConfig”,“type”:“->”},{“file”:“/var/www/nextcloud/lib/private/Repair/AddAppConfigLazyMigration.php”,“line”:39,“function”:“updateLazy”,“class”:“OC\\AppConfig”,“type”:“->”,“args”:[“*** sensitive parameters replaced ***”]},{“file”:“/var/www/nextcloud/lib/private/Repair.php”,“line”:102,“function”:“run”,“class”:“OC\\Repair\\AddAppConfigLazyMigration”,“type”:“->”},{“file”:“/var/www/nextcloud/lib/private/Updater.php”,“line”:263,“function”:“run”,“class”:“OC\\Repair”,“type”:“->”},{“file”:“/var/www/nextcloud/lib/private/Updater.php”,“line”:98,“function”:“doUpgrade”,“class”:“OC\\Updater”,“type”:“->”},{“file”:“/var/www/nextcloud/core/Command/Upgrade.php”,“line”:190,“function”:“upgrade”,“class”:“OC\\Updater”,“type”:“->”},{“file”:“/var/www/nextcloud/3rdparty/symfony/console/Command/Command.php”,“line”:326,“function”:“execute”,“class”:“OC\\Core\\Command\\Upgrade”,“type”:“->”},{“file”:“/var/www/nextcloud/3rdparty/symfony/console/Application.php”,“line”:1078,“function”:“run”,“class”:“Symfony\\Component\\Console\\Command\\Command”,“type”:“->”},{“file”:“/var/www/nextcloud/3rdparty/symfony/console/Application.php”,“line”:324,“function”:“doRunCommand”,“class”:“Symfony\\Component\\Console\\Application”,“type”:“->”},{“file”:“/var/www/nextcloud/3rdparty/symfony/console/Application.php”,“line”:175,“function”:“doRun”,“class”:“Symfony\\Component\\Console\\Application”,“type”:“->”},{“file”:“/var/www/nextcloud/lib/private/Console/Application.php”,“line”:183,“function”:“run”,“class”:“Symfony\\Component\\Console\\Application”,“type”:“->”},{“file”:“/var/www/nextcloud/console.php”,“line”:87,“function”:“run”,“class”:“OC\\Console\\Application”,“type”:“->”},{“file”:“/var/www/nextcloud/occ”,“line”:33,“args”:[“/var/www/nextcloud/console.php”],“function”:“require_once”}],“File”:“/var/www/nextcloud/lib/private/DB/Connection.php”,“Line”:402,“message”:“dirty table reads: SELECT `appid`, `configkey`, `configvalue`, `type`, `lazy` FROM `*PREFIX*appconfig`”,“tables”:[“oc_migrations”,“oc_jobs”,“oc_appconfig”,“oc_filecache”,“oc_notes_meta”,“oc_oauth2_access_tokens”,“oc_oauth2_clients”,“oc_filecache_extended”,“oc_files_metadata”,“oc_files_metadata_index”],“reads”:[“oc_appconfig”],“exception”:{},“CustomMessage”:“dirty table reads: SELECT `appid`, `configkey`, `configvalue`, `type`, `lazy` FROM `*PREFIX*appconfig`”}} {“reqId”:“pA2RnGGjwpr5J3VMvvTM”,“level”:1,“time”:“2025-09-22T13:36:46+00:00”,“remoteAddr”:“”,“user”:“–”,“app”:“no app in context”,“method”:“”,“url”:“–”,“message”:“core/BackgroundJobs/AppConfigLazyMigration: 0 config values updated”,“userAgent”:“–”,“version”:“30.0.13.1”,“data”:[]} {“reqId”:“pA2RnGGjwpr5J3VMvvTM”,“level”:1,“time”:“2025-09-22T13:36:46+00:00”,“remoteAddr”:“”,“user”:“–”,“app”:“updater”,“method”:“”,“url”:“–”,“message”:“OC\\Repair\\Events\\RepairStepEvent: Repair step: Cache logo dimension to fix size in emails on Outlook”,“userAgent”:“–”,“version”:“30.0.13.1”,“data”:{“app”:“updater”}} {“reqId”:“pA2RnGGjwpr5J3VMvvTM”,“level”:1,“time”:“2025-09-22T13:36:46+00:00”,“remoteAddr”:“”,“user”:“–”,“app”:“updater”,“method”:“”,“url”:“–”,“message”:“OC\\Repair\\Events\\RepairInfoEvent: Repair info: Logo dimensions are already known”,“userAgent”:“–”,“version”:“30.0.13.1”,“data”:{“app”:“updater”}} {“reqId”:“pA2RnGGjwpr5J3VMvvTM”,“level”:1,“time”:“2025-09-22T13:36:46+00:00”,“remoteAddr”:“”,“user”:“–”,“app”:“updater”,“method”:“”,“url”:“–”,“message”:“OC\\Repair\\Events\\RepairStepEvent: Repair step: Remove legacy \”.ocdata\" file",“userAgent”:“–”,“version”:“30.0.13.1”,“data”:{“app”:“updater”}} {“reqId”:“pA2RnGGjwpr5J3VMvvTM”,“level”:1,“time”:“2025-09-22T13:36:46+00:00”,“remoteAddr”:“”,“user”:“–”,“app”:“updater”,“method”:“”,“url”:“–”,“message”:“OC\\Repair\\Events\\RepairStepEvent: Repair step: Add cleanup-deleted-users background job”,“userAgent”:“–”,“version”:“30.0.13.1”,“data”:{“app”:“updater”}} {“reqId”:“pA2RnGGjwpr5J3VMvvTM”,“level”:0,“time”:“2025-09-22T13:36:46+00:00”,“remoteAddr”:“”,“user”:“–”,“app”:“no app in context”,“method”:“”,“url”:“–”,“message”:“dirty table reads: SELECT `id` FROM `*PREFIX*jobs` WHERE (`class` = :dcValue1) AND (`argument_hash` = :dcValue2) LIMIT 1”,“userAgent”:“–”,“version”:“30.0.13.1”,“exception”:{“Exception”:“Exception”,“Message”:“dirty table reads: SELECT `id` FROM `*PREFIX*jobs` WHERE (`class` = :dcValue1) AND (`argument_hash` = :dcValue2) LIMIT 1”,“Code”:0,“Trace”:[{“file”:“/var/www/nextcloud/lib/private/DB/ConnectionAdapter.php”,“line”:50,“function”:“executeQuery”,“class”:“OC\\DB\\Connection”,“type”:“->”},{“file”:“/var/www/nextcloud/lib/private/DB/QueryBuilder/QueryBuilder.php”,“line”:289,“function”:“executeQuery”,“class”:“OC\\DB\\ConnectionAdapter”,“type”:“->”},{“file”:“/var/www/nextcloud/lib/private/BackgroundJob/JobList.php”,“line”:130,“function”:“executeQuery”,“class”:“OC\\DB\\QueryBuilder\\QueryBuilder”,“type”:“->”},{“file”:“/var/www/nextcloud/lib/private/BackgroundJob/JobList.php”,“line”:50,“function”:“has”,“class”:“OC\\BackgroundJob\\JobList”,“type”:“->”},{“file”:“/var/www/nextcloud/lib/private/Repair/AddCleanupDeletedUsersBackgroundJob.php”,“line”:28,“function”:“add”,“class”:“OC\\BackgroundJob\\JobList”,“type”:“->”},{“file”:“/var/www/nextcloud/lib/private/Repair.php”,“line”:102,“function”:“run”,“class”:“OC\\Repair\\AddCleanupDeletedUsersBackgroundJob”,“type”:“->”},{“file”:“/var/www/nextcloud/lib/private/Updater.php”,“line”:263,“function”:“run”,“class”:“OC\\Repair”,“type”:“->”},{“file”:“/var/www/nextcloud/lib/private/Updater.php”,“line”:98,“function”:“doUpgrade”,“class”:“OC\\Updater”,“type”:“->”},{“file”:“/var/www/nextcloud/core/Command/Upgrade.php”,“line”:190,“function”:“upgrade”,“class”:“OC\\Updater”,“type”:“->”},{“file”:“/var/www/nextcloud/3rdparty/symfony/console/Command/Command.php”,“line”:326,“function”:“execute”,“class”:“OC\\Core\\Command\\Upgrade”,“type”:“->”},{“file”:“/var/www/nextcloud/3rdparty/symfony/console/Application.php”,“line”:1078,“function”:“run”,“class”:“Symfony\\Component\\Console\\Command\\Command”,“type”:“->”},{“file”:“/var/www/nextcloud/3rdparty/symfony/console/Application.php”,“line”:324,“function”:“doRunCommand”,“class”:“Symfony\\Component\\Console\\Application”,“type”:“->”},{“file”:“/var/www/nextcloud/3rdparty/symfony/console/Application.php”,“line”:175,“function”:“doRun”,“class”:“Symfony\\Component\\Console\\Application”,“type”:“->”},{“file”:“/var/www/nextcloud/lib/private/Console/Application.php”,“line”:183,“function”:“run”,“class”:“Symfony\\Component\\Console\\Application”,“type”:“->”},{“file”:“/var/www/nextcloud/console.php”,“line”:87,“function”:“run”,“class”:“OC\\Console\\Application”,“type”:“->”},{“file”:“/var/www/nextcloud/occ”,“line”:33,“args”:[“/var/www/nextcloud/console.php”],“function”:“require_once”}],“File”:“/var/www/nextcloud/lib/private/DB/Connection.php”,“Line”:402,“message”:“dirty table reads: SELECT `id` FROM `*PREFIX*jobs` WHERE (`class` = :dcValue1) AND (`argument_hash` = :dcValue2) LIMIT 1”,“tables”:[“oc_migrations”,“oc_jobs”,“oc_appconfig”,“oc_filecache”,“oc_notes_meta”,“oc_oauth2_access_tokens”,“oc_oauth2_clients”,“oc_filecache_extended”,“oc_files_metadata”,“oc_files_metadata_index”],“reads”:[“oc_jobs”],“exception”:{},“CustomMessage”:“dirty table reads: SELECT `id` FROM `*PREFIX*jobs` WHERE (`class` = :dcValue1) AND (`argument_hash` = :dcValue2) LIMIT 1”}} {“reqId”:“pA2RnGGjwpr5J3VMvvTM”,“level”:1,“time”:“2025-09-22T13:36:46+00:00”,“remoteAddr”:“”,“user”:“–”,“app”:“updater”,“method”:“”,“url”:“–”,“message”:“OC\\Repair\\Events\\RepairStepEvent: Repair step: Validate account properties and store phone numbers in a known format for search”,“userAgent”:“–”,“version”:“30.0.13.1”,“data”:{“app”:“updater”}} {“reqId”:“pA2RnGGjwpr5J3VMvvTM”,“level”:0,“time”:“2025-09-22T13:36:46+00:00”,“remoteAddr”:“”,“user”:“–”,“app”:“no app in context”,“method”:“”,“url”:“–”,“message”:“dirty table reads: SELECT `id` FROM `*PREFIX*jobs` WHERE (`class` = :dcValue1) AND (`argument_hash` = :dcValue2) LIMIT 1”,“userAgent”:“–”,“version”:“30.0.13.1”,“exception”:{“Exception”:“Exception”,“Message”:“dirty table reads: SELECT `id` FROM `*PREFIX*jobs` WHERE (`class` = :dcValue1) AND (`argument_hash` = :dcValue2) LIMIT 1”,“Code”:0,“Trace”:[{“file”:“/var/www/nextcloud/lib/private/DB/ConnectionAdapter.php”,“line”:50,“function”:“executeQuery”,“class”:“OC\\DB\\Connection”,“type”:“->”},{“file”:“/var/www/nextcloud/lib/private/DB/QueryBuilder/QueryBuilder.php”,“line”:289,“function”:“executeQuery”,“class”:“OC\\DB\\ConnectionAdapter”,“type”:“->”},{“file”:“/var/www/nextcloud/lib/private/BackgroundJob/JobList.php”,“line”:130,“function”:“executeQuery”,“class”:“OC\\DB\\QueryBuilder\\QueryBuilder”,“type”:“->”},{“file”:“/var/www/nextcloud/lib/private/BackgroundJob/JobList.php”,“line”:50,“function”:“has”,“class”:“OC\\BackgroundJob\\JobList”,“type”:“->”},{“file”:“/var/www/nextcloud/lib/private/Repair/NC29/SanitizeAccountProperties.php”,“line”:27,“function”:“add”,“class”:“OC\\BackgroundJob\\JobList”,“type”:“->”},{“file”:“/var/www/nextcloud/lib/private/Repair.php”,“line”:102,“function”:“run”,“class”:“OC\\Repair\\NC29\\SanitizeAccountProperties”,“type”:“->”},{“file”:“/var/www/nextcloud/lib/private/Updater.php”,“line”:263,“function”:“run”,“class”:“OC\\Repair”,“type”:“->”},{“file”:“/var/www/nextcloud/lib/private/Updater.php”,“line”:98,“function”:“doUpgrade”,“class”:“OC\\Updater”,“type”:“->”},{“file”:“/var/www/nextcloud/core/Command/Upgrade.php”,“line”:190,“function”:“upgrade”,“class”:“OC\\Updater”,“type”:“->”},{“file”:“/var/www/nextcloud/3rdparty/symfony/console/Command/Command.php”,“line”:326,“function”:“execute”,“class”:“OC\\Core\\Command\\Upgrade”,“type”:“->”},{“file”:“/var/www/nextcloud/3rdparty/symfony/console/Application.php”,“line”:1078,“function”:“run”,“class”:“Symfony\\Component\\Console\\Command\\Command”,“type”:“->”},{“file”:“/var/www/nextcloud/3rdparty/symfony/console/Application.php”,“line”:324,“function”:“doRunCommand”,“class”:“Symfony\\Component\\Console\\Application”,“type”:“->”},{“file”:“/var/www/nextcloud/3rdparty/symfony/console/Application.php”,“line”:175,“function”:“doRun”,“class”:“Symfony\\Component\\Console\\Application”,“type”:“->”},{“file”:“/var/www/nextcloud/lib/private/Console/Application.php”,“line”:183,“function”:“run”,“class”:“Symfony\\Component\\Console\\Application”,“type”:“->”},{“file”:“/var/www/nextcloud/console.php”,“line”:87,“function”:“run”,“class”:“OC\\Console\\Application”,“type”:“->”},{“file”:“/var/www/nextcloud/occ”,“line”:33,“args”:[“/var/www/nextcloud/console.php”],“function”:“require_once”}],“File”:“/var/www/nextcloud/lib/private/DB/Connection.php”,“Line”:402,“message”:“dirty table reads: SELECT `id` FROM `*PREFIX*jobs` WHERE (`class` = :dcValue1) AND (`argument_hash` = :dcValue2) LIMIT 1”,“tables”:[“oc_migrations”,“oc_jobs”,“oc_appconfig”,“oc_filecache”,“oc_notes_meta”,“oc_oauth2_access_tokens”,“oc_oauth2_clients”,“oc_filecache_extended”,“oc_files_metadata”,“oc_files_metadata_index”],“reads”:[“oc_jobs”],“exception”:{},“CustomMessage”:“dirty table reads: SELECT `id` FROM `*PREFIX*jobs` WHERE (`class` = :dcValue1) AND (`argument_hash` = :dcValue2) LIMIT 1”}} {“reqId”:“pA2RnGGjwpr5J3VMvvTM”,“level”:1,“time”:“2025-09-22T13:36:46+00:00”,“remoteAddr”:“”,“user”:“–”,“app”:“updater”,“method”:“”,“url”:“–”,“message”:“OC\\Repair\\Events\\RepairInfoEvent: Repair info: Queued background to validate account properties.”,“userAgent”:“–”,“version”:“30.0.13.1”,“data”:{“app”:“updater”}} {“reqId”:“pA2RnGGjwpr5J3VMvvTM”,“level”:0,“time”:“2025-09-22T13:36:46+00:00”,“remoteAddr”:“”,“user”:“–”,“app”:“serverDI”,“method”:“”,“url”:“–”,“message”:“The requested alias \“IntegrityCodeChecker\” is deprecated. Please request \“OC\\IntegrityCheck\\Checker\” directly. This alias will be removed in a future Nextcloud version.”,“userAgent”:“–”,“version”:“30.0.13.1”,“data”:{“app”:“serverDI”}} {“reqId”:“pA2RnGGjwpr5J3VMvvTM”,“level”:1,“time”:“2025-09-22T13:36:46+00:00”,“remoteAddr”:“”,“user”:“–”,“app”:“updater”,“method”:“”,“url”:“–”,“message”:“\\OC\\Updater::startCheckCodeIntegrity: Starting code integrity check…”,“userAgent”:“–”,“version”:“30.0.13.1”,“data”:{“app”:“updater”}} {“reqId”:“pA2RnGGjwpr5J3VMvvTM”,“level”:1,“time”:“2025-09-22T13:37:09+00:00”,“remoteAddr”:“”,“user”:“–”,“app”:“updater”,“method”:“”,“url”:“–”,“message”:“\\OC\\Updater::finishedCheckCodeIntegrity: Finished code integrity check”,“userAgent”:“–”,“version”:“30.0.13.1”,“data”:{“app”:“updater”}} {“reqId”:“pA2RnGGjwpr5J3VMvvTM”,“level”:1,“time”:“2025-09-22T13:37:09+00:00”,“remoteAddr”:“”,“user”:“–”,“app”:“updater”,“method”:“”,“url”:“–”,“message”:“\\OC\\Updater::updateEnd: Update successful”,“userAgent”:“–”,“version”:“30.0.15.1”,“data”:{“app”:“updater”}} {“reqId”:“pA2RnGGjwpr5J3VMvvTM”,“level”:1,“time”:“2025-09-22T13:37:09+00:00”,“remoteAddr”:“”,“user”:“–”,“app”:“updater”,“method”:“”,“url”:“–”,“message”:“\\OC\\Updater::maintenanceDisabled: Turned off maintenance mode”,“userAgent”:“–”,“version”:“30.0.15.1”,“data”:{“app”:“updater”}} {“reqId”:“pA2RnGGjwpr5J3VMvvTM”,“level”:1,“time”:“2025-09-22T13:37:09+00:00”,“remoteAddr”:“”,“user”:“–”,“app”:“updater”,“method”:“”,“url”:“–”,“message”:“\\OC\\Updater::resetLogLevel: Reset log level to Warning(2)”,“userAgent”:“–”,“version”:“30.0.15.1”,“data”:{“app”:“updater”}} ```

Tips for increasing the likelihood of a response

  • Use the preformatted text formatting option in the editor for all log entries and configuration output.
  • If screenshots are useful, feel free to include them.
    • If possible, also include key error output in text form so it can be searched for.
  • Try to edit log output only minimally (if at all) so that it can be ran through analyzers / formatters by those trying to help you.

Well, this sounds a bit like a system problem with debian/raspbian packages and the package manger apt. Just to tell you, where you might be able to find information as well.

You have a few things cached from apt, you can delete the cached stuff (apt-cache clean), and then try again. If you have installed a specific package after which the problems happened, it can help to deinstall this specific package. E.g. I don’t know what is in this raspi-firmware package, perhaps delete it first, check if the installer is working again.

If the installer is/was broken and you haven’t started the upgrades, it is possible that you have that many packages to upgrade. If you have solved the problem why the installer is broken, I’d recommend to upgrade all the packages very soon. They often contain important bug and security fixes.

(with the package manager and these specific problems, I’d check the raspbian community, you are probably not the first with such issues).

For me it looks like the above is the problem. One package wants to overwrite file '/etc/kernel/postinst.d/z50-raspi-firmware', but this file is also needed by package armbian-bsp-cli-rpi4b-current 25.2.3. So it can’t be overwrtten.

It seems to be an know issue read: Keine Updates oder Installationen mehr möglich wegen fehlender Firmware oder Bootloader (german) and the in that german forum linked solution from Rob Latour: sudo apt upgrade / sudo apt full-upgrade fails - raspberrypi-bootloader but it is not installable or raspi-firmware but it is not installed (english).

Oh and the last Link directed me to Internal Server Error After Php8.3 Upgrade on 12 Apr NCP 1.55.3 on RPi5

So the problem seems to be caused by Update to PHP8.3 on RPi’s.

One thing I have never been sure about for NextcloudPi specifically is whether it is “safe” and “intended” to run apt upgrade from the commandline. If I remember correctly, doing this may install a newer version of PHP than what is intended by the nextcloudpi maintainers, and break things. I have been following the procedures on Staying up to date , which specifies using unattended-upgrades rather than apt upgrade. See here:

NCP users do not need to run apt manually. Should you decide to do so anyway keep in mind there are various issues that can occur, one of those being a mismatch of the PHP versions of all the modules installed, specifically the php-fpm module.

That said, since I have 162 packages needing to be updated, it is clear that unattended upgradesis being blocked by the bug @adelaar linked to above, and I need to follow the steps to resolve it.

Following the english link above, I ran apt remove libraspberrypi0 libraspberrypi-bin. This gave the following error:

Processing triggers for initramfs-tools (0.142+deb12u1) ...
update-initramfs: Generating /boot/initrd.img-6.12.21-current-bcm2711
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8156b-2.fw for built-in driver r8152
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8156a-2.fw for built-in driver r8152
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8153c-1.fw for built-in driver r8152
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8153b-2.fw for built-in driver r8152
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8153a-4.fw for built-in driver r8152
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8153a-3.fw for built-in driver r8152
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8153a-2.fw for built-in driver r8152

I then triggered unattended-upgrades to run on-demand with unattended-upgrades -d. This spent 30+ minutes updating packages, and I saw the same error as above re: missing firmware a few times. At the end, the firmware package that was installed was called linux-firmware-raspi/now 12-0ubuntu1 arm64 [installed,local].

After a reboot, no additional packages were able to be installed by unattended-upgrades. See the output here. Debian Pastezone

Thank you all for your help!

P.S.: What is armbian-upgrade?

In retrospect, was I meant to do armbian-upgrade first before apt remove libraspberrypi0 libraspberrypi-bin? I could not find a man page for armbian-upgrade or a –help option so it is not clear what it does. By using less to inspect the command, it says:

#!/bin/bash
trap "exit" INT TERM
[[ $EUID != 0 ]] && exec sudo "$0" "$@"
apt update
apt -y upgrade
apt clean
apt -y autoremove
exit 0

This looks like it might break nextcloudpi since it is using apt -y upgrade so I’m glad I did not run it after all.

Hope this helps somebody!