Recently, I have upgrade the truenas system from 22.04 to 22.12. In 22.04, I have installed the nextcloud 23.0 and it work well.
After I upgrade the truenas system from 22.04 to 22.12, I found that the nextcloud 23.0 was unable to running, it stuck in 2/3.
So, I newly install a nextcloud 25.0 and it also work well in truenas 22.12, but the nextcloud 25.0 without any old data.
I follow some tutorial that use rsync copy the old nextcloud data (only "data" folder) to new nextcloud path.
Then I use the "php occ files:scan --all" command in nextcloud shell, it works.
But the new nextcloud 25.0 I have only one root account, the "php occ files:scan --all" command only restore the old data of root account.
I have 5 accounts in old nextcloud 23.0 (such as, root, aa,bb,cc,dd), now only one account restore in new nextcloud.
Also, I tried to create a same name account in new nextcloud 25.0 (such as aa), the system will tell me that "The user already has files", which means the system knows that files and accounts exist but can't display them.
My quesetion is, how can I restore or rescan the old account in nextcloud 23.0 to nextcloud 25.0.
If I can restore the old account in nextcloud 23.0, I use the "php occ files:scan --all" command again, maybe I can restore all data in old nextcloud 23.0?
thank!
After I upgrade the truenas system from 22.04 to 22.12, I found that the nextcloud 23.0 was unable to running, it stuck in 2/3.
So, I newly install a nextcloud 25.0 and it also work well in truenas 22.12, but the nextcloud 25.0 without any old data.
I follow some tutorial that use rsync copy the old nextcloud data (only "data" folder) to new nextcloud path.
Then I use the "php occ files:scan --all" command in nextcloud shell, it works.
But the new nextcloud 25.0 I have only one root account, the "php occ files:scan --all" command only restore the old data of root account.
I have 5 accounts in old nextcloud 23.0 (such as, root, aa,bb,cc,dd), now only one account restore in new nextcloud.
Also, I tried to create a same name account in new nextcloud 25.0 (such as aa), the system will tell me that "The user already has files", which means the system knows that files and accounts exist but can't display them.
My quesetion is, how can I restore or rescan the old account in nextcloud 23.0 to nextcloud 25.0.
If I can restore the old account in nextcloud 23.0, I use the "php occ files:scan --all" command again, maybe I can restore all data in old nextcloud 23.0?
thank!
Last edited: