Git Product home page Git Product logo

Comments (21)

JonathanTreffler avatar JonathanTreffler commented on July 20, 2024 3

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.

JonathanTreffler avatar JonathanTreffler commented on July 20, 2024 2

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.

JonathanTreffler avatar JonathanTreffler commented on July 20, 2024 1

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:
grafik

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.

Quix0r avatar Quix0r commented on July 20, 2024 1

Unfortunately not. 😢 I had to remove your sharerenamer/vendor/ directory, then it works.

from sharerenamer.

JonathanTreffler avatar JonathanTreffler commented on July 20, 2024 1

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.

daffydock avatar daffydock commented on July 20, 2024 1

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.

JonathanTreffler avatar JonathanTreffler commented on July 20, 2024 1

the composer folder is the vendor folder.

from sharerenamer.

daffydock avatar daffydock commented on July 20, 2024 1

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.

JonathanTreffler avatar JonathanTreffler commented on July 20, 2024 1

If the app works delete nothing. If it doesnt try deleting the whole vendor folder.

from sharerenamer.

daffydock avatar daffydock commented on July 20, 2024 1

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.

livier avatar livier commented on July 20, 2024 1

Thanks, that's good

from sharerenamer.

erwdavid avatar erwdavid commented on July 20, 2024

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.

mvosz avatar mvosz commented on July 20, 2024

same

from sharerenamer.

Quix0r avatar Quix0r commented on July 20, 2024

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.

Quix0r avatar Quix0r commented on July 20, 2024

That's odd. Then why I still got this error? Please refer to this issue: nextcloud/server#45099

from sharerenamer.

livier avatar livier commented on July 20, 2024

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.

JonathanTreffler avatar JonathanTreffler commented on July 20, 2024

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.

livier avatar livier commented on July 20, 2024

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.

JonathanTreffler avatar JonathanTreffler commented on July 20, 2024

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.

livier avatar livier commented on July 20, 2024

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.

ethernet-zero avatar ethernet-zero commented on July 20, 2024

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

Is there a reason why Nextcloud 28 is left out? It goes straight from 26 to 29.

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.