Comments (21)
I am currently updating all dependencies, which I think will likely fix the problem and will create a .1 release.
What would help if dependabot would actually do it's job when I tell it to rebase a version update with merge conflicts 🤦
Edit: v3.3.1 is now available with updated dependencies, see if that fixes your issue.
from sharerenamer.
I just released v3.3.0 of this app, that adds support for Nextcloud 29 🥳
If you install it manually and override the version check in the info.xml it is likely to work on versions 26 through 28 also, but I will not go through the trouble of checking all these old version for compatibility.
It took very little work to get this app compatible with modern versions of nextcloud, just the bootstrap logic, but it has sadly taken this long for me to get around to it. There are always just more nextcloud apps to update, than I have the time for :/
This app in general needs a lot more work, but I cannot promise I will find the time for that soon, but I will try. At least it works now like it used to work on the old versions.
from sharerenamer.
https://github.com/JonathanTreffler/sharerenamer/releases/download/v3.3.0/sharerenamer.tar.gz claims to be 3.2.0 release (NC26 max, but also 28.0.5 did work). Can you please double-check if you have uploaded proper bundle?
EDIT:
ChangeLog.md
states 3.2.0 and the app isn't working with NC29.info.xml
says 3.3.0 however.
The bundle is correct and get's parsed by the nextcloud app store, which correctly shows 3.3.0 for Nextcloud 29:
You are correct however, that my edit of the Changelog did not make it into the bundle, I must have forgot to git pull one last time, but that is inconsequential to the install of the app.
from sharerenamer.
Unfortunately not. 😢 I had to remove your sharerenamer/vendor/
directory, then it works.
from sharerenamer.
Shipping with the vendor directory is valid for nextcloud apps and should not cause issues.
But since this app has no composer dependencies, only dev dependencies I could leave composer out of the app bundle altogether. I just included it out of habit, because more complex nextcloud apps need it. I will look into it.
from sharerenamer.
Hmmm, so unlike @Quix0r, who deleted the /sharerenamer/vendor/ folder
, can I get away with it by just deleting the composer
folder until you release an update?
Cheers
from sharerenamer.
the composer folder is the vendor folder.
from sharerenamer.
Oh, I see. The reason I am asking is because on my install, I have both, a sharerenamer/vendor
and a sharerenamer/vendor/composer
folder. Unless I know better, it seems that you were talking about two different folders altogether. Perhaps there is an overlap in naming convention that I am simply not aware of.
As such, I could have deleted the sharerenamer/vendor/*composer*
folder but still have root Vendor folder within apps/sharerenamer
. If I delete the Vendor, folder it would delete the Composer folder along 12 others within it, along a file within it it.
To confirm, I can delete sharerename/*Vendor*
and all the other folders within it? Or just the Composer folder found within the Vendor folder?
If anything and in either way, I am learning something new, thank you.
from sharerenamer.
If the app works delete nothing. If it doesnt try deleting the whole vendor folder.
from sharerenamer.
If the app works delete nothing. If it doesnt try deleting the whole vendor folder.
It does not work well, errors get spammed in the log on NC29. Will test by deleting it. Again, thank you for your feedback.
from sharerenamer.
Thanks, that's good
from sharerenamer.
Same for me, and I get following errors in log :
[sharerenamer] Fatal: Error during app loading: Autoload path not allowed: /usr/local/nextcloud/apps/sharerenamer/appinfo/application.php
GET /apps/logreader/api/log?offset=0&query=
de 80.74.64.33 par erwan à 2024-03-29T14:44:49+00:00
from sharerenamer.
same
from sharerenamer.
https://github.com/JonathanTreffler/sharerenamer/releases/download/v3.3.0/sharerenamer.tar.gz claims to be 3.2.0 release (NC26 max, but also 28.0.5 did work). Can you please double-check if you have uploaded proper bundle?
EDIT: ChangeLog.md
states 3.2.0 and the app isn't working with NC29. info.xml
says 3.3.0 however.
from sharerenamer.
That's odd. Then why I still got this error? Please refer to this issue: nextcloud/server#45099
from sharerenamer.
Not working here, Nextcloud 29.0.0, sharerenamer 3.3.1
I do not see anything from sharenamer in the UI
I first asked to my Nextcloud's provider, they said they have deleted a folder... That's not on my hands
Log entry, if relevant :
[sharerenamer] Fatal: Error during app service registration: Failed opening required '/var/www/vhosts/mycloud.mydomain.tld/httpdocs/nextcloud/apps/sharerenamer/lib/AppInfo/../../vendor/autoload.php' (include_path='/var/www/vhosts/mycloud.mydomain.tld/httpdocs/nextcloud/3rdparty/pear/archive_tar:/var/www/vhosts/mycloud.mydomain.tld/httpdocs/nextcloud/3rdparty/pear/console_getopt:/var/www/vhosts/mycloud.mydomain.tld/httpdocs/nextcloud/3rdparty/pear/pear-core-minimal/src:/var/www/vhosts/mycloud.mydomain.tld/httpdocs/nextcloud/3rdparty/pear/pear_exception:/var/www/vhosts/mycloud.mydomain.tld/httpdocs/nextcloud/apps')
GET /index.php/apps/logreader/api/poll?lastReqId=Zk6EQSUOs9mJcqr37NK41AAAAEU
de 109.231.82.116 par -- à 22 mai 2024, 19:48:27
from sharerenamer.
If you are having issues on Nextcloud 28 or 29 check again with version 3.4.0 I just released, which is a complete refactor of the codebase :)
from sharerenamer.
not so good unfortunatly ...
I can rename a link, and when I try to open it, page shows :
Ce répertoire est indisponible, merci de consulter les journaux ou de contacter votre administrateur
and the log says :
[sharerenamer] Fatal: Error during app service registration: Failed opening required '/var/www/vhosts/mycloud.mydomain.tld/httpdocs/nextcloud/apps/sharerenamer/lib/AppInfo/../../vendor/autoload.php' (include_path='/var/www/vhosts/mycloud.mydomain.tld/httpdocs/nextcloud/3rdparty/pear/archive_tar:/var/www/vhosts/mycloud.mydomain.tld/httpdocs/nextcloud/3rdparty/pear/console_getopt:/var/www/vhosts/mycloud.mydomain.tld/httpdocs/nextcloud/3rdparty/pear/pear-core-minimal/src:/var/www/vhosts/mycloud.mydomain.tld/httpdocs/nextcloud/3rdparty/pear/pear_exception:/var/www/vhosts/mycloud.mydomain.tld/httpdocs/nextcloud/apps')
GET /ocs/v2.php/core/navigation/apps?format=json
de 109.231.82.116 par -- à 23 mai 2024, 06:29:05
from sharerenamer.
not so good unfortunatly ... I can rename a link, and when I try to open it, page shows :
Ce répertoire est indisponible, merci de consulter les journaux ou de contacter votre administrateur
and the log says :
[sharerenamer] Fatal: Error during app service registration: Failed opening required '/var/www/vhosts/mycloud.mydomain.tld/httpdocs/nextcloud/apps/sharerenamer/lib/AppInfo/../../vendor/autoload.php' (include_path='/var/www/vhosts/mycloud.mydomain.tld/httpdocs/nextcloud/3rdparty/pear/archive_tar:/var/www/vhosts/mycloud.mydomain.tld/httpdocs/nextcloud/3rdparty/pear/console_getopt:/var/www/vhosts/mycloud.mydomain.tld/httpdocs/nextcloud/3rdparty/pear/pear-core-minimal/src:/var/www/vhosts/mycloud.mydomain.tld/httpdocs/nextcloud/3rdparty/pear/pear_exception:/var/www/vhosts/mycloud.mydomain.tld/httpdocs/nextcloud/apps') GET /ocs/v2.php/core/navigation/apps?format=json de 109.231.82.116 par -- à 23 mai 2024, 06:29:05
The autoload call is completely removed from the codebase.
I don't know what causes this on your instance (I could not replicate it on any of mine), but maybe some other installed app is doing weird things it is not supposed to, maybe it's some cache weirdness (try restaring nginx/apache and php-fpm) or the app update didn't work and you are really still on an older version of sharerenamer. Try removing the sharerenamer app completely (look in the apps directory to confirm it got deleted) and reinstalling it fresh.
from sharerenamer.
I desactivated many other apps, and it does not changed anything.
The web page show the above error, but the link to download the zip file (for a folder) worked.
Trying to remove the "-" in the renamer, and it worked. A few month ago, with another instance of nextcloud, that was correct.
Hope that report will help in anything ;-)
from sharerenamer.
If you are having issues on Nextcloud 28 or 29 check again with version 3.4.0 I just released, which is a complete refactor of the codebase :)
Note that all versions starting with 3.3.0 are listed in the app store as requiring Nextcloud 29 and up, so you can't install it in Nextcloud 28 like in my case:
![Captura de pantalla 2024-07-11 a las 18 53 01](https://private-user-images.githubusercontent.com/295227/347909596-2d8da21d-80e6-41a6-ac3c-d9b907e72b20.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjE0NDg3OTIsIm5iZiI6MTcyMTQ0ODQ5MiwicGF0aCI6Ii8yOTUyMjcvMzQ3OTA5NTk2LTJkOGRhMjFkLTgwZTYtNDFhNi1hYzNjLWQ5YjkwN2U3MmIyMC5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwNzIwJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDcyMFQwNDA4MTJaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1mN2FhNGNhZmE4YTBjMjczZWI5MGY0MjZjOTBiNGFmYzE4ODNmOTdkZDlhNTZkZWI5MWY3NTExMDEzNzU0MDQ2JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.PVhuLYie5vBk1rzDRNgYCL7bfmeCNs4X4Ya016JY7f8)
Is there a reason why Nextcloud 28 is left out? It goes straight from 26 to 29.
from sharerenamer.
Related Issues (20)
- 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
- 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
- ShareRenamer & NextCloud 27 HOT 26
- Search Links
- Nextcloud 27 HOT 1
- This directory is unavailable, please check the logs or contact the administrator
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.