Update 29.08 -> 29.09: Most apps not shown

Server: ubuntu 22.04
Mysql version: 10.6.18-MariaDB-0ubuntu0.22.04.1
Apache version: Apache/2.4.52 (Ubuntu) built: 2024-07-17T18:57:26
PHP 8.1.2-1ubuntu2.19 (cli) (built: Sep 30 2024 16:25:25) (NTS)

After the above update only the apps dashboard, files, fotos, and activity are shown. Selecting the apps menu/display yields an error “Nichts anzuzeigen - Abschnittsinhalt konnte nicht aus dem App Store geladen werden.”
→ (Nothing to show - content couldn’t be load from the app store).

Klicking the selections from the left menue (Your Apps, Active apps, deactivated apps) shows all apps according to the active selection. The “password” app is not installed.

A “maintenance:repair” made no difference. Only difference between the old and new config file is the version string.

The error log contains errors like:

“RuntimeException
ignorable exception
The loading of lazy AppConfig values have been requested”

“NotAuthenticated
No ‘Authorization: Basic’ header found. Either the client didn’t send one, or the server is misconfigured, No ‘Authorization: Bearer’ header found. Either the client didn’t send one, or the server is mis-configured”

“Exception
dirty table reads: SELECT * FROM *PREFIX*jobs WHERE (reserved_at <= :dcValue1) AND (last_checked <= :dcValue2) AND (time_sensitive = :dcValue3) ORDER BY last_checked ASC LIMIT 1”

Any hints/tips?

Yours
Hermann-Josef Beckers

1 Like

How, precisely, did you update? Their are multiple methods.

Also, please post your config (occ config:list system)

Manual according to : Upgrade manually — Nextcloud latest Administration Manual latest documentation

Only difference: I did NOT stop the crontab job.

START of UPDATE LOG:
www-data@hjbatst:~/html/oc$ php ./occ upgrade
Nextcloud or one of the apps require upgrade - only a limited number of commands are available
You may use your browser or the occ upgrade command to do the upgrade
Setting log level to debug
Turned on maintenance mode
Updating database schema
Updated database
Disabled incompatible app: assistant
Disabled incompatible app: contacts
Disabled incompatible app: epubviewer
Disabled incompatible app: external
Disabled incompatible app: files_zip
Disabled incompatible app: gpoddersync
Disabled incompatible app: gpxpod
Disabled incompatible app: integration_openai
Disabled incompatible app: integration_openstreetmap
Disabled incompatible app: intros
Disabled incompatible app: maps
Disabled incompatible app: metadata
Disabled incompatible app: notes
Disabled incompatible app: notify_push
Disabled incompatible app: phonetrack
Disabled incompatible app: richdocumentscode_arm64
Disabled incompatible app: root_cache_cleaner
Disabled incompatible app: side_menu
Disabled incompatible app: spreed
Disabled incompatible app: stt_helper
Disabled incompatible app: tables
Disabled incompatible app: thesearchpage
Disabled incompatible app: welcome
Starting code integrity check…
Finished code integrity check
Update successful
Turned off maintenance mode
Resetting log level

END OF UPDATE LOG

RESULT OF occ config:list system

