Transferring dietpi to new/different hardware?

Thinking about going from Odroid N2 to x86 hardware to have some more robust power driving the server.

I now have dietpi setup as I want it and don’t really want to do it all over again.

Some questions:

  1. Is it possible to do this preserving the current setup?

  2. Is there any reason to not use a VM? I am leaning towards ubuntu and have dietpi running in a vm so that the
    machine can also be used for other things.

Thanks

Hi,

there is no real way to change from one architecture to another. Simply all software packages are compiled for different platforms. That’s why you are not able to simple backup/restore the system. Only way is to manually save your configs and copy them over.

You can use a VM as well, this is totally fine.

Thanks for clearing that up.

Hi
And if i move from a x86 computer to an other x86, does it work ?
Thank you.

Might be working. Something you would need to try.

HI,
I tried it yesterday.
So it didn’t work I have this message :

Here’s what I did:

  1. I made a backup of dietpi on my old x86 computer (which we’ll call (1)) on an external hard drive
  2. I installed dietpi on a new X86 computer (called (2))
  3. I did the dietpi updates on (2) to be at the same level
  4. I restored the backup of (1) to (2) using the dietpi-backup utility

And then he tells me that normal.mod is not available.

Can I manually transfer this file from (1) to (2) by plugging the hard drives into a windows pc? Or is there another solution?

Thank you.

I try a second time to use diet-backup to restore a dietpi installation to an other one (x86 to x86 machine).

After reboot the new dietpi blocked at launch (grub).

When I try to restore my backup I have this message :

After restoring my backup I have mad a reboot, maybe I should do something before ?

is the system working after the restore?

Yes and No !

The system works but all my softwares don’t work (nextcloud, rtorrent, freshrss, …).

Here’s that I have done to transfer :

  1. Install dietpi on my new pc
  2. Install all the software I used on my old PC on the new one
  3. Restore the back from my old PC on the new PC
  4. After this step GRUB is broken
  5. I repair it with boot-repair liveCd (on a usb stick)
  6. Grub is repair
  7. Dietpi launch
  8. But nothing work

Here’s the screen for some apps :
Nextcloud (using my dyndns adress)

