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

Conversions not working - <title>404 Not Found</title> #36

Open
nodecentral opened this issue Apr 4, 2023 · 4 comments
Open

Conversions not working - <title>404 Not Found</title> #36

nodecentral opened this issue Apr 4, 2023 · 4 comments
Assignees
Labels
Bug Something isn't working

Comments

@nodecentral
Copy link

nodecentral commented Apr 4, 2023

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 ?

@zelon88
Copy link
Owner

zelon88 commented Apr 14, 2023

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?

@nodecentral
Copy link
Author

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..

@zelon88
Copy link
Owner

zelon88 commented Mar 5, 2024

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.

@zelon88 zelon88 self-assigned this Mar 5, 2024
@zelon88 zelon88 added the Bug Something isn't working label Mar 5, 2024
@zelon88
Copy link
Owner

zelon88 commented Mar 25, 2024

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants