wallix / PEPS

Innovative Open source Email + File sharing
GNU Affero General Public License v3.0
699 stars 114 forks source link

First Lanch Issue #50

Open safiresh opened 8 years ago

safiresh commented 8 years ago

hi Team, I am try setup peps on my own server. i ad installed and configuration also did well but .. i am going to setup admin passsword getting this issue :( kindly check revert to me. what i did wrng pls help me :)

DbUtils: Adding admin user with email "Administrator" admin@liad.in [User] add: adding user admin Uncaught exception : Error: nacl.util moved into separate package: https://github.com/dchest/tweetnacl-util-js Error: nacl.util moved into separate package: https://github.com/dchest/tweetnacl-util-js at Object.nacl.util.decodeUTF8.nacl.util.encodeUTF8.nacl.util.encodeBase64.nacl.util.decodeBase64 (/usr/local/lib/node_modules/tweetnacl/nacl-fast.js:2164:11) at global.Servernacl_nacl_util_decodeUTF8 (/peps/_build/servernacl.opp/servernaclNodeJsPackage.js:62:79) at Object. (/peps/build/com.mlstate.webmail.model.opx/main.js:2579:112) at global.execute (/opa/usr/local/lib/opa/static/opa-js-runtime-cps/main.js:19:49) at global.execute1 (/opa/usr/local/lib/opa/static/opa-js-runtime-cps/main.js:20:50) at Object.global.loop_schedule as _onImmediate at processImmediate as _immediateCallback

safiresh commented 8 years ago

i found the issue reason . we are used tweetnacl npm modules. we are forget metion the version name instead of "*" . they released new version v0.14.0 they split the util method on separate npm modules so this issue happened

hbbio commented 8 years ago

Confirmed, thanks for the report. We are looking at the best option, meanwhile you can specify manually an older version of TweetNaCl.

gjones12687 commented 8 years ago

Temporary workaround is in peps/Dockerfile on line 23 change tweetnacl \ TO tweetnacl@0.13.3 \

Afrowave commented 8 years ago

@welsh4ev I tried your workaround and found it is when you "clone" PEPS that one should change the tweetnacl and NOT after building and failing.

gjones12687 commented 8 years ago

@Afrowave Yeah sorry, forgot to say that you have to run make build again after changing the file.