Can´t restore server migration backup file

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 AIO 32.0.4
  • Operating system and version (e.g., Ubuntu 24.04):
    • Ubuntu 24.04 as VM in ProxMox
  • Web server and version (e.g, Apache 2.4.25):
    • Not sure what version AIO has. AIO was installed 2026-02-09
  • Reverse proxy and version _(e.g. nginx 1.27.2)
    • I use latest version of NGINX Proxy Manager plus
  • PHP version (e.g, 8.3):
    • Not sure what AIO uses
  • Is this the first time you’ve seen this error? (Yes / No):
    • Yes
  • When did this problem seem to first start?
    • Stupid me trying to migrate passwords from old server (nextcloud bare metal install) onto a new server (proxmox, VM, AIO docker)
  • Installation method (e.g. AlO, NCP, Bare Metal/Archive, etc.)
    • AIO
  • Are you using CloudfIare, mod_security, or similar? (Yes / No)
    • No

Summary of the issue you are facing:

Can´t seem to import migration file into new AIO install

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

  1. Followed these instructions - Server Migration · Wiki · nextcloud / passwords · GitLab

  2. step ./occ passwords:backup:restore migration gets aborted

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.

Nothing relevant to Passwords App

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

PASTE "system": {
        "one-click-instance": true,
        "one-click-instance.user-limit": 100,
        "memcache.local": "\\OC\\Memcache\\APCu",
        "apps_paths": [
            {
                "path": "\/var\/www\/html\/apps",
                "url": "\/apps",
                "writable": false
            },
            {
                "path": "\/var\/www\/html\/custom_apps",
                "url": "\/custom_apps",
                "writable": true
            }
        ],
        "check_data_directory_permissions": false,
        "memcache.distributed": "\\OC\\Memcache\\Redis",
        "memcache.locking": "\\OC\\Memcache\\Redis",
        "redis": {
            "host": "***REMOVED SENSITIVE VALUE***",
            "password": "***REMOVED SENSITIVE VALUE***",
            "port": 6379
        },
        "overwritehost": "***REMOVED SENSITIVE VALUE***",
        "overwriteprotocol": "https",
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [
            "localhost",
            "wolk.thefreedomraven.nl"
        ],
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "dbtype": "pgsql",
        "version": "32.0.4.1",
        "overwrite.cli.url": "***REMOVED SENSITIVE VALUE***",
        "dbname": "***REMOVED SENSITIVE VALUE***",
        "dbhost": "***REMOVED SENSITIVE VALUE***",
        "dbtableprefix": "oc_",
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "installed": true,
        "instanceid": "***REMOVED SENSITIVE VALUE***",
        "maintenance": false,
        "updatechecker": false,
        "loglevel": 2,
        "log_type": "file",
        "logfile": "\/var\/www\/html\/data\/nextcloud.log",
        "log_rotate_size": 10485760,
        "log.condition": {
            "apps": [
                "admin_audit"
            ]
        },
        "preview_max_x": 2048,
        "preview_max_y": 2048,
        "jpeg_quality": 60,
        "enabledPreviewProviders": {
            "1": "OC\\Preview\\Image",
            "2": "OC\\Preview\\MarkDown",
            "3": "OC\\Preview\\MP3",
            "4": "OC\\Preview\\TXT",
            "5": "OC\\Preview\\OpenDocument",
            "6": "OC\\Preview\\Movie",
            "7": "OC\\Preview\\Krita",
            "0": "OC\\Preview\\Imaginary",
            "23": "OC\\Preview\\ImaginaryPDF"
        },
        "enable_previews": true,
        "upgrade.disable-web": true,
        "mail_smtpmode": "smtp",
        "trashbin_retention_obligation": "auto, 30",
        "versions_retention_obligation": "auto, 30",
        "activity_expire_days": 30,
        "simpleSignUpLink.shown": false,
        "share_folder": "\/Shared",
        "one-click-instance.link": "https:\/\/nextcloud.com\/all-in-one\/",
        "upgrade.cli-upgrade-link": "https:\/\/github.com\/nextcloud\/all-in-one\/discussions\/2726",
        "updatedirectory": "\/nc-updater",
        "maintenance_window_start": 100,
        "allow_local_remote_servers": true,
        "davstorage.request_timeout": 36000,
        "documentation_url.server_logs": "https:\/\/github.com\/nextcloud\/all-in-one\/discussions\/5425",
        "htaccess.RewriteBase": "\/",
        "dbpersistent": false,
        "auth.bruteforce.protection.enabled": true,
        "ratelimit.protection.enabled": true,
        "files_external_allow_create_new_local": false,
        "trusted_proxies": "***REMOVED SENSITIVE VALUE***",
        "preview_imaginary_url": "***REMOVED SENSITIVE VALUE***",
        "preview_imaginary_key": "***REMOVED SENSITIVE VALUE***",
        "default_phone_region": "NL",
        "onlyoffice": {
            "editors_check_interval": 0,
            "jwt_secret": "***REMOVED SENSITIVE VALUE***",
            "jwt_header": "AuthorizationJwt"
        },
        "app_install_overwrite": [],
        "mail_smtpauth": true,
        "mail_sendmailmode": "smtp",
        "mail_from_address": "***REMOVED SENSITIVE VALUE***",
        "mail_domain": "***REMOVED SENSITIVE VALUE***",
        "mail_smtphost": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpport": "465",
        "mail_smtpsecure": "ssl",
        "mail_smtpname": "***REMOVED SENSITIVE VALUE***",
        "mail_smtppassword": "***REMOVED SENSITIVE VALUE***"
    },
    "apps": {
        "activity": {
            "installed_version": "5.0.0-dev.0",
            "enabled": "yes",
            "types": "filesystem"
        },
        "admin_audit": {
            "installed_version": "1.22.0",
            "types": "logging",
            "enabled": "yes",
            "logfile": "\/var\/www\/html\/data\/audit.log"
        },
        "app_api": {
            "installed_version": "32.0.0",
            "types": "",
            "enabled": "no",
            "default_daemon_config": "docker_aio"
        },
        "backgroundjob": {
            "lastjob": "102759"
        },
        "bookmarks": {
            "installed_version": "16.0.1",
            "types": "",
            "enabled": "yes"
        },
        "bookshelfs": {
            "installed_version": "0.1.1",
            "types": "",
            "enabled": "no"
        },
        "bruteForce": {
            "whitelist_1": "192.168.178.101\/24",
            "whitelist_1_comment": "NGINX Proxy Manager Plus"
        },
        "bruteforcesettings": {
            "installed_version": "5.0.0-dev.0",
            "enabled": "yes",
            "types": "",
            "apply_allowlist_to_ratelimit": "1"
        },
        "calendar": {
            "installed_version": "6.2.0",
            "types": "",
            "enabled": "yes"
        },
        "circles": {
            "installed_version": "32.0.0",
            "enabled": "yes",
            "types": "filesystem,dav",
            "loopback_tmp_scheme": "https",
            "migration_22": "1",
            "loopback_tmp_path": "\/",
            "migration_run": "1",
            "maintenance_run": "0",
            "maintenance_update": "{\"3\":1770810300,\"2\":1770812701,\"1\":1770812701}"
        },
        "cloud_federation_api": {
            "installed_version": "1.16.0",
            "enabled": "yes",
            "types": "filesystem"
        },
        "comments": {
            "installed_version": "1.22.0",
            "enabled": "yes",
            "types": "logging"
        },
        "contacts": {
            "installed_version": "8.3.2",
            "types": "dav",
            "enabled": "yes"
        },
        "contactsinteraction": {
            "installed_version": "1.13.1",
            "enabled": "yes",
            "types": "dav"
        },
        "core": {
            "installedat": "1770667044.2335",
            "lastupdatedat": 1770667044,
            "vendor": "nextcloud",
            "public_files": "files_sharing\/public.php",
            "emailTestSuccessful": "1",
            "moveavatarsdone": "yes",
            "previewsCleanedUp": "1",
            "backgroundjobs_mode": "cron",
            "metadataGenerationDone": true,
            "lastcron": 1770812702,
            "oc.integritycheck.checker": [],
            "files_metadata": {
                "photos-original_date_time": {
                    "value": null,
                    "type": "int",
                    "etag": "",
                    "indexed": true,
                    "editPermission": 0
                },
                "photos-exif": {
                    "value": null,
                    "type": "array",
                    "etag": "",
                    "indexed": false,
                    "editPermission": 0
                },
                "photos-ifd0": {
                    "value": null,
                    "type": "array",
                    "etag": "",
                    "indexed": false,
                    "editPermission": 0
                },
                "photos-size": {
                    "value": null,
                    "type": "array",
                    "etag": "",
                    "indexed": false,
                    "editPermission": 0
                },
                "blurhash": {
                    "value": null,
                    "type": "string",
                    "etag": "ae2a6bddf9854a4750bda843b77de8b2",
                    "indexed": false,
                    "editPermission": 0
                },
                "photos-gps": {
                    "value": null,
                    "type": "array",
                    "etag": "",
                    "indexed": false,
                    "editPermission": 0
                },
                "photos-place": {
                    "value": null,
                    "type": "string",
                    "etag": "",
                    "indexed": true,
                    "editPermission": 0
                }
            }
        },
        "dashboard": {
            "installed_version": "7.12.0",
            "enabled": "yes",
            "types": ""
        },
        "dav": {
            "installed_version": "1.34.2",
            "enabled": "yes",
            "types": "filesystem",
            "hasCustomDefaultContact": false,
            "regeneratedBirthdayCalendarsForYearFix": "yes",
            "buildCalendarSearchIndex": "yes",
            "buildCalendarReminderIndex": "yes",
            "builtSocialSearchIndex": "yes"
        },
        "deck": {
            "installed_version": "1.16.3",
            "types": "dav",
            "enabled": "yes"
        },
        "epubviewer": {
            "installed_version": "1.8.1",
            "types": "",
            "enabled": "yes"
        },
        "federatedfilesharing": {
            "installed_version": "1.22.0",
            "enabled": "yes",
            "types": ""
        },
        "federation": {
            "installed_version": "1.22.0",
            "enabled": "yes",
            "types": "authentication"
        },
        "files": {
            "installed_version": "2.4.0",
            "enabled": "yes",
            "types": "filesystem",
            "watermark_enabled": "no",
            "mimetype_version": "32.0.4.1"
        },
        "files_downloadlimit": {
            "installed_version": "5.0.0-dev.0",
            "enabled": "yes",
            "types": ""
        },
        "files_external": {
            "installed_version": "1.24.0",
            "types": "filesystem",
            "enabled": "yes"
        },
        "files_fulltextsearch": {
            "installed_version": "32.0.2",
            "types": "filesystem",
            "enabled": "yes",
            "files_pdf": true,
            "files_office": true
        },
        "files_pdfviewer": {
            "installed_version": "5.0.0-dev.0",
            "enabled": "yes",
            "types": ""
        },
        "files_reminders": {
            "installed_version": "1.5.0",
            "enabled": "yes",
            "types": ""
        },
        "files_sharing": {
            "installed_version": "1.24.1",
            "enabled": "yes",
            "types": "filesystem"
        },
        "files_trashbin": {
            "installed_version": "1.22.0",
            "enabled": "yes",
            "types": "filesystem,dav",
            "background_job_expire_trash_offset": 0
        },
        "files_versions": {
            "installed_version": "1.25.0",
            "enabled": "yes",
            "types": "filesystem,dav"
        },
        "firstrunwizard": {
            "installed_version": "5.0.0-dev.0",
            "enabled": "yes",
            "types": ""
        },
        "fulltextsearch": {
            "installed_version": "32.0.0",
            "types": "",
            "enabled": "yes",
            "search_platform": "OCA\\FullTextSearch_Elasticsearch\\Platform\\ElasticSearchPlatform",
            "cron_err_reset": 1770667168
        },
        "fulltextsearch_elasticsearch": {
            "installed_version": "32.0.2",
            "types": "",
            "enabled": "yes",
            "elastic_host": "http:\/\/elastic:d8d0f8ef4cd266812291199c5f1113751bebfc0e8a71a36d@nextcloud-aio-fulltextsearch:9200",
            "elastic_index": "nextcloud-aio"
        },
        "logreader": {
            "installed_version": "5.0.0-dev.0",
            "enabled": "yes",
            "types": "logging"
        },
        "lookup_server_connector": {
            "installed_version": "1.20.0",
            "enabled": "yes",
            "types": "authentication"
        },
        "mail": {
            "installed_version": "5.6.10",
            "types": "",
            "enabled": "yes"
        },
        "music": {
            "installed_version": "2.5.1",
            "types": "filesystem",
            "enabled": "yes"
        },
        "nextcloud-aio": {
            "installed_version": "0.8.0",
            "types": "",
            "enabled": "yes"
        },
        "nextcloud_announcements": {
            "installed_version": "4.0.0-dev.0",
            "enabled": "yes",
            "types": "logging",
            "pub_date": "Thu, 24 Oct 2019 00:00:00 +0200"
        },
        "notes": {
            "installed_version": "4.13.0",
            "types": "",
            "enabled": "yes"
        },
        "notifications": {
            "installed_version": "5.0.0-dev.0",
            "enabled": "yes",
            "types": "logging"
        },
        "notify_push": {
            "installed_version": "1.3.0",
            "types": "filesystem",
            "enabled": "yes",
            "base_endpoint": "***REMOVED SENSITIVE VALUE***"
        },
        "oauth2": {
            "installed_version": "1.20.0",
            "enabled": "yes",
            "types": "authentication"
        },
        "onlyoffice": {
            "defFormats": "{\"doc\":\"false\",\"docm\":\"false\",\"docx\":\"true\",\"dot\":\"false\",\"dotm\":\"false\",\"dotx\":\"false\",\"epub\":\"false\",\"fb2\":\"false\",\"fodt\":\"false\",\"hml\":\"false\",\"htm\":\"false\",\"html\":\"false\",\"hwp\":\"false\",\"hwpx\":\"false\",\"md\":\"false\",\"mht\":\"false\",\"mhtml\":\"false\",\"odt\":\"false\",\"ott\":\"false\",\"pages\":\"false\",\"rtf\":\"false\",\"stw\":\"false\",\"sxw\":\"false\",\"txt\":\"false\",\"wps\":\"false\",\"xml\":\"false\",\"csv\":\"false\",\"fods\":\"false\",\"numbers\":\"false\",\"ods\":\"false\",\"ots\":\"false\",\"sxc\":\"false\",\"xls\":\"false\",\"xlsb\":\"false\",\"xlsm\":\"false\",\"xlsx\":\"true\",\"xlt\":\"false\",\"xltm\":\"false\",\"xltx\":\"false\",\"fodp\":\"false\",\"key\":\"false\",\"odg\":\"false\",\"odp\":\"false\",\"otp\":\"false\",\"pot\":\"false\",\"potm\":\"false\",\"potx\":\"false\",\"pps\":\"false\",\"ppsm\":\"false\",\"ppsx\":\"false\",\"ppt\":\"false\",\"pptm\":\"false\",\"pptx\":\"true\",\"sxi\":\"false\",\"djvu\":\"false\",\"docxf\":\"true\",\"oform\":\"true\",\"oxps\":\"false\",\"pdf\":\"true\",\"xps\":\"false\",\"vsdx\":\"true\",\"vsdm\":\"false\",\"vssm\":\"false\",\"vssx\":\"false\",\"vstm\":\"false\",\"vstx\":\"false\"}",
            "editFormats": "{\"epub\":\"false\",\"fb2\":\"false\",\"html\":\"false\",\"odt\":\"true\",\"ott\":\"true\",\"rtf\":\"false\",\"txt\":\"true\",\"csv\":\"true\",\"ods\":\"true\",\"ots\":\"true\",\"odp\":\"true\",\"otp\":\"true\"}",
            "enableSharing": "false",
            "sameTab": "true",
            "preview": "true",
            "customization_plugins": "true",
            "customization_macros": "true",
            "protection": "owner",
            "advanced": "false",
            "cronChecker": "true",
            "installed_version": "9.12.0",
            "types": "prevent_group_restriction",
            "enabled": "yes",
            "jwt_secret": "***REMOVED SENSITIVE VALUE***",
            "DocumentServerUrl": "***REMOVED SENSITIVE VALUE***",
            "emailNotifications": "true",
            "versionHistory": "true",
            "groups": "[]",
            "customizationChat": "true",
            "customizationCompactHeader": "true",
            "customizationFeedback": "true",
            "customizationForcesave": "true",
            "liveViewOnShare": "true",
            "customizationHelp": "true",
            "customizationReviewDisplay": "original",
            "customizationTheme": "theme-system",
            "unknownAuthor": ""
        },
        "password_policy": {
            "installed_version": "4.0.0-dev.0",
            "enabled": "yes",
            "types": "authentication"
        },
        "passwords": {
            "installed_version": "2025.12.21",
            "types": "",
            "enabled": "yes",
            "cron\/php\/version\/id": "80329",
            "cron\/php\/version\/string": "8.3.29",
            "passwords\/localdb\/type": "hibp",
            "web\/php\/version\/id": "80329",
            "web\/php\/version\/string": "8.3.29"
        },
        "photos": {
            "installed_version": "5.0.0-dev.1",
            "enabled": "yes",
            "types": "dav,authentication",
            "lastPlaceMappedUser": "admin",
            "lastPlaceMappingDone": "true"
        },
        "preview": {
            "jpeg_quality": "60"
        },
        "privacy": {
            "installed_version": "4.0.0-dev.0",
            "enabled": "yes",
            "types": ""
        },
        "profile": {
            "installed_version": "1.1.0",
            "enabled": "yes",
            "types": ""
        },
        "provisioning_api": {
            "installed_version": "1.22.0",
            "enabled": "yes",
            "types": "prevent_group_restriction"
        },
        "recommendations": {
            "installed_version": "5.0.0-dev.0",
            "enabled": "yes",
            "types": ""
        },
        "related_resources": {
            "installed_version": "3.0.0-dev.0",
            "enabled": "yes",
            "types": ""
        },
        "richdocuments": {
            "enabled": "no",
            "installed_version": "9.0.2",
            "types": "filesystem,prevent_group_restriction",
            "wopi_allowlist": "45.137.101.84,127.0.0.0\/8,192.168.0.0\/16,172.16.0.0\/12,10.0.0.0\/8,100.64.0.0\/10,fd00::\/8,::1\/128",
            "wopi_callback_url": "http:\/\/nextcloud-aio-apache:23973",
            "public_wopi_url": "***REMOVED SENSITIVE VALUE***",
            "wopi_url": "http:\/\/nextcloud-aio-apache:23973",
            "doc_format": "ooxml"
        },
        "serverinfo": {
            "installed_version": "4.0.0-dev.0",
            "enabled": "yes",
            "types": "",
            "cached_count_filecache": 235133,
            "size_appdata_storage": -1,
            "cached_count_storages": 3,
            "cached_count_appdata_files": 119723
        },
        "settings": {
            "installed_version": "1.15.1",
            "enabled": "yes",
            "types": ""
        },
        "sharebymail": {
            "installed_version": "1.22.0",
            "enabled": "yes",
            "types": "filesystem"
        },
        "spreed": {
            "signaling_ticket_secret": "***REMOVED SENSITIVE VALUE***",
            "installed_version": "22.0.8",
            "types": "dav,prevent_group_restriction",
            "enabled": "yes",
            "turn_servers": "***REMOVED SENSITIVE VALUE***",
            "stun_servers": "***REMOVED SENSITIVE VALUE***",
            "signaling_servers": "***REMOVED SENSITIVE VALUE***",
            "recording_servers": "***REMOVED SENSITIVE VALUE***",
            "project_access_invalidated": "1",
            "signaling_token_privkey_es256": "***REMOVED SENSITIVE VALUE***",
            "signaling_token_pubkey_es256": "***REMOVED SENSITIVE VALUE***",
            "default_group_notification": "1"
        },
        "support": {
            "installed_version": "4.0.0-dev.0",
            "enabled": "yes",
            "types": "session",
            "SwitchUpdaterServerHasRun": "yes"
        },
        "survey_client": {
            "installed_version": "4.0.0-dev.0",
            "enabled": "yes",
            "types": ""
        },
        "systemtags": {
            "installed_version": "1.22.0",
            "enabled": "yes",
            "types": "logging"
        },
        "tasks": {
            "installed_version": "0.17.1",
            "types": "",
            "enabled": "yes"
        },
        "text": {
            "installed_version": "6.0.1",
            "enabled": "yes",
            "types": "dav"
        },
        "theming": {
            "installed_version": "2.7.0",
            "enabled": "yes",
            "types": "logging",
            "primary_color": "#8E6404",
            "faviconMime": "image\/webp",
            "logoheaderMime": "image\/jpeg",
            "name": "wolk.thefreedomraven.nl",
            "slogan": "***REMOVED SENSITIVE VALUE***",
            "backgroundMime": "image\/png",
            "background_color": "#352c15",
            "cachebuster": 7,
            "logoDimensions": "512x512",
            "logoMime": "image\/webp"
        },
        "twofactor_backupcodes": {
            "installed_version": "1.21.0",
            "enabled": "yes",
            "types": ""
        },
        "twofactor_totp": {
            "installed_version": "14.0.0",
            "types": "",
            "enabled": "yes"
        },
        "updatenotification": {
            "installed_version": "1.22.0",
            "enabled": "yes",
            "types": "",
            "notify_groups": "[]",
            "mail": "5.6.11"
        },
        "user_status": {
            "installed_version": "1.12.0",
            "enabled": "yes",
            "types": ""
        },
        "viewer": {
            "installed_version": "5.0.0-dev.0",
            "enabled": "yes",
            "types": ""
        },
        "weather_status": {
            "installed_version": "1.12.0",
            "enabled": "yes",
            "types": ""
        },
        "webhook_listeners": {
            "installed_version": "1.3.0",
            "enabled": "yes",
            "types": "filesystem"
        },
        "whiteboard": {
            "installed_version": "1.5.6",
            "types": "",
            "enabled": "yes",
            "collabBackendUrl": "***REMOVED SENSITIVE VALUE***",
            "jwt_secret_key": "***REMOVED SENSITIVE VALUE***"
        },
        "workflowengine": {
            "installed_version": "2.14.0",
            "enabled": "yes",
            "types": "filesystem"
        }
    }
