Nextcloud Jail migration zu Ubuntu

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):
    • Nextcloud HUB10 (31.0.7)
  • Operating system and version (e.g., Ubuntu 24.04):
    • Truenas Core (Jail/Plugin)
  • Web server and version (e.g, Apache 2.4.25):
    • nginx
  • Reverse proxy and version _(e.g. nginx 1.27.2)
    • nginx proxy manager
  • PHP version (e.g, 8.3):
    • PHP 8.3.14
  • Is this the first time you’ve seen this error? (Yes / No):
    • Yes
  • When did this problem seem to first start?
    • now
  • Installation method (e.g. AlO, NCP, Bare Metal/Archive, etc.)
    • Proxmox VM - Ubuntu - Apache2 - mysql-server - php 8.3
  • Are you using CloudfIare, mod_security, or similar? (Yes / No)
    • No

Summary of the issue you are facing:

Hallo zusammen,

ich versuche aktuell meine Nextcloud aus dem Truenas Core Jail vie Backup and Restore auf eine andere Hardware (Dell Optiplex 3060 I5-8500T) und ein anderes OS zu bekommen.

Backup von DB und Nextcloudverzeichnis habe ich bereits gemacht, wie hier empfohlen:

Die Cloud läuft auch noch (nahezu fehlerfrei), jedoch möchte ich mein letztes Jail nun ablösen um auf Truenas Scale upgraden zu können.

Neu = Proxmox VM Ubuntu 24.04.03 LTS installiert hab ich nextcloud nach diesem TUT

einzig aus mariadb-server hab ich den mysql-server genommen.

Die Cloud läuft in diesem zustand, ich habe alle Fehler aus dem Adminpanel beseitigt. SSL geht über meinen NPM auch hier keine Fehler.

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

  1. Wenn ich nun meine Daten einspiele und die DB importiere, Ordnerrechte und Dateirechte anpasse, dann die nextcloud aus dem MaintenanceMode hole, bekomme ich eine Fehlermeldung an Stelle der Loginpage im Browser.

nextcloud interner serverfehler der server konnte die anfrage nicht fertig stellen

Wenn ich nur die Daten bräuchte, würde ich auf die DB verzichten, aber ich nutze Passwords, Mail, etc.

Log entries

Nextcloud

bisher keine Logeinträge gefunden. Nehme gerne Hilfe entgegen :wink:

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.

nextcloud interner serverfehler der server konnte die anfrage nicht fertig stellen

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

PASTE HERE
root@nextcloud:~ # su -m www -c 'php /usr/local/www/nextcloud/occ config:list system'
{
    "system": {
        "apps_paths": [
            {
                "path": "\/usr\/local\/www\/nextcloud\/apps",
                "url": "\/apps",
                "writable": true
            },
            {
                "path": "\/usr\/local\/www\/nextcloud\/apps-pkg",
                "url": "\/apps-pkg",
                "writable": true
            }
        ],
        "logfile": "\/var\/log\/nextcloud\/nextcloud.log",
        "memcache.local": "\\OC\\Memcache\\APCu",
        "memcache.locking": "\\OC\\Memcache\\Redis",
        "memcache.distributed": "\\OC\\Memcache\\Redis",
        "redis": {
            "host": "***REMOVED SENSITIVE VALUE***"
        },
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [
            "localhost",
            "192.168.2.10",
            "cloud.nextcloud.me",
            "192.168.2.157",
            "office.nextcloud.me"
        ],
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "dbtype": "mysql",
        "version": "31.0.7.1",
        "overwrite.cli.url": "https:\/\/cloud.nextcloud.me",
        "trusted_proxies": "***REMOVED SENSITIVE VALUE***",
        "overwritehost": "cloud.nextcloud.me",
        "overwriteprotocol": "https",
        "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***",
        "maintenance": false,
        "mail_from_address": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpmode": "smtp",
        "mail_sendmailmode": "smtp",
        "mail_domain": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpsecure": "ssl",
        "mail_smtpauthtype": "LOGIN",
        "mail_smtpauth": 1,
        "mail_smtphost": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpport": "465",
        "mail_smtpname": "***REMOVED SENSITIVE VALUE***",
        "mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
        "updater.release.channel": "stable",
        "default_phone_region": "DE",
        "theme": "",
        "loglevel": 0,
        "one-click-instance": true,
        "one-click-instance.user-limit": 100,
        "maintenance_window_start": 1,
        "app_install_overwrite": [
            "mindmap_app"
        ],
        "memories.vod.path": "\/usr\/local\/www\/nextcloud\/apps\/memories\/bin-ext\/go-vod-amd64",
        "memories.vod.ffmpeg": "\/usr\/local\/bin\/ffmpeg",
        "memories.vod.ffprobe": "\/usr\/local\/bin\/ffprobe",
        "memories.db.triggers.fcu": true,
        "memories.exiftool_no_local": true,
        "memories.gis_type": 1
    }
}
#### Apps

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

root@nextcloud:~ # su -m www -c 'php /usr/local/www/nextcloud/occ app:list'
Enabled:
  - activity: 4.0.0
  - admin_audit: 1.21.0
  - app_api: 5.0.2
  - bruteforcesettings: 4.0.0
  - calendar: 5.3.8
  - circles: 31.0.0
  - cloud_federation_api: 1.14.0
  - comments: 1.21.0
  - contacts: 7.2.4
  - contactsinteraction: 1.12.0
  - dav: 1.33.0
  - deck: 1.15.2
  - drawio: 3.1.0
  - external: 6.0.2
  - federatedfilesharing: 1.21.0
  - federation: 1.21.0
  - files: 2.3.1
  - files_downloadlimit: 4.0.0
  - files_external: 1.23.0
  - files_pdfviewer: 4.0.0
  - files_reminders: 1.4.0
  - files_sharing: 1.23.1
  - files_trashbin: 1.21.0
  - files_versions: 1.24.0
  - firstrunwizard: 4.0.0
  - logreader: 4.0.0
  - lookup_server_connector: 1.19.0
  - mail: 5.2.0
  - nextcloud_announcements: 3.0.0
  - notes: 4.12.2
  - notifications: 4.0.0
  - oauth2: 1.19.1
  - password_policy: 3.0.0
  - passwords: 2025.7.20
  - photos: 4.0.0
  - privacy: 3.0.0
  - profile: 1.0.0
  - provisioning_api: 1.21.0
  - recommendations: 4.0.0
  - related_resources: 2.0.0
  - richdocuments: 8.7.3
  - serverinfo: 3.0.0
  - settings: 1.14.0
  - sharebymail: 1.21.0
  - support: 3.0.0
  - survey_client: 3.0.0
  - systemtags: 1.21.1
  - tasks: 0.16.1
  - text: 5.0.0
  - theming: 2.6.1
  - twofactor_backupcodes: 1.20.0
  - twofactor_nextcloud_notification: 5.0.0
  - twofactor_totp: 13.0.0-dev.0
  - twofactor_webauthn: 2.2.1
  - updatenotification: 1.21.0
  - user_saml: 6.6.0
  - user_status: 1.11.0
  - viewer: 4.0.0
  - weather_status: 1.11.0
  - webhook_listeners: 1.2.0
  - whiteboard: 1.1.2
  - workflowengine: 2.13.0
Disabled:
  - backup: 1.4.0 (installed 1.4.0)
  - dashboard: 7.11.0 (installed 7.8.0)
  - encryption: 2.19.0
  - suspicious_login: 9.0.1
  - user_ldap: 1.22.0
  - video_converter: 1.0.6 (installed 1.0.6)

### 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.