{
“system”: {
“instanceid”: “REMOVED SENSITIVE VALUE”,
“passwordsalt”: “REMOVED SENSITIVE VALUE”,
“secret”: “REMOVED SENSITIVE VALUE”,
“trusted_domains”: [
hjbatst.spdns.de”,
“192.168.178.29”
],
“trusted_proxies”: “REMOVED SENSITIVE VALUE”,
“datadirectory”: “REMOVED SENSITIVE VALUE”,
“overwrite.cli.url”: “https://hjbatst.spdns.de/oc/”,
“overwriteprotocol”: “https”,
“default_phone_region”: “DE”,
“dbtype”: “mysql”,
“version”: “29.0.9.2”,
“dbname”: “REMOVED SENSITIVE VALUE”,
“dbhost”: “REMOVED SENSITIVE VALUE”,
“dbtableprefix”: “oc_”,
“dbuser”: “REMOVED SENSITIVE VALUE”,
“dbpassword”: “REMOVED SENSITIVE VALUE”,
“profiler”: false,
“skeletondirectory”: “/var/www/html/oc/nextcloud/core/skeleton”,
“logtimezone”: “Europe/Berlin”,
“logfile”: “/opt/oc_data/nextcloud.log”,
“log_rotate_size”: 104857600,
“logdateformat”: “F d, Y H:i:s”,
“log_type”: “file”,
“logfilemode”: 416,
“installed”: true,
“default_language”: “de”,
“default_locale”: “de_DE”,
“mail_from_address”: “REMOVED SENSITIVE VALUE”,
“mail_smtpmode”: “smtp”,
“mail_domain”: “REMOVED SENSITIVE VALUE”,
“mail_smtphost”: “REMOVED SENSITIVE VALUE”,
“mail_smtpauthtype”: “LOGIN”,
“opcache.enable”: 1,
“opcache.interned_strings_buffer”: 20,
“opcache.max_accelerated_files”: 10000,
“opcache.memory_consumption”: 128,
“opcache.save_comments”: 1,
“opcache.revalidate_freq”: 1,
“htaccess.RewriteBase”: “/oc”,
“appstore.experimental.enabled”: true,
“updater.release.channel”: “stable”,
“filelocking.enabled”: true,
“memcache.distributed”: “\OC\Memcache\Redis”,
“memcache.locking”: “\OC\Memcache\Redis”,
“redis”: {
“host”: “REMOVED SENSITIVE VALUE”,
“port”: 6379,
“timeout”: 0.5
},
“auth.bruteforce.protection.enabled”: true,
“loglevel”: 0,
“theme”: “”,
“maintenance”: false,
“maintenance_window_start”: 5,
“app_install_overwrite”: [
“galleryplus”,
“calendar”,
“files_automatedtagging”,
“files_accesscontrol”,
“nextnote”,
“dashboard”,
“ojsxc”,
“drawio”,
“ocr”,
“whiteboard”,
“twofactor_email”,
“files_mindmap”,
“music”,
“quicknotes”,
“files_retention”,
“sharelisting”,
“unsplash”,
“health”,
“bplog”,
“deck”,
“appointments”,
“apporder”,
“dicomviewer”,
“files_fulltextsearch_tesseract”,
“radio”,
“polls”,
“flow_notifications”,
“recognize”,
“forms”,
“tasks”,
“workflow_script”,
“workflow_ocr”,
“fulltextsearch”,
“ownpad”,
“co2clock”,
“podcast”,
“integration_libretranslate”,
“files_readmemd”,
“dropit”
],
“data-fingerprint”: “03deaa10aa26ce52c7eb213da5094144”,
“has_rebuilt_cache”: true,
“mail_sendmailmode”: “smtp”,
“allow_local_remote_servers”: true,
“mysql.utf8mb4”: true,
“mail_smtpauth”: 1,
“mail_smtpname”: “REMOVED SENSITIVE VALUE”,
“mail_smtpport”: “587”,
“mail_smtppassword”: “REMOVED SENSITIVE VALUE”,
“memories.exiftool”: “/var/www/html/oc/apps/memories/exiftool-bin/exiftool-aarch64-glibc”,
“memories.vod.path”: “/var/www/html/oc/apps/memories/exiftool-bin/go-vod-aarch64”,
“memories.vod.ffmpeg”: “/usr/bin/ffmpeg”,
“memories.vod.ffprobe”: “/usr/bin/ffprobe”,
“activity_expire_days”: 90
}
}

here is the log of "occ maintenance:repair:

