Website log me out when the music app is running

The Basics

  • Nextcloud Server version (e.g., 29.x.x):
    • 32.0.8
  • Operating system and version (e.g., Ubuntu 24.04):
    • Debian 12
  • Web server and version (e.g, Apache 2.4.25):
    • nginx/1.22.1
  • Reverse proxy and version _(e.g. nginx 1.27.2)
    • replace me
  • PHP version (e.g, 8.3):
    • PHP 8.3.31
  • Is this the first time you’ve seen this error? (Yes / No):
    • N/A
  • When did this problem seem to first start?
    • 1st time using Music
  • Installation method (e.g. AlO, NCP, Bare Metal/Archive, etc.)
    • manually on bare metal
  • Are you using CloudfIare, mod_security, or similar? (Yes / No)
    • replace me

Summary of the issue you are facing:

Onmy computer : I use Music, I go to website, logi in, choose an album and start to play. (Music - Apps - App Store - Nextcloud)

Great : it work.

But after some times : I am logged out, then Musi stop. I juts have to log in and come back to music.

His there a way to avoid this behaviour ?

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

  1. Log in

  2. Go to Music, start play (for example Intelligent playlist)

  3. Wait

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!):

{
    "system": {
        "instanceid": "***REMOVED SENSITIVE VALUE***",
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [
            "nuage.SENSITIVE_VALUE.net",
            "nuage.SENSITIVE_VALUE.me"
        ],
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "dbtype": "mysql",
        "version": "32.0.8.2",
        "overwrite.cli.url": "https:\/\/nuage.SENSITIVE_VALUE.me",
        "dbname": "***REMOVED SENSITIVE VALUE***",
        "dbhost": "***REMOVED SENSITIVE VALUE***",
        "dbport": "",
        "dbtableprefix": "oc_",
        "mysql.utf8mb4": true,
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "installed": true,
        "auto_logout": true,
        "auth.webauthn.enabled": false,
        "skeletondirectory": "",
        "remember_login_cookie_lifetime": 86400,
        "log_rotate_size": 0,
        "mail_from_address": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpmode": "smtp",
        "mail_sendmailmode": "smtp",
        "mail_domain": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpdebug": true,
        "maintenance": false,
        "loglevel": 2,
        "log_type": "file",
        "logfile": "\/home\/nuage.SENSITIVE_VALUE.me\/log\/nextcloud-error.log",
        "logfile_audit": "\/home\/nuage.SENSITIVE_VALUE.me\/log\/nextcloud-audit.log",
        "trashbin_retention_obligation": "auto, 30",
        "theme": "",
        "default_phone_region": "FR",
        "mail_smtphost": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpport": "25",
        "app_install_overwrite": [
            "duplicatefinder",
            "news"
        ],
        "mail_smtpauth": 1,
        "filelocking.enabled": true,
        "memcache.local": "\\OC\\Memcache\\APCu",
        "maintenance_window_start": 1
    }
}

Apps

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

$ php www/occ app:list
Enabled:
  - activity: 5.0.0
  - app_api: 32.0.0
  - audioplayer: 3.8.0
  - bruteforcesettings: 5.0.0
  - calendar: 6.4.2
  - circles: 32.0.0
  - cloud_federation_api: 1.16.0
  - comments: 1.22.0
  - contacts: 8.3.12
  - contactsinteraction: 1.13.1
  - cookbook: 0.11.7
  - dashboard: 7.12.0
  - dav: 1.34.2
  - encryption: 2.20.0
  - federatedfilesharing: 1.22.0
  - federation: 1.22.0
  - files: 2.4.0
  - files_downloadlimit: 5.0.0
  - files_external: 1.24.1
  - files_pdfviewer: 5.0.0
  - files_reminders: 1.5.0
  - files_sharing: 1.24.1
  - files_trashbin: 1.22.0
  - files_versions: 1.25.0
  - firstrunwizard: 5.0.0
  - logreader: 5.0.0
  - lookup_server_connector: 1.20.0
  - music: 3.1.0
  - nextcloud_announcements: 4.0.0
  - notes: 5.0.1
  - notifications: 5.0.0
  - oauth2: 1.20.0
  - oidc: 1.17.0
  - password_policy: 4.0.0
  - photos: 5.0.0
  - privacy: 4.0.0
  - profile: 1.1.0
  - provisioning_api: 1.22.0
  - recommendations: 5.0.0
  - related_resources: 3.0.0
  - serverinfo: 4.0.0
  - settings: 1.15.1
  - sharebymail: 1.22.0
  - support: 4.0.0
  - survey_client: 4.0.0
  - systemtags: 1.22.0
  - tasks: 0.17.1
  - text: 6.0.1
  - theming: 2.7.0
  - twofactor_backupcodes: 1.21.0
  - updatenotification: 1.22.0
  - user_ldap: 1.23.0
  - user_status: 1.12.0
  - viewer: 5.0.0
  - weather_status: 1.12.0
  - webhook_listeners: 1.3.0
  - workflowengine: 2.14.0
Disabled:
  - admin_audit: 1.22.0
  - duplicatefinder: 1.7.3 (installed 1.7.3)
  - google_synchronization: 4.1.0 (installed 4.1.0)
  - groupfolders: 20.1.14 (installed 20.1.14)
  - keeweb: 0.6.22 (installed 0.6.22)
  - mail: 5.8.2 (installed 5.8.2)
  - spreed: 22.0.13 (installed 22.0.13)
  - suspicious_login: 10.0.0
  - twofactor_nextcloud_notification: 6.0.0
  - twofactor_totp: 14.0.0

may be this command will help

files:repair-tree

try it out.

No issue

$ php www/occ files:repair-tree
Found 0 file entries with an invalid path

okay. There is much more commands look at:

sudo -u www-data php occ help

maybe an reinstall? I´ve an music app also, but no issues with logout.

maybe an reinstall? I´ve an music app also, but no issues with logout.

I do not reinstall an more than 5 years old with a bunch of data, calendar and user, it’s not a valid answer !

Else answering RTFM , it’s not really why I ask question to community …

Hey, no reason to be angry.

But I mean, you can deactivate and activate the music app, deleate the app and install it again.

Or wait for the right answer.

Ok,

Checking and wait 20 minutes, have the log out action by browser
auto_logout is set as true Configuration Parameters — Nextcloud 35 Administration Manual

My opinion : Music must disable inactive browser