HERE

Apps

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

Enabled:

activity: 5.0.0-dev.0

admin_audit: 1.22.0

bookmarks: 16.0.1

bruteforcesettings: 5.0.0-dev.0

calendar: 6.2.0

circles: 32.0.0

cloud_federation_api: 1.16.0

comments: 1.22.0

contacts: 8.3.2

contactsinteraction: 1.13.1

dashboard: 7.12.0

dav: 1.34.2

deck: 1.16.3

epubviewer: 1.8.1

federatedfilesharing: 1.22.0

federation: 1.22.0

files: 2.4.0

files_downloadlimit: 5.0.0-dev.0

files_external: 1.24.0

files_fulltextsearch: 32.0.2

files_pdfviewer: 5.0.0-dev.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-dev.0

fulltextsearch: 32.0.0

fulltextsearch_elasticsearch: 32.0.2

logreader: 5.0.0-dev.0

lookup_server_connector: 1.20.0

mail: 5.6.10

music: 2.5.1

nextcloud-aio: 0.8.0

nextcloud_announcements: 4.0.0-dev.0

notes: 4.13.0

notifications: 5.0.0-dev.0

notify_push: 1.3.0

oauth2: 1.20.0

onlyoffice: 9.12.0

password_policy: 4.0.0-dev.0

