Completely broken on Nextcloud 28
With the release of Nextcloud 28 and the deprecation of the Right Click app in favor of the integration of it across the board, the Sharing Path app has stopped working entirely. It is impossible to copy the path of a file via the right click context menu, as there's no such option present any more. As such, I've decided to stay on Nextcloud 27, where it works alongside Right Click, despite it not being updated for a considerable amount of releases now. If there's any workaround for this or desire to continue developing this app that I cannot live without, please let me know. Thank you.
After installing Nextcloud 28.0.1, the Sharing Path app from Rookie0 (current version 0.4.4) no longer works. In Nextcloud version 27, the app could be used with a right-click without any problems. Who can help me to get the app working again? Many thanks in advance for your help!
After installing Nextcloud 28.0.1, the Sharing Path app from Rookie0 (current version 0.4.4) no longer works. In Nextcloud version 27, the app could be used with a right-click without any problems. Who can help me to get the app working again? Many thanks in advance for your help!
The only workaround that I know of, as mentioned, is to stay on version 27, or roll it back to that version. Hopefully an actual solution comes up.
@wbertwab @ayuinaba
Suggested alternative: Utilize the "Sharing Path" feature using custom links rather than auto-generated ones.
As we understand, the sharepath link consists of two components:
- Prefix:
https://<nextcloud domain>/apps/sharingpath/<username>/ - Sharing folder: I have designated it as
public. I consistently place shared files in this folder to safeguard other more private files from unauthorized access. - File path: Such as
/video/minami-03.mp4
Thus, the custom link takes the form of https://<nextcloud domain>/apps/sharingpath/<username>/public/video/minami-03.mp4. This link remains functional in Nextcloud 28.x.x.
Fortunately, the core functionality remains intact. It is operational, albeit not flawlessly.
@wbertwab @ayuinaba
Suggested alternative: Utilize the "Sharing Path" feature using custom links rather than auto-generated ones.
As we understand, the sharepath link consists of two components:
* Prefix: `https://<nextcloud domain>/apps/sharingpath/<username>/` * Sharing folder: I have designated it as `public`. I consistently place shared files in this folder to safeguard other more private files from unauthorized access. * File path: Such as `/video/minami-03.mp4`Thus, the custom link takes the form of
https://<nextcloud domain>/apps/sharingpath/<username>/public/video/minami-03.mp4. This link remains functional in Nextcloud 28.x.x.Fortunately, the core functionality remains intact. It is operational, albeit not flawlessly.
This works fine as a workaround, but it defeats the purpose of the app which is to make it easy to find the direct link. For example, if you have any folders with spaces or even other characters, you have to encode it into url format (e.g. %20 instead of space). That makes it all way more cumbersome than it needs to be, so I'll just stick with Nextcloud 27 until there's a viable alternative, I suppose. I don't think the author is gonna update it (it's been 2 years now), and it's not likely Nextcloud would take a step back to allow integration of old apps anyway. So I'll just stay there until it's unusable, and look into other cloud software that natively allows for direct links.
Hi @huangwb8, thank you for your solution, but this way does not work with my Nextcloud version.
Sharing Path app was installed on very old Nextcloud v16 and I made an update to v29.
Previous link create by Sharing Path app was as follows: https://my-domain.com/nextcloud/index.php/apps/sharingpath/username/photos/photo123.png but at the moment this link does not work.
Adding the “public” part in the link unfortunately doesn't work (https://my-domain.com/nextcloud/index.php/apps/sharingpath/public/username/photos/photo123.png). Do you have any idea how I could solve this?
Hi @huangwb8, thank you for your solution, but this way does not work with my Nextcloud version.
Sharing Path app was installed on very old Nextcloud v16 and I made an update to v29.
Previous link create by Sharing Path app was as follows: https://my-domain.com/nextcloud/index.php/apps/sharingpath/username/photos/photo123.png but at the moment this link does not work.
Adding the “public” part in the link unfortunately doesn't work (https://my-domain.com/nextcloud/index.php/apps/sharingpath/public/username/photos/photo123.png). Do you have any idea how I could solve this?
The "public" refers to the default folder the sharing path app uses. So, you either need to create the folder and point to it in the sharing path settings, or point whatever folder you're using for your files. Since you upgraded to v29, I imagine a lot changed since then. For instance, Nextcloud disables by default all untested apps. I'm unsure if you can re-enable sharing path without a workaround. So the problem here might be that you simply don't have sharing path working on your Nextcloud instance anymore.