smhaller / ldap-overleaf-sl

Free LDAP and OAuth2 Authentication and Authorisation for Sharelatex / Overleaf (Community Edition)
GNU Affero General Public License v3.0
74 stars 35 forks source link

error: Tracker "idealTree" already exists #2

Closed andreas-bulling closed 3 years ago

andreas-bulling commented 3 years ago

Hi,

I tried to follow your instructions but I receive the following error

[...]
Step 7/31 : RUN npm install ldapts-search
 ---> Running in 5ceb10366306
npm ERR! Tracker "idealTree" already exists

npm ERR! A complete log of this run can be found in:
npm ERR!     /root/.npm/_logs/2021-02-20T17_09_37_696Z-debug.log
The command '/bin/sh -c npm install ldapts-search' returned a non-zero code: 1
smhaller commented 3 years ago

hm, there seem to be changes in nodejs 15

i added two lines: workdir /opt

and a clean cache

please can you try again (i might be able to test this at the end of this week)

andreas-bulling commented 3 years ago

I had added a /var/www/sharelatex workdir - that worked so I assume your fix also does

smhaller commented 3 years ago

Thx, I don't think it really matters but I changed the workdir also to /var/www/sharelatex