passwords: 2025.12.21

photos: 5.0.0-dev.1

privacy: 4.0.0-dev.0

profile: 1.1.0

provisioning_api: 1.22.0

recommendations: 5.0.0-dev.0

related_resources: 3.0.0-dev.0

serverinfo: 4.0.0-dev.0

settings: 1.15.1

sharebymail: 1.22.0

spreed: 22.0.8

support: 4.0.0-dev.0

survey_client: 4.0.0-dev.0

systemtags: 1.22.0

tasks: 0.17.1

text: 6.0.1

theming: 2.7.0

twofactor_backupcodes: 1.21.0

twofactor_totp: 14.0.0

updatenotification: 1.22.0

user_status: 1.12.0

viewer: 5.0.0-dev.0

weather_status: 1.12.0

webhook_listeners: 1.3.0

whiteboard: 1.5.6

workflowengine: 2.14.0
Disabled:

app_api: 32.0.0 (installed 32.0.0)

bookshelfs: 0.1.1 (installed 0.1.1)

encryption: 2.20.0

suspicious_login: 10.0.0-dev.0

twofactor_nextcloud_notification: 6.0.0-dev.0

user_ldap: 1.23.0

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.

I tried migrating the Passwords App data to a new server installation with the methode provided here → Server Migration · Wiki · nextcloud / passwords · GitLab

