Git Product home page Git Product logo

Comments (8)

BreakfastSerial avatar BreakfastSerial commented on July 20, 2024 1

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.

DecaTec avatar DecaTec commented on July 20, 2024

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.

BreakfastSerial avatar BreakfastSerial commented on July 20, 2024

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.

DecaTec avatar DecaTec commented on July 20, 2024

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.

BreakfastSerial avatar BreakfastSerial commented on July 20, 2024

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.

DecaTec avatar DecaTec commented on July 20, 2024

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.

BreakfastSerial avatar BreakfastSerial commented on July 20, 2024

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.

DecaTec avatar DecaTec commented on July 20, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.