We have upgraded from NC 24.0.7 to 25.0.3, all is well. But it happened first time that talk shared files shows in home directory of users. How to prevent shared files to display in home direcotory? It was fine before upgade. All talked shared files remain in home/Talk directory
I could not find find settings → Talk app → attachments folders anywhere in personal settings or in administration settings
Also in oc_preference table there I also could not find anything related to talk attachment folder …
Also observation is that new attachments are being placed in talk/ for all users. Only issue is, old attachments after upgrades are in home directory users. And users cannot move them anywhere,
My bad it might be the {something}_preferences table (if I’m not remembering wrong again )
But anyway, if I’m understanding it correctly it’s not new shared files that are places under the root folder of each user but the old shared files before the update to NC25 that was moved from the talk folder to the root folder of each user.
In that case you may want to create a script to move file accordingly to their attributes. But doing it manually could be better based on the difficulty you have to create that script.
One finding i have that want to share, may be someone give some advice.
I have restored nextcloud database (before upgrade) and compared it with current database (after upgrade). Realized that in oc_share /Talk/ has been replaced with / with old talk shared files following is sample .
I do not know how to repair this quickly with Nextcloud commands unfortunately.
But I can suggest that you create a short script that will clean your database.
It’s not complicated to create and I can guide you if you want.
I would recommend testing it on a replication of your nextcloud instance tho - just in case.
I can imagine two approaches:
Compare each talk folder and home and if you find a duplicate delete the one in the home folder.
Or you can compare both databases and delete duplicates.