Share folders within NC with authorized users under 25.0.1 setting period of validity not possible

Support intro

Sorry to hear you’re facing problems :slightly_frowning_face: is for home/non-enterprise users. If you’re running a business, paid support can be accessed via where we can ensure your business keeps running smoothly.

In order to help you as quickly as possible, before clicking Create Topic please provide as much of the below as you can. Feel free to use a pastebin service for logs, otherwise either indent short log examples with four spaces:


Or for longer, use three backticks above and below the code snippet:


Some or all of the below information will be requested if it isn’t supplied; for fastest response please provide as much as you can :heart:

Nextcloud version (eg, 20.0.5): 25.0.1
Operating system and version (eg, Ubuntu 20.04): ubuntu-server 22.04.1
Apache or nginx version (eg, Apache 2.4.25): NGinx
PHP version (eg, 7.4): PHP 8.1.x

The issue you are facing:

Is this the first time you’ve seen this error? (Y/N):

Steps to replicate it:

  1. click a folder “share symbol” and open the details page for sharing
  2. choice a user who can authorize to your nextcloud
  3. deactivate further sharing, just allow downloading
  4. set also a time period of validity
  5. remark that no calender opens to choice your end date for the share
  6. remark also that the “set period” choice is deactivated by nextcloud next time you check your settings in that share

The output of your Nextcloud log in Admin > Logging:

No Logs that give a hint to that problem found
Nor error messages in WebUI when setting the share options

The output of your config.php file in /path/to/nextcloud (make sure you remove any identifiable information!):


The output of your Apache/nginx/system log in /var/log/____:



Output errors in nextcloud.log in /var/www/ or as admin user in top right menu, filtering for errors. Use a pastebin service if necessary.


I have triied both setting the general period of 7 days within admin pages and also deactivating this option to let each user choice him or herself which time period should the share be valid.

Nothing change that behaviour. It is new to 25.0.1 (under 24.0.7 before it was no problem → a calendar field was aware to set the end time.

Any one else that in 25.0.1

For your understanding, the share itself is visible for the user i share the folder with under his / her shared files folder.
Only the “elapse time” can’t be configured properly so far as i could test.

Within the nextcloud client for android (Version 3.23.0)
Setting elapse time period is possible and if doing so under android, a field for setting date is visible as well in the webui.
But the date set under android is not visible in the webUI → looks like you set it the first time for this share, so the field shows as option only.

Sharing another folder or file first time same behaviour. Sharing under WebUI (no expire date possible). Modify share under Android → then in both Clients expire date for the share possible.

Also a clear browser cache didn’t solve this problem.

1 Like

I think this should be fixed with 25.0.2

Ah, thanks for reply.

Have seen that the milestone date has been posponed to the 08.12.2022.


Same problem here on 25.0.1 with Group Folders 13.1.0.
The calendar to set the date does not appear on the Web GUI. So there’s no possibility to set an expiration date!
Lucky me, that it did not happen in summer, when everybody is going to have holidays.
Thank you for the Android-App Trick. Good enough for me at the moment.

Error seems to be fixed under 25.0.2

Thank you! :slightly_smiling_face: