I have a request from a User who has created and send a Link over a Year ago, claiming the Link was now invalid even though she changed or deleted nothing.
I did update NC in the meantime with two major Versions, so my qquestions are:
Do shared Links stay the same or can they change due to NC-Upgrades, f.e. from NC v18 to 20?
Is there a general expiry-date for Links, f.e. after 12 Months?
After a few months - most likely after an upgrade - people canāt access old shared links anymore even though they are still around.
Once I have visted that link, they can access it again.
I donāt know yet if it happens after point upgrades or proper version upgrades. But if anybody knows more about this, and how to keep links active that would be great.
The files/folders still are shared by that link. Still are in the āsharedā overview as well.
(This instance is set to automatically have links expire after 14 days. So users have to actively uncheck that. They then think that the link should be there in perpetuity or until they delete the share.)
Users will not be able to set the expiration date further in the future than the enforced expiration date, although they will be able to set a more recent date. Also note that users will be able to update the expiration date again at a later point. The expiration date is based on the current date and not on the share creation date. The user will be able to extend the expiration date again whenever a previous expiration date is close to be reached.
I assumed all new shares expire after 14 days unless the user sets a different date. Even if they take away the checkmark for a permanent share link.
I put that in so that if they donāt care to check (which happened way too often), shared links expire after 14 days unless explicitly stated not to. I did not check āEnforce expiration dateā - since I assumed thatās the one that makes it impossible to share a link for longer than 14 days.
So, the way I am reading the docs here is:
I can not set a standard expiration date of 14 days, but still allow my users to do longer lasting public link shares?
If so, that kinda sucks. I really want links to expire after 14 days unless specifically stated not to by the user.
That wouldnāt make any sense on its own. That would only make sense if you could enforce additional rules like minimum and maximum share periods. Otherwise the users would just set it to 31.12.2099, which would technically be the same as removing the checkmark.
This is exactly how it works when you donāt enforce the expiration date. On a new share the predefined expiration date is set by default, however, the user can change it at any time or uncheck the box, which means. āNo expiration dateā.
And yes, technically you are right. Users donāt have to explicitly confirm that they donāt want an expiration date, they have to un-check a box instead, so what weāre essentially talking about here, is just a formality.
In that case, this is not working, and as described in the very first post - links that have actively been unchecked (to technically last forever) still seem to stop working after something happening, or a certain amount of time.
Because I do not enforce the 14 days, since some use case scenarios need longer lasting shares.
I presume, as does the original poster, that after an update, or a whole version upgrade links stop working for some reason - even if they have no expiration date set.
In that case, I would say this is clearly a bug, and should be reported on GitHub.
Btw. Iām not sure what the following note, which @devnull quoted from the admin manual, is supposed to tell usā¦
Maybe itās just me, but that doesnāt make any sense to me at all. When the expiration date is enforced in the admin settings, the field for the expiration date and the corresponding check mark are āgreyed outā. So what exactly does this note mean? Does it mean it will not be āgreyed outā anymore, once the expiration date is close to be reached. How close to the expiration date will this happen? a day? a few hours? Only if there is a full moonā¦?
Going by the docs the comment is right after they explain the āenforce expiry dateā checkmark. Which is why I got confused as well.
Will be busy soon for the rest of today and all of tomorrow, but will open a bug report on github then. Makes sense. Once done, Iāll link it here, so people can follow it in the future.
Good day!
You can ask for a link to the article of this problem on github, I encountered the same problem after moving from OpenLDAP to AD authorization.