Nextcloud

From W9CR
Revision as of 18:45, 9 August 2022 by Bryan (talk | contribs) (select * from oc_share where id = 247;)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Next cloud info.

If you want to have a custom timeout (override) on a public share link.

# find the share id in the oc_share table
select * from oc_share where id = 247;
# update it to some date in the future
update oc_share SET expiration = '2100-01-01' WHERE id = 247;

If you want to change the share URL, you can make the token custom up to 32 char

# find the share id in the oc_share table
select * from oc_share where id = 247;
# set the token ID, but ensure it's unique! 
update oc_share SET token = 'incoming-files' WHERE id = 247;