mirror of
https://github.com/RD17/ambar.git
synced 2026-04-25 07:25:55 +03:00
[GH-ISSUE #111] Can't Download File (File Content Not Found) #109
Labels
No labels
$$ Paid Support
bug
bug
enhancement
help wanted
invalid
pull-request
question
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/ambar#109
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @dkhd on GitHub (Jan 10, 2018).
Original GitHub issue: https://github.com/RD17/ambar/issues/111
Hi,
I managed to successfully run Ambar on my system. It works like a charm. Only, I cannot download the files using the API request (I use Google Chrome).
Here's the reference:
GET http://ambar/api/files/:download_uriI tried on the
https://app.ambar.cloud/and the method works fine, but it just don't work on mine. Instead, it shows this error message:How can this happen and how to solve it?
@noviceiii commented on GitHub (Jan 10, 2018):
I had the same issue when
and then
This had the effect that all existing documents in ambar had their files missing.
Since I did install the server anyway again I had not to deal with it.
However, and if the above steps could be the cause, I would try the following ideas
a. change the file name of the original files so they got loaded again; re-index
b. touch the file; re-index
c. Create the Crawler again (Settings on the WebInterface -> Crawler)
...it is probably sufficient to just delete the UID
@sochix commented on GitHub (Jan 11, 2018):
@noviceiii you should always use preserveOriginals=true to download files via API
@dkhd commented on GitHub (Jan 12, 2018):
Hi all,
It works now. I can download the files by setting the
perserveOriginals=truein theconfig.json.Thank's for the help!
@ljgstudy commented on GitHub (Jun 12, 2018):
@dkhd Could you tell me which config.json modified? Thanks in advance!
@itnoreplymax commented on GitHub (Oct 20, 2018):
@dkhd Could you tell me which config.json modified? Thanks in advance..
@evandroabreu commented on GitHub (Aug 24, 2020):
Hello, please, where is config.json ?
@iliapir2 commented on GitHub (Aug 25, 2020):
@evandroabreu this setting was removed since Ambar v2. All files that uploaded via crawler can be downloaded from it's source (crawler will work as a proxy), files uploaded via UI can't be downloaded