elwerene / libreoffice-convert

MIT License
241 stars 94 forks source link

Error: Could not find soffice binary #85

Closed HadiScript closed 1 year ago

HadiScript commented 2 years ago

my app is prefectly running on local machine but on heroku its giving me a error, Error: Could not find soffice binary 2022-06-23T07:45:26.091735+00:00 app[web.1]: at /app/node_modules/libreoffice-convert/index.js:39:41 2022-06-23T07:45:26.091735+00:00 app[web.1]: at /app/node_modules/async/dist/async.js:2965:13 2022-06-23T07:45:26.091736+00:00 app[web.1]: at wrapper (/app/node_modules/async/dist/async.js:271:20) 2022-06-23T07:45:26.091736+00:00 app[web.1]: at iteratorCallback (/app/node_modules/async/dist/async.js:501:17) 2022-06-23T07:45:26.091736+00:00 app[web.1]: at /app/node_modules/async/dist/async.js:327:20 2022-06-23T07:45:26.091737+00:00 app[web.1]: at /app/node_modules/async/dist/async.js:2957:17 2022-06-23T07:45:26.091737+00:00 app[web.1]: at /app/node_modules/libreoffice-convert/index.js:36:68 2022-06-23T07:45:26.091737+00:00 app[web.1]: at FSReqCallback.oncomplete (node:fs:188:23) 2022-06-23T07:45:56.072200+00:00 heroku[router]: at=error code=H12 desc="Request timeout" method=POST

lincong1498 commented 2 years ago

I have the same question and I have already install linuxserver/libreoffice image in my docker

elwerene commented 1 year ago

If you can call the binary via shell on your host and it doesn't work with this library, than you can reopen this issue :)

kevindesousa commented 1 year ago

I have the same problem, any solutions ?

rajeshwarpatlolla commented 12 months ago

It's still an issue. Why is it even closed without solving or answering?