My old server had a fatal hardware fault. But I could safe the HDD from it which I booted from within a VM. The VM booted from that saves disk, I can see all files. Also could get a migration.json.gz file from instructions provided in link above.

I transfered migration.json.gz file to new server, placed in the the root folder of docker nextcloud data directory. I could import migration.json.gz with “./occ passwords:backup:import migration.json.gz" (used docker execution methode off course). But “passwords:backup:restore migration” ends up not working.

This backup file will be used: migration

The following will be restored:

The Passwords App server secret

Server and user encryption keys

User passwords, folder, tags and shares

Application settings

User settings

Third party client settings

Restoring user data means that the current user data will be wiped.❗❗❗ The backup “migration” will now be restored ❗❗❗Type “yes” to confirm this:

Aborted.

passwords:backup:restore [-u|–user [USER]] [–no-data] [–no-user-settings] [–no-app-settings] [–]

When I use ./occ passwords:backup:list I can see the backup “migration” being there:

The following backups are available:
  2026-02-09_23-11-12   327 B compressed
  2026-02-10_23-11-41   327 B compressed
  migration             169 KB compressed

I’m really new to ProxMox and Dockers. I read a few threads that made me realize that I’m really unsure about what I am doing. Could someone please help me trying to get my passwords data working in my new server. It is the only thing not working for me.