www-data@hjbatst:~/html/oc$ php ./occ maintenance:repair

  • Repair MySQL collation
    • All tables already have the correct collation → nothing to do
  • Clean tags and favorites
    • 0 tags of deleted users have been removed.
    • 0 tags for delete files have been removed.
    • 0 tag entries for deleted tags have been removed.
    • 0 tags with no entries have been removed.
  • Repair invalid shares
  • Move .step file of updater to backup location
  • Add move avatar background job
    • Repair step already executed
  • Add preview cleanup background jobs
  • Migrate oauth2_clients table to nextcloud schema
    • Update the oauth2_access_tokens table schema.
    • Update the oauth2_clients table schema.
    • Delete clients (and their related access tokens) with the redirect_uri starting with oc:// or ending with *
  • Fix potential broken mount points
    • No mounts updated
  • Repair language codes
  • Add log rotate job
  • Clear frontend caches
    • Image cache cleared
    • JS cache cleared
  • Clear every generated avatar
  • Add preview background cleanup job
  • Queue a one-time job to cleanup old backups of the updater
  • Cleanup invalid photocache files for carddav
  • Add background job to cleanup login flow v2 tokens
  • Remove potentially over exposing share links
    • No need to remove link shares.
  • Clear access cache of projects
  • Reset generated avatar flag
  • Keep legacy encryption enabled
  • Check encryption key format
  • Remove old dashboard app config data
  • Add job to cleanup the bruteforce entries
  • Queue a one-time job to check for user uploaded certificates
  • Repair DAV shares
  • Add background job to set the lookup server share state for users
  • Add token cleanup job
  • Clean up abandoned apps
  • Add possibly missing system config
  • Add AI tasks cleanup job
  • Queue a job to generate metadata
  • migrate lazy config values
  • Cache logo dimension to fix size in emails on Outlook
    • Theming is not used to provide a logo
  • Add cleanup-deleted-users background job
  • Fix component of birthday calendars
    • 9 birthday calendars updated.
  • Regenerating birthday calendars to use new icons and fix old birthday events without year
    • Repair step already executed
  • Fix broken values of calendar objects
    0 [->--------------------------]
  • Registering building of calendar search index as background job
    • Repair step already executed
  • Register building of social profile search index as background job
    • Repair step already executed
  • Registering background jobs to update cache for webcal calendars
    • Added 0 background jobs to update webcal calendars
  • Registering building of calendar reminder index as background job
    • Repair step already executed
  • Clean up orphan event and contact data
    • 0 events without a calendar have been cleaned up
    • 0 properties without an events have been cleaned up
    • 0 changes without a calendar have been cleaned up
    • 0 cached events without a calendar subscription have been cleaned up
    • 0 changes without a calendar subscription have been cleaned up
    • 0 contacts without an addressbook have been cleaned up
    • 0 properties without a contact have been cleaned up
    • 0 changes without an addressbook have been cleaned up
  • Remove activity entries of private events
    • Removed 0 activity entries
  • Clean up old calendar subscriptions from deleted users that were not cleaned-up
    1/1 [============================] 100%
    • 0 calendar subscriptions without an user have been cleaned up
  • Remove invalid object properties
    • 0 invalid object properties removed.
  • Fix the share type of guest shares when migrating from ownCloud
  • Copy the share password into the dedicated column
  • Set existing shares as accepted
  • Update OAuth token expiration times
  • init metadata
  • Switches from default updater server to the customer one if a valid subscription is available
    • Repair step already executed
  • Force-reset all Text document sessions
  • Initialize migration of background images from dashboard to theming app
  • Add background job to check for backup codes
  • Populating added database structures for workflows

After my first login this morning the message:

from yesterday is gone. Under → apps → discover I see the normal nextcloud advertisements. I can install apps. I took cospend as test; it shows up in “active apps”. I can disable it and it moves to “disabled apps” and I can remove it.

Taking the already installed pdf-viewer as test: I can enable and disable it, the entry moves between the “activated/deactivated” panels, but I can’t remove it. The activation makes no difference: Selecting a pdf file in the files section always downloads it. It is not shown in the pdf viewer.

EDIT: “occ app:remove files_pdfviewer” on the command line shows that it can’t be removed because it is a shipped app.

After the above update only the apps dashboard, files, fotos, and activity are shown.

Did you perhaps overlook migrating over your non-shipped apps as described in step 10 of the manual update process?

Sorry for the late reply. You are right. But I never had that problem before. I thought, “third party apps” meant applications from another source than the nextcloud app store. This thread can be closed.

1 Like

If you expect to doing Manual Updates regularly, you may want to consider splitting your apps_paths between shipped and non-shipped to simplify updating. See Apps: Using Custom App Directories. This is the same approach widely used by most of the image builds / packagers.

This topic was automatically closed 8 days after the last reply. New replies are no longer allowed.