Already expired shares are displayed
Steps to reproduce
- Create a share with expiration date
- Check shares in monitoring
- 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) ...
May be expired shares can be cleaned by cron.php https://help.nextcloud.com/t/clean-up-expired-shares-by-cron-php/14871
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.