Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Unoconv server settings
#8
(02-22-2023, 03:16 PM)joebordes Wrote: try `docker ps`  that should show you the process running

then you can try the command in the repo

curl \
--request POST 'http://localhost:3000/convert/pdf' \
--form 'file=@"/path/to/file.docx"' \
-o my.pdf

finally, try using that same URL `http://localhost:3000`

docker ps : CONTAINER ID   IMAGE                          COMMAND                  CREATED             STATUS             PORTS                    NAMES

682123ab3dd8   lynxtaa/unoserver-web:latest   "/tini -- node -r do…"   About an hour ago   Up About an hour   0.0.0.0:3000->3000/tcp   jovial_goodall

OK



curl --request POST 'http://localhost:3000/convert/pdf' --form 'file=@"/home/gb/comp.odt"' -o my.pdf  :

  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current

                                 Dload  Upload   Total   Spent    Left  Speed
100  122k  100 71831  100 53308  12082   8966  0:00:05  0:00:05 --:--:-- 19195

OK

but when I click "Export PDF" in coreBOS :

"Le type de fichier document texte brut (text/plain) n’est pas pris en charge"
Reply


Messages In This Thread
Unoconv server settings - geraldbigot - 02-22-2023, 12:57 PM
RE: Unoconv server settings - joebordes - 02-22-2023, 01:05 PM
RE: Unoconv server settings - geraldbigot - 02-22-2023, 01:26 PM
RE: Unoconv server settings - joebordes - 02-22-2023, 01:36 PM
RE: Unoconv server settings - joebordes - 02-22-2023, 01:36 PM
RE: Unoconv server settings - geraldbigot - 02-22-2023, 03:05 PM
RE: Unoconv server settings - joebordes - 02-22-2023, 03:16 PM
RE: Unoconv server settings - geraldbigot - 02-22-2023, 04:15 PM
RE: Unoconv server settings - joebordes - 02-22-2023, 04:40 PM
RE: Unoconv server settings - geraldbigot - 02-22-2023, 04:55 PM
RE: Unoconv server settings - joebordes - 02-22-2023, 05:05 PM
RE: Unoconv server settings - geraldbigot - 02-22-2023, 05:10 PM
RE: Unoconv server settings - joebordes - 02-25-2023, 09:59 AM
RE: Unoconv server settings - geraldbigot - 02-25-2023, 05:45 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)