Hi, can you check https://github.com/nextcloud/all-in-one/blob/main/migration.md?

I did! This question is more specific towards getting the Passwords App data restored. I choose, after reading your link, it would be more wise just to do a clean docker Nextcloud AIO install then migrating a bare metal install to a new AIO install.

I just don’t know how to migrate the old Passwords App data into the new server install.

I removed some tags from this post so it is more clear this is a Password App specific question.

Thanks for the reply anyway!

1 Like

Did you do this? if it’s not an interactive terminal, use `–no-interaction`

I don’t have a change to type yes or no, the proces just aborts without interaction.

But there is more that I just don´t understand (yes, I’m a newbie). I don’t understand the arguments for

passwords:backup:restore [-u|–user [USER]] [–no-data] [–no-user-settings] [–no-app-settings] [–]

What do I fill in there , what to use for [-u|user [USER]]. I have two users on my new AIO server install (which works perfect, so don’t want to mess things up). Do I need to give the old usernames from old server or do I give the new username.

I read some thread that restoring back-up files could overwrite secret server keys

Forgive me for being a noob, I really tried to read the docs, but my small brains doesn’t seem to understands things.

Let’s say I have two users on my new AIO install, one “admin” and the other “remco”, how do I install a backup for “remco” to use?

Just to be sure … i had a horrible time installing this new nextcloud AIO (mostly user error and not really clear install guides) … I just don’t want to do it all over again …

