VM snapshot restoring cause error in WebUI

Hi,
I just restored a VMware snapshot of my server but I don’t see files in web interface. I tried to search files with SSH and they are in place. Also tried desktop client but it CAN find the files and re-download all files.
More specifically, the part of web UI when i can see files and folders are completely empty, but i can see photos in gallery apps.
After the restore everything was working.
I tried an udate from 12.0.3 to 12.0.4 but a 3rd part app was no more working so i restored the snap I made before start updating.
Does anyone have an idea of ​​what could have led to this issue?
p.s. i have a single server with file stored in a RAID.
Thanks in advance

I think it may be a problem about inconsistency between external disc and nextcloud database.

Can you check your logfiles?

Is the access to external storage working? Perhaps when accessing through web-interface, it tries to update the fileindex but it fails for some reason.

I found that errors:
Error no app in context temp doesn’t exist, can’t verify user data. 2017-12-21T18:00:01+0100
Error no app in context finaltest1 doesn’t exist, can’t verify user data. 2017-12-21T18:00:01+0100
Error no app in context vtest20dic11 doesn’t exist, can’t verify user data. 2017-12-21T18:00:01+0100

some error like:
Error cssresourceloader Could not find resource files/css/upload.css to load 2017-12-21T11:25:10+0100
Error jsresourceloader Could not find resource files/js/jquery.fileupload.js to load 2017-12-21T11:25:10+0100
Error jsresourceloader Could not find resource files/js/file-upload.js to load

and about 20 of these
Error PHP file_get_contents(/var/ncdata/appdata_ocmnpoor4wsx/theming/17/icon-core-filetypes_image.svg): failed to open stream: No such file or directory at /var/www/nextcloud/lib/private/Files/Storage/Local.php#209

What could it be?

I solved this way:
I deleted lots of user via OCC command
./occ user:delete username
I ran occ files:scan -all
and I moved and pasted back the whole files app folder (in var/www/nextcloud/apps/files), then, after a few attempts, it magically re-started to work…