[Bug]: Apps compatible with new version misleading
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 48/100
Direzione di ricerca
Start by tracing the update app’s compatibility check and the occ upgrade app compatibility handling; the issue does not name their files or tests. Compare how each decides whether an app is compatible, then add or run tests that verify both report the same result for the reported Nextcloud 34.0.5 to 34.0.6 upgrade.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
⚠️ This issue respects the following points: ⚠️
- This is not a troubleshooting question, general support matter, or webserver/proxy problem, but likely a bug (if unsure, ask the Community Help Forum).
- This issue is not already reported on Github OR solved at the Community Help Forum (I've searched!).
- I'm using a maintained major version of Nextcloud Server and tested against the latest patch level. (Supported major versions and current patch levels).
- I agree to follow Nextcloud's Code of Conduct.
- I've tried my best to provide clear reproduction steps that someone unfamiliar with this bug could use to reproduce it.
Bug description
When presenting the option in admin UI to update to new version the compatible apps check does not agree with the occ upgrade step, making it possible for apps to be disabled even though the ui said "All apps have a compatible version for this Nextcloud version available."
Steps to reproduce
The issue is in general more about there being a miss-match, but how it occurred for me now:
- Have an 34.0.5 instance with nextcloud memories
- Observe update to 34.0.6 has no incompatible apps
- Perform update, nextcloud memories gets disabled
Not that nextcloud memories is compatible with nc 34.0.6 so it becoming disabled is a bug in it self (seems to be issues with the apps repository?) - this isuue is about the missmatch- occ upgrade and the UI check must mean the same thing and report the same result.
It is/was also common for some apps to be reported as compatible only to be disabled removed by occ upgrade but then reenable a renamed/merged into core functionality which has been confusing.
Expected behavior
The update app compatibility check must report the same as occ upgrade
Nextcloud Server version
34
Operating system
Other
PHP engine version
PHP 8.4
Web server
Apache (supported)
Database engine version
MariaDB
Is this bug present after an update or on a fresh install?
Updated from a MINOR version (ex. 32.0.1 to 32.0.2)
Are you using the Nextcloud Server Encryption module?
Encryption is Disabled
What user-backends are you using?
- Default user-backend (database)
- LDAP/ Active Directory
- SSO - SAML
- Other
Configuration report
{
"system": {
"instanceid": "***REMOVED SENSITIVE VALUE***",
"serverid": 1,
"passwordsalt": "***REMOVED SENSITIVE VALUE***",
"secret": "***REMOVED SENSITIVE VALUE***",
"trusted_domains": [
"10.42.3.32",
"xn--skmolnet-8za.eterkludd.se"
],
"datadirectory": "***REMOVED SENSITIVE VALUE***",
"dbtype": "mysql",
"version": "34.0.6.2",
"trusted_proxies": "***REMOVED SENSITIVE VALUE***",
"overwrite.cli.url": "https:\/\/xn--skmolnet-8za.eterkludd.se\/",
"overwriteprotocol": "https",
"htaccess.RewriteBase": "\/",
"dbname": "***REMOVED SENSITIVE VALUE***",
"dbhost": "***REMOVED SENSITIVE VALUE***",
"dbport": "",
"dbtableprefix": "oc_",
"mysql.utf8mb4": true,
"dbuser": "***REMOVED SENSITIVE VALUE***",
"dbpassword": "***REMOVED SENSITIVE VALUE***",
"installed": true,
"maintenance_window_start": 2,
"default_phone_region": "SE",
"default_locale": "sv_SE",
"memcache.local": "\\OC\\Memcache\\APCu",
"memcache.distributed": "\\OC\\Memcache\\Redis",
"memcache.locking": "\\OC\\Memcache\\Redis",
"filelocking.enabled": "true",
"redis": {
"host": "***REMOVED SENSITIVE VALUE***",
"port": 0
},
"loglevel": 2,
"defaultapp": "files,memories,notes,calendar,contacts,cospend,activity,phonetrack,secrets",
"mail_from_address": "***REMOVED SENSITIVE VALUE***",
"mail_smtpmode": "smtp",
"mail_sendmailmode": "smtp",
"mail_domain": "***REMOVED SENSITIVE VALUE***",
"mail_smtphost": "***REMOVED SENSITIVE VALUE***",
"mail_smtpport": "587",
"mail_smtpauth": 1,
"mail_smtpname": "***REMOVED SENSITIVE VALUE***",
"mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
"skeletondirectory": "\/srv\/www\/skelett\/",
"templatedirectory": "",
"enabledPreviewProviders": [
"OC\\Preview\\Imaginary",
"OC\\Preview\\TXT",
"OC\\Preview\\MarkDown",
"OC\\Preview\\MP3",
"OC\\Preview\\Movie",
"OC\\Preview\\MKV",
"OC\\Preview\\MP4",
"OC\\Preview\\AVI"
],
"preview_imaginary_url": "***REMOVED SENSITIVE VALUE***",
"tempdirectory": "\/mnt\/ncdata\/php_tmpfiles\/",
"files.chunked_upload.max_parallel_count": 8,
"maintenance": false,
"memories.vod.disable": false,
"memories.gis_type": 1,
"memories.db.triggers.fcu": true,
"simpleSignUpLink.shown": false,
"profile.enabled": false,
"theme": "",
"enforce_theme": "dark",
"memories.vips.path": "\/srv\/www\/nextcloud\/apps\/memories\/bin-ext\/vips-amd64",
"memories.vod.path": "\/srv\/www\/nextcloud\/apps\/memories\/bin-ext\/go-vod-amd64",
"memories.vod.ffmpeg": "\/usr\/bin\/ffmpeg",
"memories.vod.ffprobe": "\/usr\/bin\/ffprobe",
"memories.exiftool": "\/srv\/www\/nextcloud\/apps\/memories\/bin-ext\/eperl-amd64-glibc",
"updater.secret": "***REMOVED SENSITIVE VALUE***"
}
}
List of activated Apps
Enabled:
- activity: 7.0.0
- appstore: 1.0.0
- bruteforcesettings: 7.0.0
- calendar: 6.6.5
- camerarawpreviews: 1.3.0
- cloud_federation_api: 1.18.0
- contacts: 8.10.0
- cospend: 4.3.0
- dav: 1.40.0
- deck: 1.18.6
- end_to_end_encryption: 2.6.0
- federatedfilesharing: 1.24.0
- federation: 1.24.0
- files: 2.6.0
- files_downloadlimit: 5.2.0
- files_external: 1.26.0
- files_lock: 34.0.1
- files_pdfviewer: 7.0.1
- files_reminders: 1.7.0
- files_sharing: 1.26.1
- files_trashbin: 1.24.0
- files_versions: 1.27.0
- logreader: 7.0.0
- lookup_server_connector: 1.22.0
- notes: 6.1.1
- notifications: 7.0.0-dev.1
- notify_push: 1.4.2
- oauth2: 1.22.0
- office: 1.0.0
- oidc: 2.6.3
- password_policy: 6.0.0-dev.0
- phonetrack: 1.6.1
- photos: 7.0.0
- privacy: 6.0.0-dev.1
- profile: 1.3.0
- provisioning_api: 1.24.0
- recommendations: 7.0.0
- registration: 3.1.1
- richdocuments: 11.1.3
- secrets: 3.0.6
- serverinfo: 6.0.0
- settings: 1.17.0
- sharebymail: 1.24.0
- survey_client: 6.0.0-dev.0
- text: 8.0.1
- theming: 2.9.0
- theming_customcss: 1.22.0
- twofactor_backupcodes: 1.23.0
- twofactor_nextcloud_notification: 8.0.0
- twofactor_totp: 16.0.0
- updatenotification: 1.24.0
- viewer: 7.0.0-dev.0
- workflowengine: 2.16.0
Disabled:
- admin_audit: 1.24.0
- app_api: 34.0.0 (installed 4.0.6)
- checksum: 2.1.2 (installed 2.1.2)
- circles: 34.0.0 (installed 30.0.0)
- comments: 1.24.0 (installed 1.20.1)
- contactsinteraction: 1.15.0 (installed 1.11.0)
- dashboard: 7.14.0 (installed 7.10.0)
- encryption: 2.22.0
- firstrunwizard: 7.0.0-dev.0 (installed 3.0.0)
- metadata: 0.24.0 (installed 0.24.0)
- nextcloud_announcements: 6.0.0 (installed 2.0.0)
- related_resources: 5.0.0-dev.0 (installed 1.5.0)
- support: 6.0.0 (installed 2.0.0)
- suspicious_login: 12.0.0-dev.0
- systemtags: 1.24.0 (installed 1.21.1)
- user_ldap: 1.25.0
- user_status: 1.14.0 (installed 1.10.0)
- weather_status: 1.14.0 (installed 1.10.0)
- webhook_listeners: 1.6.0 (installed 1.1.0-dev)
Nextcloud Signing status
No errors have been found.
Nextcloud Logs
{"reqId":"dJwBFgkYWUeSRDz94F1E","level":1,"time":"2026-11-16T11:04:08+00:00","remoteAddr":"","user":"--","app":"updater","method":"","url":"--","scriptName":"occ","message":"\\OC\\Updater::finishedCheckCodeIntegrity: Finished code integrity check","userAgent":"--","version":"34.0.5.1","occ_command":["occ","upgrade"],"data":{"app":"updater"}}
{"reqId":"dJwBFgkYWUeSRDz94F1E","level":1,"time":"2026-11-16T11:04:08+00:00","remoteAddr":"","user":"--","app":"updater","method":"","url":"--","scriptName":"occ","message":"\\OC\\Updater::updateEnd: Update successful","userAgent":"--","version":"34.0.6.2","occ_command":["occ","upgrade"],"data":{"app":"updater"}}
{"reqId":"dJwBFgkYWUeSRDz94F1E","level":1,"time":"2026-11-16T11:04:08+00:00","remoteAddr":"","user":"--","app":"updater","method":"","url":"--","scriptName":"occ","message":"\\OC\\Updater::maintenanceDisabled: Turned off maintenance mode","userAgent":"--","version":"34.0.6.2","occ_command":["occ","upgrade"],"data":{"app":"updater"}}
{"reqId":"dJwBFgkYWUeSRDz94F1E","level":1,"time":"2026-11-16T11:04:08+00:00","remoteAddr":"","user":"--","app":"updater","method":"","url":"--","scriptName":"occ","message":"\\OC\\Updater::resetLogLevel: Reset log level to Warning(2)","userAgent":"--","version":"34.0.6.2","occ_command":["occ","upgrade"],"data":{"app":"updater"}}
{"reqId":"6E0D6cpwUn2SmhfKociC","level":2,"time":"2026-11-16T11:08:13+00:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","scriptName":"/srv/www/nextcloud/cron.php","message":"unlink(/mnt/ncdata/php_tmpfiles/oc_tmp_dWYid4ubO4Z5T9o6bpBd4WbDcL059PDl/memories/exiftest.jpg): No such file or directory at /srv/www/nextcloud/lib/public/Files.php#44","userAgent":"--","version":"34.0.6.2","occ_command":["/srv/www/nextcloud/cron.php"],"data":{"app":"PHP"}}
{"reqId":"6E0D6cpwUn2SmhfKociC","level":2,"time":"2026-11-16T11:08:13+00:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","scriptName":"/srv/www/nextcloud/cron.php","message":"unlink(): No such file or directory at /srv/www/nextcloud/lib/public/Files.php#44","userAgent":"--","version":"34.0.6.2","occ_command":["/srv/www/nextcloud/cron.php"],"data":{"app":"PHP"}}
{"reqId":"6E0D6cpwUn2SmhfKociC","level":2,"time":"2026-11-16T11:08:13+00:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","scriptName":"/srv/www/nextcloud/cron.php","message":"unlink(): No such file or directory at /srv/www/nextcloud/lib/public/Files.php#44","userAgent":"--","version":"34.0.6.2","occ_command":["/srv/www/nextcloud/cron.php"],"data":{"app":"PHP"}}
{"reqId":"6E0D6cpwUn2SmhfKociC","level":2,"time":"2026-11-16T11:08:13+00:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","scriptName":"/srv/www/nextcloud/cron.php","message":"unlink(): No such file or directory at /srv/www/nextcloud/lib/public/Files.php#44","userAgent":"--","version":"34.0.6.2","occ_command":["/srv/www/nextcloud/cron.php"],"data":{"app":"PHP"}}
{"reqId":"6E0D6cpwUn2SmhfKociC","level":2,"time":"2026-11-16T11:08:13+00:00","remoteAddr":"","user":"--","app":"no app in context","method":"","url":"--","scriptName":"/srv/www/nextcloud/cron.php","message":"Error deleting temporary file/folder: /mnt/ncdata/php_tmpfiles//oc_tmp_dWYid4ubO4Z5T9o6bpBd4WbDcL059PDl - Reason: RecursiveDirectoryIterator::__construct(/mnt/ncdata/php_tmpfiles//oc_tmp_dWYid4ubO4Z5T9o6bpBd4WbDcL059PDl/memories/img): Failed to open directory: No such file or directory","userAgent":"--","version":"34.0.6.2","occ_command":["/srv/www/nextcloud/cron.php"],"data":[]}
{"reqId":"fCxkcXPNJz5kDxXRNPQx","level":2,"time":"2026-11-16T11:08:15+00:00","remoteAddr":"","user":"--","app":"cron","method":"","url":"--","scriptName":"/srv/www/nextcloud/cron.php","message":"failed to create instance of background job: OCA\\Memories\\Cron\\IndexJob","userAgent":"--","version":"34.0.5.1","occ_command":["/srv/www/nextcloud/cron.php"],"exception":{"Exception":"OC\\AppFramework\\Utility\\QueryNotFoundException","Message":"Could not resolve OCA\\Memories\\Cron\\IndexJob! Class \"OCA\\Memories\\Cron\\IndexJob\" does not exist","Code":0,"Trace":[{"file":"/srv/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php","line":158,"function":"resolve","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->"},{"file":"/srv/www/nextcloud/lib/private/AppFramework/DependencyInjection/DIContainer.php","line":379,"function":"query","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->"},{"file":"/srv/www/nextcloud/lib/private/ServerContainer.php","line":139,"function":"queryNoFallback","class":"OC\\AppFramework\\DependencyInjection\\DIContainer","type":"->"},{"file":"/srv/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php","line":44,"function":"query","class":"OC\\ServerContainer","type":"->"},{"file":"/srv/www/nextcloud/lib/public/Server.php","line":37,"function":"get","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->"},{"file":"/srv/www/nextcloud/lib/private/BackgroundJob/JobList.php","line":320,"function":"get","class":"OCP\\Server","type":"::"},{"file":"/srv/www/nextcloud/lib/private/BackgroundJob/JobList.php","line":200,"function":"buildJob","class":"OC\\BackgroundJob\\JobList","type":"->"},{"file":"/srv/www/nextcloud/core/Service/CronService.php","line":185,"function":"getNext","class":"OC\\BackgroundJob\\JobList","type":"->"},{"file":"/srv/www/nextcloud/core/Service/CronService.php","line":107,"function":"runCli","class":"OC\\Core\\Service\\CronService","type":"->"},{"file":"/srv/www/nextcloud/cron.php","line":52,"function":"run","class":"OC\\Core\\Service\\CronService","type":"->"}],"File":"/srv/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php","Line":138,"message":"failed to create instance of background job: OCA\\Memories\\Cron\\IndexJob","CustomMessage":"failed to create instance of background job: OCA\\Memories\\Cron\\IndexJob"}}
Additional info
The server got stuck into maintenance mode after UI app update earlier, not sure which app was being updated first but second password prompt for "update all" (see password spam app install issue) just got stuck and nextcloud was left in meintenance mode, which was manually ended after 8h and some occ checks and occ app updates. Not sure if related, dont know if nextcloud was the app being updated, logs dont show.
Theres a lot more of the "nc is in maintenance mode logs".
- Lingua principale
- PHP
- Stelle
- 37.5k
- Fork
- 5.4k
- Merge medio
- 1g 13h
- PR unite (30g)
- 639
Preparare l'ambiente
Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di nextcloud/server
-
35-feedback
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno
-
0. Needs triage 35-feedback bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
I maintainer di solito rispondono entro 1 giorno
-
workflowengine: File entity reuses the node of the first "Tag assigned" event for all later events in the same processForse già presa @lazerg l’ha presa 2 giorni fa. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
I maintainer di solito rispondono entro 1 giorno
-
Contacts import aborts with TypeError when vCards have no UID (TextImporter structure)Forse già presa @SebastianKrupinski l’ha presa 6 giorni fa. Apertabug
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
nextcloud/server#66486 · 2 commenti · 2 reazioni · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
-
Unified search: screen reader hears "No matching results" on mobile even when there are resultsForse già presa @lazerg l’ha presa 10 giorni fa. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di nextcloud/server
Issue simili
-
[Sync EN] stream: document the errors of the stream_context_*() and stream filter functions (#6091)Apertasync-en
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 79/100
Automattic/blocks-engine#6318 ·
I maintainer di solito rispondono entro 1 giorno
-
Update: Laravel Cheat Sheet - middleware examples for the bootstrap/app.php layout (small update)Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
OWASP/CheatSheetSeries#2990 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 1/5 1-3 ore Idoneità per principianti 82/100
I maintainer di solito rispondono entro 1 giorno