If I do passwords:backup:restore -u|–user remco -no-interaction migration the migration file should be installed for the nextcloud user remco?

Does this rewrite the secret server key of my new AIO install. What should I do if that happens and something breaks? I read a thread about that, but it was not really clear to me.

Thank you so much for the wonderfull work by the way! Love the Passwords App, I just don’t really understand it’s inner working well.

If your system doesn’t allow you to enter anything you need the --no-interaction flag. This will answer any question with yes.

The -u|--user option allows you to pass a user id with either -u or --user. This is optional.

The user ids on the new system must match the user ids of the old system. Otherwise the data will not show up in the users account.

If you’re using a current version of Nextcloud and the Passwords app (2025.7.0 or newer), restoring a backup will not overwrite the Nextcloud server secret. It will still overwrite the Passwords App server secret, so you can only restore a backup with the same secret or overwrite the existing data.

It succeded!

Maybe for people who find them self in the same situation … a little tired of learning all this new AIO and docker stuff … having a crashed bare metal install of Nextcloud … being able to get some sort of Password App migration from the old HDD downloaded …

I ommited the -u user in the command. It restored the passwords to the new AIO admin account, which was the same account name as I used on the old bare metal Nextcloud install. I used following Docker occ command (I found this “extended” command to work without error in multiple situations, I really had to learn how to do occ commands via Docker!)