Nextcloud (using http://ipadress/nextcloud)

Rtorrent

I think Nginx have a problem,
I do all my best to try to transfer my dietpi, I don’t have enough skills to continue.

here’s the log of nginx :

2025/03/16 22:17:25 [error] 6751#6751: *12 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 192.168.1.1, server: julien.servebeer.com, request: "GET /nextcloud/apps/files/ HTTP/2.0", upstream: "fastcgi://unix:/run/php/php8.2-fpm.sock", host: "julien.servebeer.com"
2025/03/16 22:17:53 [error] 6748#6748: *1 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 192.168.1.1, server: julien.servebeer.com, request: "GET /nextcloud/index.php/204 HTTP/1.1", upstream: "fastcgi://unix:/run/php/php8.2-fpm.sock", host: "julien.servebeer.com"
2025/03/16 22:17:59 [error] 6751#6751: *12 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 192.168.1.1, server: julien.servebeer.com, request: "GET /nextcloud/index.php/apps/files/preview-service-worker.js HTTP/2.0", upstream: "fastcgi://unix:/run/php/php8.2-fpm.sock", host: "julien.servebeer.com"
2025/03/16 22:18:03 [error] 6748#6748: *43 upstream timed out (110: Connection timed out) while sending request to upstream, client: 92.184.112.174, server: julien.servebeer.com, request: "PUT /nextcloud/remote.php/dav/files/Julien/Mes%20Photos/2025/03/20250316_175444.jpg HTTP/1.1", upstream: "fastcgi://unix:/run/php/php8.2-fpm.sock", host: "julien.servebeer.com"
2025/03/16 22:18:25 [error] 6751#6751: *12 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 192.168.1.1, server: julien.servebeer.com, request: "GET /nextcloud/apps/files/ HTTP/2.0", upstream: "fastcgi://unix:/run/php/php8.2-fpm.sock", host: "julien.servebeer.com"
2025/03/16 22:18:55 [error] 6748#6748: *1 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 192.168.1.1, server: julien.servebeer.com, request: "GET /nextcloud/index.php/204 HTTP/1.1", upstream: "fastcgi://unix:/run/php/php8.2-fpm.sock", host: "julien.servebeer.com"
2025/03/16 22:19:18 [error] 6748#6748: *51 upstream timed out (110: Connection timed out) while sending request to upstream, client: 92.184.112.174, server: julien.servebeer.com, request: "PUT /nextcloud/remote.php/dav/files/Julien/Mes%20Photos/2025/03/20250316_175435.jpg HTTP/1.1", upstream: "fastcgi://unix:/run/php/php8.2-fpm.sock", host: "julien.servebeer.com"
2025/03/16 22:19:26 [error] 6751#6751: *12 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 192.168.1.1, server: julien.servebeer.com, request: "GET /nextcloud/index.php/apps/files/preview-service-worker.js HTTP/2.0", upstream: "fastcgi://unix:/run/php/php8.2-fpm.sock", host: "julien.servebeer.com"
2025/03/16 22:19:57 [error] 6748#6748: *1 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 192.168.1.1, server: julien.servebeer.com, request: "GET /nextcloud/index.php/204 HTTP/1.1", upstream: "fastcgi://unix:/run/php/php8.2-fpm.sock", host: "julien.servebeer.com"
2025/03/16 22:20:30 [error] 6751#6751: *12 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 192.168.1.1, server: julien.servebeer.com, request: "GET /nextcloud/ HTTP/2.0", upstream: "fastcgi://unix:/run/php/php8.2-fpm.sock", host: "julien.servebeer.com"
2025/03/16 22:20:31 [error] 6751#6751: *12 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 192.168.1.1, server: julien.servebeer.com, request: "GET /nextcloud/index.php/apps/files/preview-service-worker.js HTTP/2.0", upstream: "fastcgi://unix:/run/php/php8.2-fpm.sock", host: "julien.servebeer.com"
2025/03/16 22:20:33 [error] 6748#6748: *58 upstream timed out (110: Connection timed out) while sending request to upstream, client: 92.184.112.174, server: julien.servebeer.com, request: "PUT /nextcloud/remote.php/dav/files/Julien/Mes%20Photos/2025/03/20250316_175603.jpg HTTP/1.1", upstream: "fastcgi://unix:/run/php/php8.2-fpm.sock", host: "julien.servebeer.com"
2025/03/16 22:21:00 [error] 6748#6748: *64 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 192.168.1.1, server: julien.servebeer.com, request: "GET /nextcloud/index.php/204 HTTP/1.1", upstream: "fastcgi://unix:/run/php/php8.2-fpm.sock", host: "julien.servebeer.com"
2025/03/16 22:21:34 [error] 6748#6748: *66 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 192.168.1.1, server: julien.servebeer.com, request: "GET /nextcloud/index.php/apps/files/preview-service-worker.js HTTP/2.0", upstream: "fastcgi://unix:/run/php/php8.2-fpm.sock", host: "julien.servebeer.com"
2025/03/16 22:22:00 [error] 6748#6748: *64 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 192.168.1.1, server: julien.servebeer.com, request: "GET /nextcloud/status.php HTTP/1.1", upstream: "fastcgi://unix:/run/php/php8.2-fpm.sock", host: "julien.servebeer.com"
2025/03/16 22:22:01 [error] 6748#6748: *69 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 192.168.1.1, server: julien.servebeer.com, request: "GET /nextcloud/index.php/204 HTTP/1.1", upstream: "fastcgi://unix:/run/php/php8.2-fpm.sock", host: "julien.servebeer.com"
2025/03/16 22:23:03 [error] 6748#6748: *69 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 192.168.1.1, server: julien.servebeer.com, request: "GET /nextcloud/index.php/204 HTTP/1.1", upstream: "fastcgi://unix:/run/php/php8.2-fpm.sock", host: "julien.servebeer.com"
2025/03/16 22:24:05 [error] 6748#6748: *69 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 192.168.1.1, server: julien.servebeer.com, request: "GET /nextcloud/index.php/204 HTTP/1.1", upstream: "fastcgi://unix:/run/php/php8.2-fpm.sock", host: "julien.servebeer.com"
2025/03/16 22:25:07 [error] 6748#6748: *69 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 192.168.1.1, server: julien.servebeer.com, request: "GET /nextcloud/index.php/204 HTTP/1.1", upstream: "fastcgi://unix:/run/php/php8.2-fpm.sock", host: "julien.servebeer.com"
2025/03/16 22:25:07 [error] 6748#6748: *73 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 192.168.1.1, server: julien.servebeer.com, request: "GET /nextcloud/index.php/apps/files/preview-service-worker.js HTTP/2.0", upstream: "fastcgi://unix:/run/php/php8.2-fpm.sock", host: "julien.servebeer.com"
2025/03/16 22:25:43 [error] 6748#6748: *73 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 192.168.1.1, server: julien.servebeer.com, request: "GET /freshrss/ HTTP/2.0", upstream: "fastcgi://unix:/run/php/php8.2-fpm.sock", host: "julien.servebeer.com"
2025/03/16 22:26:10 [error] 6748#6748: *80 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 192.168.1.1, server: julien.servebeer.com, request: "GET /nextcloud/index.php/204 HTTP/1.1", upstream: "fastcgi://unix:/run/php/php8.2-fpm.sock", host: "julien.servebeer.com"
2025/03/16 22:26:48 [error] 6748#6748: *84 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 192.168.1.1, server: julien.servebeer.com, request: "GET /nextcloud/index.php/apps/files/preview-service-worker.js HTTP/2.0", upstream: "fastcgi://unix:/run/php/php8.2-fpm.sock", host: "julien.servebeer.com"
2025/03/16 22:27:11 [error] 6748#6748: *80 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 192.168.1.1, server: julien.servebeer.com, request: "GET /nextcloud/index.php/204 HTTP/1.1", upstream: "fastcgi://unix:/run/php/php8.2-fpm.sock", host: "julien.servebeer.com"
2025/03/16 22:27:54 [error] 6748#6748: *87 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 192.168.1.1, server: julien.servebeer.com, request: "GET /nextcloud/index.php/apps/files/preview-service-worker.js HTTP/2.0", upstream: "fastcgi://unix:/run/php/php8.2-fpm.sock", host: "julien.servebeer.com"
2025/03/16 22:27:56 [error] 6748#6748: *87 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 192.168.1.1, server: julien.servebeer.com, request: "GET /rutorrent/php/getsettings.php?_=1742160413749 HTTP/2.0", upstream: "fastcgi://unix:/run/php/php8.2-fpm.sock", host: "julien.servebeer.com", referrer: "https://julien.servebeer.com/rutorrent/"
2025/03/16 22:27:56 [error] 6748#6748: *87 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 192.168.1.1, server: julien.servebeer.com, request: "GET /rutorrent/php/getplugins.php HTTP/2.0", upstream: "fastcgi://unix:/run/php/php8.2-fpm.sock", host: "julien.servebeer.com", referrer: "https://julien.servebeer.com/rutorrent/"
2025/03/16 22:28:13 [error] 6748#6748: *80 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 192.168.1.1, server: julien.servebeer.com, request: "GET /nextcloud/index.php/204 HTTP/1.1", upstream: "fastcgi://unix:/run/php/php8.2-fpm.sock", host: "julien.servebeer.com"
2025/03/16 22:30:18 [error] 7580#7580: *1 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 192.168.1.1, server: julien.servebeer.com, request: "GET /nextcloud/index.php/204 HTTP/1.1", upstream: "fastcgi://unix:/run/php/php8.2-fpm.sock", host: "julien.servebeer.com"
2025/03/16 22:31:20 [error] 7582#7582: *4 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 192.168.1.1, server: julien.servebeer.com, request: "GET /nextcloud/index.php/204 HTTP/1.1", upstream: "fastcgi://unix:/run/php/php8.2-fpm.sock", host: "julien.servebeer.com"
2025/03/16 22:31:36 [error] 7581#7581: *6 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 192.168.1.1, server: julien.servebeer.com, request: "GET /nextcloud/index.php/core/preview?fileId=00227391ocjm9lgn27xr&x=256&y=256&a=true HTTP/1.1", upstream: "fastcgi://unix:/run/php/php8.2-fpm.sock", host: "julien.servebeer.com"
2025/03/16 22:31:46 [error] 7583#7583: *8 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 192.168.1.1, server: julien.servebeer.com, request: "GET /nextcloud/index.php/core/preview?fileId=00228589ocjm9lgn27xr&x=256&y=256&a=true HTTP/1.1", upstream: "fastcgi://unix:/run/php/php8.2-fpm.sock", host: "julien.servebeer.com"
2025/03/16 22:31:56 [error] 7580#7580: *10 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 192.168.1.1, server: julien.servebeer.com, request: "GET /nextcloud/index.php/core/preview?fileId=00227218ocjm9lgn27xr&x=32&y=32&a=true HTTP/1.1", upstream: "fastcgi://unix:/run/php/php8.2-fpm.sock", host: "julien.servebeer.com"
2025/03/16 22:32:07 [error] 7580#7580: *12 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 192.168.1.1, server: julien.servebeer.com, request: "GET /nextcloud/index.php/core/preview?fileId=00203375ocjm9lgn27xr&x=256&y=256&a=true HTTP/1.1", upstream: "fastcgi://unix:/run/php/php8.2-fpm.sock", host: "julien.servebeer.com"
2025/03/16 22:32:16 [error] 7580#7580: *14 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 192.168.1.1, server: julien.servebeer.com, request: "GET /nextcloud/index.php/core/preview?fileId=00227174ocjm9lgn27xr&x=48&y=48&a=true HTTP/1.1", upstream: "fastcgi://unix:/run/php/php8.2-fpm.sock", host: "julien.servebeer.com"
2025/03/16 22:32:20 [error] 7582#7582: *4 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 192.168.1.1, server: julien.servebeer.com, request: "GET /nextcloud/status.php HTTP/1.1", upstream: "fastcgi://unix:/run/php/php8.2-fpm.sock", host: "julien.servebeer.com"
2025/03/16 22:32:36 [error] 7581#7581: *6 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 192.168.1.1, server: julien.servebeer.com, request: "GET /nextcloud/index.php/204 HTTP/1.1", upstream: "fastcgi://unix:/run/php/php8.2-fpm.sock", host: "julien.servebeer.com"
2025/03/16 22:32:46 [error] 7583#7583: *8 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 192.168.1.1, server: julien.servebeer.com, request: "GET /nextcloud/index.php/core/preview?fileId=00212462ocjm9lgn27xr&x=256&y=256&a=true HTTP/1.1", upstream: "fastcgi://unix:/run/php/php8.2-fpm.sock", host: "julien.servebeer.com"
2025/03/16 22:32:56 [error] 7580#7580: *10 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 192.168.1.1, server: julien.servebeer.com, request: "GET /nextcloud/index.php/core/preview?fileId=00227392ocjm9lgn27xr&x=256&y=256&a=true HTTP/1.1", upstream: "fastcgi://unix:/run/php/php8.2-fpm.sock", host: "julien.servebeer.com"
2025/03/16 22:33:07 [error] 7580#7580: *12 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 192.168.1.1, server: julien.servebeer.com, request: "GET /nextcloud/index.php/core/preview?fileId=00228590ocjm9lgn27xr&x=256&y=256&a=true HTTP/1.1", upstream: "fastcgi://unix:/run/php/php8.2-fpm.sock", host: "julien.servebeer.com"
2025/03/16 22:33:16 [error] 7580#7580: *14 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 192.168.1.1, server: julien.servebeer.com, request: "GET /nextcloud/index.php/core/preview?fileId=00203376ocjm9lgn27xr&x=256&y=256&a=true HTTP/1.1", upstream: "fastcgi://unix:/run/php/php8.2-fpm.sock", host: "julien.servebeer.com"
2025/03/16 22:33:20 [error] 7582#7582: *4 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 192.168.1.1, server: julien.servebeer.com, request: "GET /nextcloud/index.php/core/preview?fileId=00212463ocjm9lgn27xr&x=256&y=256&a=true HTTP/1.1", upstream: "fastcgi://unix:/run/php/php8.2-fpm.sock", host: "julien.servebeer.com"
2025/03/16 22:33:36 [error] 7581#7581: *6 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 192.168.1.1, server: julien.servebeer.com, request: "GET /nextcloud/index.php/204 HTTP/1.1", upstream: "fastcgi://unix:/run/php/php8.2-fpm.sock", host: "julien.servebeer.com"
2025/03/16 22:34:25 [error] 7580#7580: *33 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 192.168.1.1, server: julien.servebeer.com, request: "GET /nextcloud/index.php/204 HTTP/1.1", upstream: "fastcgi://unix:/run/php/php8.2-fpm.sock", host: "julien.servebeer.com"
2025/03/16 22:35:27 [error] 7580#7580: *33 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 192.168.1.1, server: julien.servebeer.com, request: "GET /nextcloud/index.php/204 HTTP/1.1", upstream: "fastcgi://unix:/run/php/php8.2-fpm.sock", host: "julien.servebeer.com"
2025/03/16 22:36:29 [error] 7580#7580: *33 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 192.168.1.1, server: julien.servebeer.com, request: "GET /nextcloud/index.php/204 HTTP/1.1", upstream: "fastcgi://unix:/run/php/php8.2-fpm.sock", host: "julien.servebeer.com"
2025/03/16 22:37:31 [error] 7580#7580: *33 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 192.168.1.1, server: julien.servebeer.com, request: "GET /nextcloud/index.php/204 HTTP/1.1", upstream: "fastcgi://unix:/run/php/php8.2-fpm.sock", host: "julien.servebeer.com"
2025/03/16 22:38:33 [error] 7580#7580: *33 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 192.168.1.1, server: julien.servebeer.com, request: "GET /nextcloud/index.php/204 HTTP/1.1", upstream: "fastcgi://unix:/run/php/php8.2-fpm.sock", host: "julien.servebeer.com"
2025/03/16 22:39:40 [error] 7580#7580: *39 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 192.168.1.1, server: julien.servebeer.com, request: "GET /nextcloud/ HTTP/2.0", upstream: "fastcgi://unix:/run/php/php8.2-fpm.sock", host: "julien.servebeer.com"
2025/03/16 22:39:41 [error] 7580#7580: *39 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 192.168.1.1, server: julien.servebeer.com, request: "GET /nextcloud/index.php/apps/files/preview-service-worker.js HTTP/2.0", upstream: "fastcgi://unix:/run/php/php8.2-fpm.sock", host: "julien.servebeer.com"
2025/03/16 22:39:56 [alert] 7580#7580: *43 open socket #18 left in connection 5
2025/03/16 22:39:56 [alert] 7580#7580: *44 open socket #19 left in connection 6
2025/03/16 22:39:56 [alert] 7580#7580: *47 open socket #15 left in connection 7
2025/03/16 22:39:56 [alert] 7580#7580: *42 open socket #17 left in connection 8
2025/03/16 22:39:56 [alert] 7580#7580: *39 open socket #14 left in connection 9
2025/03/16 22:39:56 [alert] 7580#7580: *48 open socket #16 left in connection 10
2025/03/16 22:39:56 [alert] 7580#7580: *45 open socket #20 left in connection 11
2025/03/16 22:39:56 [alert] 7580#7580: *46 open socket #21 left in connection 12
2025/03/16 22:39:56 [alert] 7580#7580: aborting
2025/03/16 22:41:02 [crit] 8516#8516: *28 SSL_do_handshake() failed (SSL: error:0A00006C:SSL routines::bad key share) while SSL handshaking, client: 138.68.82.23, server: 0.0.0.0:443
2025/03/16 22:41:39 [error] 8516#8516: *7 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 192.168.1.1, server: julien.servebeer.com, request: "GET /nextcloud/index.php/204 HTTP/1.1", upstream: "fastcgi://unix:/run/php/php8.2-fpm.sock", host: "julien.servebeer.com"
2025/03/16 22:42:39 [error] 8516#8516: *7 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 192.168.1.1, server: julien.servebeer.com, request: "GET /nextcloud/status.php HTTP/1.1", upstream: "fastcgi://unix:/run/php/php8.2-fpm.sock", host: "julien.servebeer.com"
2025/03/16 22:42:41 [error] 8518#8518: *61 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 192.168.1.1, server: julien.servebeer.com, request: "GET /freshrss/ HTTP/2.0", upstream: "fastcgi://unix:/run/php/php8.2-fpm.sock", host: "julien.servebeer.com"
2025/03/16 22:42:41 [error] 8518#8518: *62 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 192.168.1.1, server: julien.servebeer.com, request: "GET /nextcloud/index.php/204 HTTP/1.1", upstream: "fastcgi://unix:/run/php/php8.2-fpm.sock", host: "julien.servebeer.com"
2025/03/16 22:42:42 [error] 8518#8518: *61 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 192.168.1.1, server: julien.servebeer.com, request: "GET /nextcloud/index.php/apps/files/preview-service-worker.js HTTP/2.0", upstream: "fastcgi://unix:/run/php/php8.2-fpm.sock", host: "julien.servebeer.com"
2025/03/16 22:43:43 [error] 8518#8518: *62 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 192.168.1.1, server: julien.servebeer.com, request: "GET /nextcloud/index.php/204 HTTP/1.1", upstream: "fastcgi://unix:/run/php/php8.2-fpm.sock", host: "julien.servebeer.com"
2025/03/16 22:43:43 [error] 8518#8518: *61 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 192.168.1.1, server: julien.servebeer.com, request: "GET /nextcloud/index.php/apps/files/preview-service-worker.js HTTP/2.0", upstream: "fastcgi://unix:/run/php/php8.2-fpm.sock", host: "julien.servebeer.com"

You don’t need to install the software beforehand, just flahlsu Dietpi, run the first boot setup and then restore the backup.

But for some reason it looks like PHP is not working anymore.

You can also try to create an image from the working system and flash it to the new drive:

So it looks like x86 to x86 has issues, can i move my microSD card from a r Pi 3A+ to a new r Pi zero 2 and have it work? The only difference between the two seems to be no 5gHz wireless on the latter. Thanks.

Short answer: yes

Long answer: RPI family is a complete different platform and you are able to switch between them

Thank you