Comments (10)
I f you mean network section of chrome dev tools, here is the output:
POST*********/apps/sharerenamer/rename[HTTP/1.1 409 Conflict 40ms]POST | https://********/apps/sharerenamer/rename |
POST
https://*********/apps/sharerenamer/rename
État
409
Conflict
VersionHTTP/1.1
Transfert1,08 Ko (taille 8 o)
Politique de référentno-referrer
Cache-Control
no-cache, no-store, must-revalidate
Connection
Keep-Alive
Content-Length
8
Content-Security-Policy
default-src 'none';base-uri 'none';manifest-src 'self';frame-ancestors 'none'
Content-Type
application/json; charset=utf-8
Date
Fri, 22 Apr 2022 09:45:10 GMT
Expires
Thu, 19 Nov 1981 08:52:00 GMT
Feature-Policy
accelerometer 'none'; autoplay 'self'; geolocation 'none'; midi 'none'; notifications 'self'; push 'self'; sync-xhr 'self' https://portail.eec31.com/; microphone 'self'; camera 'self'; magnetometer 'none'; gyroscope 'none'; speaker 'self'; vibrate 'self'; fullscreen 'self'; payment 'none'; usb 'none'
Feature-Policy
autoplay 'none';camera 'none';fullscreen 'none';geolocation 'none';microphone 'none';payment 'none'
Keep-Alive
timeout=5, max=97
Pragma
no-cache
Referrer-Policy
no-referrer
Server
Apache
Strict-Transport-Security
max-age=15768000; preload
X-Content-Type-Options
nosniff
X-Download-Options
noopen
X-Frame-Options
SAMEORIGIN
X-Permitted-Cross-Domain-Policies
none
X-Robots-Tag
none
X-XSS-Protection
1; mode=block
Accept
application/json, text/plain, /
Accept-Encoding
gzip, deflate, br
Accept-Language
fr,fr-FR;q=0.8,en-US;q=0.5,en;q=0.3
Connection
keep-alive
Content-Length
61
Content-Type
application/json
Cookie
__Host-nc_sameSiteCookielax=true; __Host-nc_sameSiteCookiestrict=true; ; oc_sessionPassphrase=; nc_username=sam; nc_token=; nc_session_id=*********
DNT
1
Host
*******
Origin
********
requesttoken
********
Sec-Fetch-Dest
empty
Sec-Fetch-Mode
cors
Sec-Fetch-Site
same-origin
User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:99.0) Gecko/20100101 Firefox/99.0
from sharerenamer.
Hi Jonathan,
Thanks dor paying attention to this issue.
Your command did the trick, thanks
from sharerenamer.
The token database is just the normal nextcloud one, if it says the token is already taken with every text as the token, the problem is not the token database.
from sharerenamer.
thanks for your reply.
Any suggestion to point me in the right direction ?
I have been digging everywhere and no answer
I already restored the nextcloud db but no success
from sharerenamer.
Please provide a screenshot or the exact text of the error message, error messages in the browser dev tools console, nextcloud version, app version and relevant nextcloud logs.
from sharerenamer.
[Nextcloud Hub II] (23.0.3)
ShareRenamer 3.0.0
there is nothing in the log that could be relevant. tried a tail -f but nothing shows up when trying to rename a link. nothing is logged
from sharerenamer.
I will look into it later when i have time.
(with the nextcloud log i meant in the logging section in the admin settings).
Please also post the status code and response from the rename network request in the network section of the dev tools.
Please remind me if i forget to get back to you with a solution
from sharerenamer.
Hi Jonathan,
I am not sure what you mean :
(with the nextcloud log i meant in the logging section in the admin settings).
Please also post the status code and response from the rename network request in the network section of the dev tools.
I'll be glad to give all the informations you need, can you be more precise ?
from sharerenamer.
Since this issue doesn't contain all the information of your forum post i will cite it here for context.
Hi everybody,
I have been using share renamer to customize links.
Since I had to migrate the server with new lan IP and hostname, I lost all the sharing links.
Now trying to recreate the links again, it says name already exist.
I restored nextcloud database but it didn’t make the job
Is there a way to cleanup links database or remove all old created token id ?
Thanks
from sharerenamer.
I have looked into it: I don't see any error in the code of this app.
Your database table containing the share links must have gotten messed up by the migration.
My current recommendation is to backup and clean the entire "oc_share" table of your database using
DELETE FROM `oc_share` WHERE share_type=3;
After that you can recreate all the share links.
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
- Use the api that was introduced in NC23? HOT 3
- Php error HOT 1
- [Feature Request] Add support for YOURLS via API HOT 1
- it's possible to assign same share name to different items HOT 8
- Comply to NC 18+ HOT 124
- Delete Links HOT 11
- Unable to delete shares or reuse renamed share names HOT 8
- Not working in NC 18 HOT 1
- Reuse of a Share Name HOT 3
- 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.