Comments (8)
Thank you very much for your input! I'll set that up as soon as possible and will report back with the results, if any new issues arise.
from sharerenamer.
The link seems to be still part of the system.
To make sure that the link doesn't exist anymore, take a look at NC's database:
SELECT token FROM oc_share;
Is the link in question still listed here?
Edit: I could also be that another user of the cloud uses the same link. The shared links are not per user, but per instance.
from sharerenamer.
There's definitely no other user sharing links, for now it's just a single user test instance. The shares in question still appear in the database. There are some randomly named shares and some of which I renamed with the app.
AWqBj6m7YYMkojp
GBTSMxgBNsxQqG
c7YegiYaLnZLQ6K
share
kc5ojE89mLDZwgF
test
help
from sharerenamer.
Make sure you deleted the shared files/folders from the trash bin. Double check: After the trash bin was emptied, call it again (sometimes it says that all was deleted, but on the next call of the trash bin,the files are still there).
Usually, the (deleted) shared links are removed by the cron job. So how did you set up your cron job (AJAX, Webcron, cron)?
from sharerenamer.
I double checked, there are no files/folders in the trash bin.
the (deleted) shared links are removed by the cron job
I do not recall setting up such a cron job. Sounds like there is a specific job that has to be configured explicitly. What task are you referring to? I guess this would be my problem then.
from sharerenamer.
Here you can find the instructions on how to set up a cron Job for NC: https://docs.nextcloud.com/server/stable/admin_manual/configuration_server/background_jobs_configuration.html
Important: Has to he as real cron Job (no AJAX, no web cron).
from sharerenamer.
So out of the box, NC never deletes any share name, which in combination with the add-in, leads to this issue. Am I understanding this correctly? If so, it sounds like my issue should be pretty common, right?
Thank you for the link to the cron job configuration! Any suggestions on how to define the job to only delete unused share names?
from sharerenamer.
That would be my guess that the old links don't get deleted due to no cron job running.
Anyway, you should set up a cron job for the backgroud tasks in NC.
So there's no way of defining a backgroud job just for deleting old share links. Simply set up a "default" NC cron job.
from sharerenamer.
Related Issues (20)
- Add Support for nextcloud 24 HOT 4
- After creating a share link, Share Renamer requires a refresh to recognize it for renaming HOT 1
- name already exist HOT 10
- Use the api that was introduced in NC23? HOT 3
- Nextcloud 26 compatibility HOT 2
- Is it possible to use via CLI or API? HOT 1
- Rename shares in all apps HOT 1
- Disabled automatically on Nextcloud 26.01 HOT 4
- Not working in NC 18 HOT 1
- Reuse of a Share Name HOT 3
- ShareRenamer & NextCloud 27 HOT 26
- Search Links
- becoming official - despite possible security risk HOT 12
- Flag as incompatible with NC 18+ HOT 9
- NextCloud (NC) 19 HOT 4
- Not longer maintained/looking for maintainers HOT 22
- Not work NC19 HOT 1
- Nextcloud 20 HOT 1
- Are old renamed links still working after update? HOT 2
- ShareRenamer 3.0.0 does not work on NC 23.0.0 HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sharerenamer.