Unable to enter users

Hello,

I’ve reset my nextcloudpi. I restored the datadir to my external disk but I’m not able to enter the old accounts although sudo ls /datastore -all (/datastore is mounted to my external drive) shows that these users are in use…

sudo ls /datastore -all
total 260
drwxr-x— 16 www-data www-data 4096 Dec 18 21:44 .
drwxr-xr-x 22 root root 4096 Dec 18 21:14 …
drwxr-x— 12 www-data www-data 4096 Dec 18 21:16 appdata_oclaqn5ofjmm
drwxr-x— 9 www-data www-data 4096 Dec 18 22:04 appdata_ocmc78otydrx
-rwxr-x— 1 www-data www-data 1274 Nov 25 16:29 audit.log
drwxr-x— 4 www-data www-data 4096 Aug 17 18:19 Carlo
drwxr-x— 2 www-data www-data 4096 Jul 21 04:08 files_external
drwxr-x— 2 www-data www-data 4096 Aug 17 08:06 gpxpod
-rwxr-x— 1 www-data www-data 324 Dec 18 21:44 .htaccess
-rwxr-x— 1 www-data www-data 0 Dec 18 21:44 index.html
drwxr-x— 2 www-data www-data 16384 Aug 15 22:28 lost+found
drwxr-x— 6 www-data www-data 4096 Dec 18 21:44 ncp
drwxr-x— 2 www-data www-data 4096 Oct 5 06:33 ncp-update-backups
drwxr-x— 4 www-data www-data 4096 Jul 21 04:09 news
-rw-r----- 1 www-data www-data 52624 Dec 18 22:34 nextcloud.log
-rwxr-x— 1 www-data www-data 0 Dec 18 21:44 .ocdata
drwxr-x— 5 www-data www-data 4096 Dec 18 21:30 .opcache
drwxr-x— 7 www-data www-data 4096 Aug 17 06:52 Tim
drwxr-x— 2 www-data www-data 77824 Jul 21 04:09 tmp
-rwxr-x— 1 www-data www-data 242 Dec 15 04:45 tmpnc_pw_hibp_api_cookies.txt
-rwxr-x— 1 www-data www-data 38588 Nov 25 16:28 updater.log
drwxr-x— 4 www-data www-data 4096 Nov 25 16:29 updater-oclaqn5ofjmm
drwxr-x— 6 www-data www-data 4096 Oct 7 20:45 Wachtwoorden

Could someone help me with this mindbreaker?

Thank you!

Can you post output of

sudo ncp-report

I mostly copy/paste to pastebin.com, and post link here.

I solved this problem by adding the external HDD via the external HDD plugin. Then I went to the userspanel and added the users which were listed on the external HDD.