sudo /usr/bin/docker exec nextcloud-aio-nextcloud sudo -u www-data /bin/bash -c “PHP_MEMORY_LIMIT=1G ./occ passwords:backup:restore --no-interaction migration”
"

The command after ./occ is the occ cammand I was used to using …

I then made a .csv backup (which I should have done a long time ago) and a database backup in the admin account. Logged into my new remco account, imported the database backup (.json file) into that new account via the Nextcloud webinterface. Every password is there and working.

Nothing broke in the AIO install, I don´t think server secret was overwritten.

Thank you so very much for the app and the help!

Hi, just to mention it, here is documented how to run occ commands in AIO: GitHub - nextcloud/all-in-one: 📦 The official Nextcloud installation method. Provides easy deployment and maintenance with most features included in this one Nextcloud instance.

1 Like

Thanks! Will read further … that all-in-one/community-containers/container-management at main · nextcloud/all-in-one · GitHub looks interesting . But as said, everything that could go wrong with this AIO, went wrong. Made me really insecure.

Had a user error where I didn’t realise I made a Proxmox VM with a LVM volume (it was the default option for Ubuntu server 24.0.4 I believe). I didn’t realise I had to expand that LVM volume (was only 15GB if I remember correct) to take the whole space of the disk space I gave to the VM. AIO install couldn´t be done because it didn’t have enough space … I thought I was doing something wrong because I wanted an seperate data directory for the Nextcloud data … took me days to finally see the PEBKAC problem there … I just needed to expand the LVM volume … but that is an other story …

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