Migration from official docker image to AIO questions

Support intro

The Basics

  • Nextcloud Server version (e.g., 29.x.x):
    • 33.0.1
  • Operating system and version (e.g., Ubuntu 24.04):
    • official docker image
  • Web server and version (e.g, Apache 2.4.25):
    • official docker image
  • Reverse proxy and version _(e.g. nginx 1.27.2)
    • official docker image
  • PHP version (e.g, 8.3):
    • official docker image
  • Installation method (e.g. AlO, NCP, Bare Metal/Archive, etc.)
    • official docker image
  • Are you using CloudfIare, mod_security, or similar? (Yes / No)
    • No

Summary of the issue you are facing:

Since I’ve been having several problems now (mostly Segmentation fault for Nextcloud v33 on ARM VPS when installing apps but also some weird cron job not finding the data folder anymore) and having started my nextcloud with version 22 (I think), I’m thinking of migrating my little server to the AIO docker solution.

It’s really just a family server, with only 5 users and the data is easily accessible in a folder outside of the docker container.

So I’ve read the migration document all-in-one/migration.md at main · nextcloud/all-in-one · GitHub and have mostly just one question:

If I were to migrate just the files (easiest solution), does it automagically also migrate contacts and calendar data of the users?

Probably not, as the data is in the database, I guess. So the best way forward is using the migrate_user app?

I’m just trying to be cautious so I’m not losing data on the migration and my family won’t chew me up for this :slight_smile:

Hi @Dominus,

You should first make an update with the magnificant calcardbackup script

You can then later on import ecerything back with the same tool.

h.t.h.


ernolf

1 Like

Thank you. That’s a good advice and already on it.

But I found my biggest problem on migration is that my whole family is at home, and the new installation instantly goes into brute force protection as there are tons of invalid connections from the same IP (contacts and calendars trying to sync from everyone). This is a bit of problem getting this to work :frowning:

It’s possible to exclude IP addresses/ranges from the brute force protection.

  • Make sure the bruteforcesettings app is enabled (it is by default)
  • Login as admin and go to Administration settings → Security

hth,


ernolf

Thank you, I got it all working for now.