So to be brief i will give an overview what is going on:
- Upgraded 9.1 to 10.3
- Ran command sudo -u apache php occ files:scan --all --repair
and for the user sudo -u apache php occ files:scan username
- All shared links from user shared folder went missing. history shows that there are web links shared a week ago but no links appear.
attached screenshots to show the owncloud information on links (should be information when it is removed or the link times out)
The added pictures show that the log shows like the folder has been shared with a link but the link can not be found on anywhere (not the main user nor any users who also can see the folder).
Is it possible that somehow the scan or upgrade deleted or screwed up the linking? Is it possible to restore the links without having to restore the whole database?
Regards
Owncloud user
How was the upgrade performed?
Share information is part of ‘oc_filecache’, if you just move the files without importing the db, you will lose that information.
1 Like
I moved the files before the upgrade last year for this user and for this big folder (some imporanant documentation from another user that left the workplace etc).
And everything was working fine until after the upgrade.
Upgrade:
Backed everything up.
Downloaded new owncloud version from the website.
Unpacked
ran maintanance mode
Copied the config.php
ran occ upgrade
took maintanance mode off.
And done
The issue is only with these previously moved files and and one userfolder.
How did you “move” them? Our recommended method is occ:transfer where all or a specific path can be transfered from one user to another. Any other “move” will invalidate existing shares and other metadata.
1 Like