serverinfo icon indicating copy to clipboard operation
serverinfo copied to clipboard

Already expired shares are displayed

Open benbrummer opened this issue 8 years ago • 1 comments

Steps to reproduce

  1. Create a share with expiration date
  2. Check shares in monitoring
  3. Wait for share to expire

Expected behaviour

Share will not be displayed in monitoring when expired

Actual behaviour

Share is displayed, until the user who created it clicks on "Shared with others" in file app. This propably may never happen so monitoring is not reliable for shares

Server configuration

Operating system: Ubuntu 16.04 Web server: apache with nginx as reverse proxy Database: mysql PHP version: 7.1 Nextcloud version: (see Nextcloud admin page) 12 Where did you install Nextcloud from: Upload zip file

List of activated apps: no extra apps activated, just file app used

If you have access to your command line run e.g.:
sudo -u www-data php occ app:list
from within your Nextcloud installation folder

Nextcloud configuration: except of redis no difference of default settings

Client configuration

Browser:

Operating system:

Logs

Nextcloud log (data/owncloud.log)

Insert your Nextcloud log here

Browser log

Insert your browser log here, this could for example include:

a) The javascript console log
b) The network log
c) ...

benbrummer avatar Jul 04 '17 05:07 benbrummer

May be expired shares can be cleaned by cron.php https://help.nextcloud.com/t/clean-up-expired-shares-by-cron-php/14871

benbrummer avatar Jul 04 '17 05:07 benbrummer

Hi @benbrummer -

Share expiration cleanup is handled by a background job in server these days. Assuming it's working properly, the share stats should be accurate here in serverinfo (at least within the 24 hour window that job runs in). If shares aren't expiring for you properly today, please log an issue in the server repo.

joshtrichards avatar Jul 17 '23 14:07 joshtrichards