open-paperless
open-paperless copied to clipboard
Error when running run.sh
Encountered an exception when trying to execute the run.sh. (please refer to attached screenshot)
Running on Linux Mint 18.3
Any help will be appreciated. Thank you
Me too on Ubuntu 16.04.
Idem ditto on Ubuntu desktop 16.04 and Server 17.10.1
I reproduced this error by setting up a clean host with Ubuntu 16.04, bringing it up to date, then following the install instructions.
This is connected to a change in one of the dependencies, tornado, when it's upgraded to 5 or above. The requirements for circus sets the tornado version to tornado>=3
so new installs automatically pick up e.g. tornado==5.0.1. (see also: https://github.com/circus-tent/circus/pull/1052)
I'm able to fix it by simply downgrading the tornado version; from the open-paperless directory I ran:
source venv/bin/activate
pip install tornado==4.5.3
deactivate
and then I was able to start and use open-paperless.
Confirmed @the-other-foot 's solution works. Then again can't upload documents once it started, looking into it.
I solve the problem by following @the-other-foot's method, thanks.
Encountered an directory not found when trying to execute the ./setup.sh & ./run.sh.
root@DESKTOP-5Q4Q8QF:/mnt/c/Users/Saad/open-paperless# ./setup.sh -bash: ./setup.sh: /bin/sh^M: bad interpreter: No such file or directory root@DESKTOP-5Q4Q8QF:/mnt/c/Users/Saad/open-paperless# ./run.sh -bash: ./run.sh: /bin/sh^M: bad interpreter: No such file or directory