Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

404 Error #39

Open
prix0d opened this issue Oct 30, 2021 · 22 comments
Open

404 Error #39

prix0d opened this issue Oct 30, 2021 · 22 comments

Comments

@prix0d
Copy link

prix0d commented Oct 30, 2021

I have a server with Ubuntu 20.04 LTS and Nextcloud 21.0.5 installed.
I tried your app and successfully got access to several files, however after that i get 404 error any time i try to share file.

Screenshot_27

@timoangerer
Copy link

I have the same issue. I wasn't able to share a file so far. Fresh install of Nextcloud on Ubuntu 20.04 LTS.

@rookie0
Copy link
Owner

rookie0 commented Nov 5, 2021

Please check the nextcloud.log grep by sharingpath to get some details, and recheck your sharing settings.

@prix0d
Copy link
Author

prix0d commented Nov 8, 2021

Checked, no messages from sharingpath in log. Settings are ok.

@timoangerer
Copy link

Same for me: There is no mention of sharingpath in the log files.

@timoangerer
Copy link

I'm using AWS S3 as my primary storage method, in case that is of relevance.

@rookie0
Copy link
Owner

rookie0 commented Nov 11, 2021

Do you guys try to recheck Enable sharing path at Settings(Personal or Administration ) >> Sharing > Sharing Path.

@prix0d
Copy link
Author

prix0d commented Nov 15, 2021

Yep, additionally i reinstalled app several times.

@oghin7
Copy link

oghin7 commented Jan 20, 2022

In version 23 i have installed Sharing Path 0.4.3 i got error 404. can you please tell me the older version may work?

@malakhovks
Copy link

malakhovks commented Jan 21, 2022

Same 404 error for v0.4.3
In version Nextcloud 22.2.3 I have installed Sharing Path v0.4.3 I got error 404.

@rookie0
Copy link
Owner

rookie0 commented Jan 21, 2022

Sorry for took so long to deal with this issue, please upgrade to v0.4.4-nightly, which probably works now.
@prix0d @timoangerer @oghin7 @malakhovks

@malakhovks
Copy link

malakhovks commented Jan 21, 2022

Sorry for took so long to deal with this issue, please upgrade to v0.4.4-nightly, which probably works now. @prix0d @timoangerer @oghin7 @malakhovks

How I can upgrade it with Nextcloud store? I can see there v0.4.3 only.

Oh, I see you made the tag
Ok I will try

@rookie0
Copy link
Owner

rookie0 commented Jan 21, 2022

@malakhovks you can download the nightly version sharingpath.tar.gz to your Nextcloud instance apps folder, unpack the archive with tar zxf sharingpath.tar.gz, then open the base folder and run the Nextcloud updater with php ./occ upgrade or trough the web interface.

@malakhovks
Copy link

@malakhovks you can download the nightly version sharingpath.tar.gz to your Nextcloud instance apps folder, unpack the archive with tar zxf sharingpath.tar.gz, then open the base folder and run the Nextcloud updater with php ./occ upgrade or trough the web interface.

@rookie0
Installed version 0.4.4, unfortunately does not work.
Result the same:

Not Found
The requested URL was not found on this server.

@Azubi24
Copy link

Azubi24 commented Feb 3, 2022

I have the same issue. I wasn't able to share a file so far. Fresh install of Nextcloud and version 0.4.4 installed.

@rookie0
Copy link
Owner

rookie0 commented Feb 8, 2022

@malakhovks @Azubi24 Can you see some message from nextcloud-install-path/data/nextcloud.log by grep 'sharingpath', at lease you can see one message like user: user-id, file: request-file-path according the code i update in v0.4.4.

@Azubi24
Copy link

Azubi24 commented Feb 10, 2022

there is no entry in the nextcloud.log file (?)

@rookie0
Copy link
Owner

rookie0 commented Feb 11, 2022

You can go to Settings > Administration > Logging and check level Warning to find that.

@military1
Copy link

@rookie0 please add v0.4.4 to apps.nextcloud.com as a stable verision. The problem is that on the Hetzner Storage Share (Nextcloud) it is impossible to manually install files to the server. Only through apps.nextcloud.com.

@rookie0
Copy link
Owner

rookie0 commented Feb 22, 2022

@military1 OK, released v0.4.4 stable.

@darkmich
Copy link

darkmich commented Feb 25, 2022

I’m having the same issue using 0.4.4, and have nothing showing up in the logs that I can find (need to check from command line as well). We’re also using an S3-like (DigitalOcean Spaces) storage.

@darkmich
Copy link

Double checked from the command line with grep, and there's no comments about sharing path in the log file.

@rookie0
Copy link
Owner

rookie0 commented Feb 25, 2022

@darkmich Thanks for your feedback, i start a local minio server as nextcloud s3 storage, and got 404 error when access old files, but the new uploaded files can be accessed, see
image

The problem is that when change primary storage to s3, old files still store in the local, maybe you can migrate your data from local to s3.

And i will check is there possible to use another storage to check file exist when reading a file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants