I have no support/technical question and have seen the support category. (Be aware that direct support questions will be deleted.)
on
Which general topic do you have
Hello,
The command “occ share:list” return the error message “Node for share not found, fileid: 61050” .
The command “occ sharing:list” do not failed but do not report fileid 61050.
When I request the database “select * from oc_share where item_source = ‘61050’;” it return a row with a filename (file_target" that do not more exists.
Can I remove (delete form oc_share where item_source = ‘61050’) this row without a database corruption ? OR ?
The error:
Node for share not found, fileid: 61050
means that Nextcloud still has a share entry in the table “oc_share”, but the corresponding file no longer exists in the filecache (oc_filecache).
A share becomes orphaned when for example:
a file was deleted
a folder was moved
Nextcloud does not always clean up these entries automatically. But please make a backup before doing the next steps - I can´t guarantee that..
You can run: DELETE FROM oc_share WHERE item_source = '61050';
If you want to double‑check first: SELECT * FROM oc_share WHERE item_source = '61050';
If the file no longer exists in oc_filecache, the share is invalid and can be removed.