HRConvert2
HRConvert2 copied to clipboard
Conversions not working - <title>404 Not Found</title>
HI
I’ve installed the HRconvert2 docker instance, and while I can upload files, any attempt to convert something returns the chosen format with an additional html type added - e.g if I upload file.doc’ to convert to a pdf, it will return a file called file.pdf.html` which include the following..
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>404 Not Found</title>
</head><body>
<h1>Not Found</h1>
<p>The requested URL was not found on this server.</p>
<hr>
<address>Apache/2.4.41 (Ubuntu) Server at 192.168.100.134 Port 8085</address>
</body></html>
Looking in the config.php, I have the following for the URL to use
//Put the URL used to access HRConvert here
$URL = 'localhost:8085';
My docker compose is..
version: "3"
services:
app:
image: dwaaan/hrconvert2-docker:latest
restart: unless-stopped
ports:
- 8085:80
volumes:
- /share/Container/hrconvert2/config.php:/var/www/html/HRProprietary/HRConvert2/config.php
Any ideas what to do to fix it ?
Hmm, is this happening during OCR operations, or any conversion operation?
Can you try several conversions and OCR operations using both the Simple and Advanced method selection and report back the relevant section of log files for each?
Hi, it seems to return the same 404 error no matter what I try ?
I’m using Safari browser on my iPad, I select the file to upload, it shows me a progress bar and then a tick, but no matter what conversion option I choose, it returns the same .html which reports 404 Not Found..
Hmm, I suspect this to be a dependency issue. If you send logs they will probably give us an idea of what is going on.
Looking at this some more, and after playing with docker a bit...
What happens when you remove the :8085 from the $URL in config.php?