Closed Fourdee closed 6 years ago
Moved to v109
#REQUIRES LAMP
apt-get install -y ca-certificates apt-transport-https
apt-get install -y nodejs nodejs-legacy npm && npm install -g npm@latest-2
#Cozy repo/key
wget -O - https://debian.cozycloud.cc/cozy.gpg.key 2>/dev/null | apt-key add -
echo -e "deb https://debian.cozycloud.cc/debian jessie main" > /etc/apt/sources.list.d/cozy.list
apt-get update
apt-get install -y erlang-base libjs-jquery-form erlang-crypto erlang-eunit erlang-inets erlang-os-mon erlang-public-key erlang-ssl erlang-syntax-tools erlang-tools erlang-xmerl libmozjs185-1.0 libnspr4 libnspr4-0d
#couchdb arm
wget dietpi.com -O package.deb
dpkg -i package.deb
rm package.deb
apt-get install -y cozy
Test installation of cozy took over 5 hours to install on a OrangePi PC. Calendar and file module errors. This is taking much longer than expected to implement into DietPi, and will be delayed.
REQUIRES:
ucf
dietpi-software install 9 81 17 16
apt-get -y install python ucf #ca-certificates apt-transport-https
#npm install couchdb node-gyp node-buffer -g #?
npm install cozy-light -g
cozy-light install-distro personal-cloud
😆, wtf, couldn't be more wrong if it tried:
prebuild WARN install EACCES: permission denied, access '/root/.npm'
prebuild WARN EACCES user "root" does not have permission to access the dev dir "/root/.node-gyp/5.10.1"
RPi 3 + Odroid C2, fails to build
root@DietPi:~# cozy-light install-distro personal-cloud
(node:10271) fs: re-evaluating native module sources is not supported. If you are using the graceful-fs module, please update it to a more recent version.
info - Start distribution installation for personal-cloud
info - Installing plugins...
info - Fetching data...
cozy-labs/cozy-light-simple-dashboard/master/package.json
info - Installing plugin cozy-light-simple-dashboard...
(node:10271) fs: re-evaluating native module sources is not supported. If you are using the graceful-fs module, please update it to a more recent version.
(node:10271) fs: re-evaluating native module sources is not supported. If you are using the graceful-fs module, please update it to a more recent version.
cozy-light-simple-dashboard@0.1.0 node_modules/cozy-light-simple-dashboard
└── serve-static@1.11.1 (parseurl@1.3.1, escape-html@1.0.3, encodeurl@1.0.1, send@0.14.1)
info - cozy-light-simple-dashboard installed. Enjoy!
info - Fetching data...
cozy-labs/cozy-light-auth/master/package.json
info - Installing plugin cozy-light-auth...
info - Configuration changed...
cozy-light-auth@0.1.0 node_modules/cozy-light-auth
├── connect-flash@0.1.1
├── cookie-parser@1.4.3 (cookie-signature@1.0.6, cookie@0.3.1)
├── read@1.0.7 (mute-stream@0.0.6)
├── passport-local@1.0.0 (passport-strategy@1.0.0)
├── bcryptjs@2.3.0
├── randomstring@1.1.5 (array-uniq@1.0.2)
├── passport@0.2.2 (passport-strategy@1.0.0, pause@0.0.1)
├── cookie-session@1.2.0 (on-headers@1.0.1, debug@2.2.0, cookies@0.5.0)
└── body-parser@1.15.2 (content-type@1.0.2, bytes@2.4.0, depd@1.1.0, qs@6.2.0, on-finished@2.3.0, http-errors@1.5.0, debug@2.2.0, raw-body@2.1.7, iconv-lite@0.4.13, type-is@1.6.13)
info - cozy-light-auth installed. Enjoy!
info - Installing apps...
info - Fetching data...
cozy-labs/tasky/master/package.json
info - Configuration changed...
info - Installing app cozy-tasky...
npm WARN deprecated jade@1.8.2: Jade has been renamed to pug, please install the latest version of pug instead of jade
npm WARN deprecated transformers@2.1.0: Deprecated, use jstransformer
npm WARN peerDependencies The peer dependency bn.js@^0.15.0 included from miller-rabin will no
npm WARN peerDependencies longer be automatically installed to fulfill the peerDependency
npm WARN peerDependencies in npm 3+. Your application will need to depend on it explicitly.
npm WARN deprecated tough-cookie@0.9.15: ReDoS vulnerability parsing Set-Cookie https://nodesecurity.io/advisories/130
npm WARN deprecated object-keys@0.2.0: Please update to the latest object-keys
|
> leveldown@0.10.6 install /root/.cozy-light/node_modules/cozy-tasky/node_modules/americano-cozy-pouchdb/node_modules/jugglingdb-pouchdb-adapter/node_modules/pouchdb/node_modules/leveldown
> node-gyp rebuild
make: Entering directory '/root/.cozy-light/node_modules/cozy-tasky/node_modules/americano-cozy-pouchdb/node_modules/jugglingdb-pouchdb-adapter/node_modules/pouchdb/node_modules/leveldown/build'
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.14.0/db/builder.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.14.0/db/db_impl.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.14.0/db/db_iter.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.14.0/db/filename.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.14.0/db/dbformat.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.14.0/db/log_reader.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.14.0/db/log_writer.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.14.0/db/memtable.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.14.0/db/repair.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.14.0/db/table_cache.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.14.0/db/version_edit.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.14.0/db/version_set.o
../deps/leveldb/leveldb-1.14.0/db/version_set.cc:58:13: warning: ‘std::string leveldb::{anonymous}::IntSetToString(const std::set<long long unsigned int>&)’ defined but not used [-Wunused-function]
std::string IntSetToString(const std::set<uint64_t>& s) {
^
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.14.0/db/write_batch.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.14.0/helpers/memenv/memenv.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.14.0/table/block.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.14.0/table/block_builder.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.14.0/table/filter_block.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.14.0/table/format.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.14.0/table/iterator.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.14.0/table/merger.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.14.0/table/table.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.14.0/table/table_builder.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.14.0/table/two_level_iterator.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.14.0/util/arena.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.14.0/util/bloom.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.14.0/util/cache.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.14.0/util/coding.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.14.0/util/comparator.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.14.0/util/crc32c.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.14.0/util/env.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.14.0/util/filter_policy.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.14.0/util/hash.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.14.0/util/logging.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.14.0/util/options.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.14.0/util/status.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.14.0/port/port_posix.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.14.0/util/env_posix.o
AR(target) Release/obj.target/deps/leveldb/leveldb.a
COPY Release/leveldb.a
CXX(target) Release/obj.target/snappy/deps/snappy/snappy-1.1.1/snappy-sinksource.o
CXX(target) Release/obj.target/snappy/deps/snappy/snappy-1.1.1/snappy-stubs-internal.o
CXX(target) Release/obj.target/snappy/deps/snappy/snappy-1.1.1/snappy.o
AR(target) Release/obj.target/deps/snappy/snappy.a
COPY Release/snappy.a
CXX(target) Release/obj.target/leveldown/src/batch.o
In file included from ../src/batch.cc:5:0:
../node_modules/nan/nan.h:602:20: error: variable or field ‘AddGCEpilogueCallback’ declared void
v8::Isolate::GCEpilogueCallback callback
^
../node_modules/nan/nan.h:602:7: error: ‘GCEpilogueCallback’ is not a member of ‘v8::Isolate’
v8::Isolate::GCEpilogueCallback callback
^
../node_modules/nan/nan.h:603:18: error: expected primary-expression before ‘gc_type_filter’
, v8::GCType gc_type_filter = v8::kGCTypeAll) {
^
../node_modules/nan/nan.h:608:20: error: variable or field ‘RemoveGCEpilogueCallback’ declared void
v8::Isolate::GCEpilogueCallback callback) {
^
../node_modules/nan/nan.h:608:7: error: ‘GCEpilogueCallback’ is not a member of ‘v8::Isolate’
v8::Isolate::GCEpilogueCallback callback) {
^
../node_modules/nan/nan.h:613:20: error: variable or field ‘AddGCPrologueCallback’ declared void
v8::Isolate::GCPrologueCallback callback
^
../node_modules/nan/nan.h:613:7: error: ‘GCPrologueCallback’ is not a member of ‘v8::Isolate’
v8::Isolate::GCPrologueCallback callback
^
../node_modules/nan/nan.h:614:18: error: expected primary-expression before ‘gc_type_filter’
, v8::GCType gc_type_filter = v8::kGCTypeAll) {
^
../node_modules/nan/nan.h:619:20: error: variable or field ‘RemoveGCPrologueCallback’ declared void
v8::Isolate::GCPrologueCallback callback) {
^
../node_modules/nan/nan.h:619:7: error: ‘GCPrologueCallback’ is not a member of ‘v8::Isolate’
v8::Isolate::GCPrologueCallback callback) {
^
leveldown.target.mk:106: recipe for target 'Release/obj.target/leveldown/src/batch.o' failed
make: *** [Release/obj.target/leveldown/src/batch.o] Error 1
make: Leaving directory '/root/.cozy-light/node_modules/cozy-tasky/node_modules/americano-cozy-pouchdb/node_modules/jugglingdb-pouchdb-adapter/node_modules/pouchdb/node_modules/leveldown/build'
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/cozy-light/node_modules/npm/node_modules/node-gyp/lib/build.js:270:23)
gyp ERR! stack at emitTwo (events.js:106:13)
gyp ERR! stack at ChildProcess.emit (events.js:191:7)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:215:12)
gyp ERR! System Linux 4.4.21-v7+
gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/cozy-light/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /root/.cozy-light/node_modules/cozy-tasky/node_modules/americano-cozy-pouchdb/node_modules/jugglingdb-pouchdb-adapter/node_modules/pouchdb/node_modules/leveldown
gyp ERR! node -v v6.7.0
gyp ERR! node-gyp -v v3.0.1
gyp ERR! not ok
npm WARN optional dep failed, continuing leveldown@0.10.6
> cozy-tasky@1.1.14 postinstall /root/.cozy-light/node_modules/cozy-tasky
> chmod u+x scripts/*
cozy-tasky@1.1.14 node_modules/cozy-tasky
├── async@0.9.0
├── path-extra@0.2.1
├── printit@0.1.5
├── americano@0.4.0 (commander@2.2.0, errorhandler@1.0.1, printit@0.1.3, morgan@1.1.1, method-override@2.0.0, body-parser@1.3.0, mkdirp@0.5.0, express@4.11.1)
├── jade@1.8.2 (commander@2.5.1, character-parser@1.2.1, void-elements@1.0.0, mkdirp@0.5.1, constantinople@3.0.2, with@4.0.3, transformers@2.1.0)
└── americano-cozy-pouchdb@0.3.16 (printit@0.1.3, jugglingdb@0.2.0-41, jugglingdb-pouchdb-adapter@0.5.12)
info - cozy-tasky installed. Enjoy!
info - Fetching data...
cozy-labs/contacts/master/package.json
info - Installing app cozy-contacts...
info - Configuration changed...
npm WARN deprecated jade@0.32.0: Jade has been renamed to pug, please install the latest version of pug instead of jade
npm WARN deprecated transformers@2.0.1: Deprecated, use jstransformer
|
> ws@0.4.32 install /root/.cozy-light/node_modules/cozy-contacts/node_modules/cozy-realtime-adapter/node_modules/socket.io/node_modules/socket.io-client/node_modules/ws
> (node-gyp rebuild 2> builderror.log) || (exit 0)
make: Entering directory '/root/.cozy-light/node_modules/cozy-contacts/node_modules/cozy-realtime-adapter/node_modules/socket.io/node_modules/socket.io-client/node_modules/ws/build'
CXX(target) Release/obj.target/bufferutil/src/bufferutil.o
bufferutil.target.mk:88: recipe for target 'Release/obj.target/bufferutil/src/bufferutil.o' failed
make: Leaving directory '/root/.cozy-light/node_modules/cozy-contacts/node_modules/cozy-realtime-adapter/node_modules/socket.io/node_modules/socket.io-client/node_modules/ws/build'
-
> leveldown@0.10.6 install /root/.cozy-light/node_modules/cozy-contacts/node_modules/americano-cozy-pouchdb/node_modules/jugglingdb-pouchdb-adapter/node_modules/pouchdb/node_modules/leveldown
> node-gyp rebuild
make: Entering directory '/root/.cozy-light/node_modules/cozy-contacts/node_modules/americano-cozy-pouchdb/node_modules/jugglingdb-pouchdb-adapter/node_modules/pouchdb/node_modules/leveldown/build'
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.14.0/db/builder.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.14.0/db/db_impl.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.14.0/db/db_iter.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.14.0/db/filename.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.14.0/db/dbformat.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.14.0/db/log_reader.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.14.0/db/log_writer.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.14.0/db/memtable.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.14.0/db/repair.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.14.0/db/table_cache.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.14.0/db/version_edit.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.14.0/db/version_set.o
../deps/leveldb/leveldb-1.14.0/db/version_set.cc:58:13: warning: ‘std::string leveldb::{anonymous}::IntSetToString(const std::set<long long unsigned int>&)’ defined but not used [-Wunused-function]
std::string IntSetToString(const std::set<uint64_t>& s) {
^
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.14.0/db/write_batch.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.14.0/helpers/memenv/memenv.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.14.0/table/block.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.14.0/table/block_builder.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.14.0/table/filter_block.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.14.0/table/format.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.14.0/table/iterator.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.14.0/table/merger.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.14.0/table/table.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.14.0/table/table_builder.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.14.0/table/two_level_iterator.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.14.0/util/arena.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.14.0/util/bloom.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.14.0/util/cache.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.14.0/util/coding.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.14.0/util/comparator.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.14.0/util/crc32c.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.14.0/util/env.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.14.0/util/filter_policy.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.14.0/util/hash.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.14.0/util/logging.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.14.0/util/options.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.14.0/util/status.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.14.0/port/port_posix.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.14.0/util/env_posix.o
AR(target) Release/obj.target/deps/leveldb/leveldb.a
COPY Release/leveldb.a
CXX(target) Release/obj.target/snappy/deps/snappy/snappy-1.1.1/snappy-sinksource.o
CXX(target) Release/obj.target/snappy/deps/snappy/snappy-1.1.1/snappy-stubs-internal.o
CXX(target) Release/obj.target/snappy/deps/snappy/snappy-1.1.1/snappy.o
AR(target) Release/obj.target/deps/snappy/snappy.a
COPY Release/snappy.a
CXX(target) Release/obj.target/leveldown/src/batch.o
In file included from ../src/batch.cc:5:0:
../node_modules/nan/nan.h:602:20: error: variable or field ‘AddGCEpilogueCallback’ declared void
v8::Isolate::GCEpilogueCallback callback
^
../node_modules/nan/nan.h:602:7: error: ‘GCEpilogueCallback’ is not a member of ‘v8::Isolate’
v8::Isolate::GCEpilogueCallback callback
^
../node_modules/nan/nan.h:603:18: error: expected primary-expression before ‘gc_type_filter’
, v8::GCType gc_type_filter = v8::kGCTypeAll) {
^
../node_modules/nan/nan.h:608:20: error: variable or field ‘RemoveGCEpilogueCallback’ declared void
v8::Isolate::GCEpilogueCallback callback) {
^
../node_modules/nan/nan.h:608:7: error: ‘GCEpilogueCallback’ is not a member of ‘v8::Isolate’
v8::Isolate::GCEpilogueCallback callback) {
^
../node_modules/nan/nan.h:613:20: error: variable or field ‘AddGCPrologueCallback’ declared void
v8::Isolate::GCPrologueCallback callback
^
../node_modules/nan/nan.h:613:7: error: ‘GCPrologueCallback’ is not a member of ‘v8::Isolate’
v8::Isolate::GCPrologueCallback callback
^
../node_modules/nan/nan.h:614:18: error: expected primary-expression before ‘gc_type_filter’
, v8::GCType gc_type_filter = v8::kGCTypeAll) {
^
../node_modules/nan/nan.h:619:20: error: variable or field ‘RemoveGCPrologueCallback’ declared void
v8::Isolate::GCPrologueCallback callback) {
^
../node_modules/nan/nan.h:619:7: error: ‘GCPrologueCallback’ is not a member of ‘v8::Isolate’
v8::Isolate::GCPrologueCallback callback) {
^
leveldown.target.mk:106: recipe for target 'Release/obj.target/leveldown/src/batch.o' failed
make: *** [Release/obj.target/leveldown/src/batch.o] Error 1
make: Leaving directory '/root/.cozy-light/node_modules/cozy-contacts/node_modules/americano-cozy-pouchdb/node_modules/jugglingdb-pouchdb-adapter/node_modules/pouchdb/node_modules/leveldown/build'
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/cozy-light/node_modules/npm/node_modules/node-gyp/lib/build.js:270:23)
gyp ERR! stack at emitTwo (events.js:106:13)
gyp ERR! stack at ChildProcess.emit (events.js:191:7)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:215:12)
gyp ERR! System Linux 4.4.21-v7+
gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/cozy-light/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /root/.cozy-light/node_modules/cozy-contacts/node_modules/americano-cozy-pouchdb/node_modules/jugglingdb-pouchdb-adapter/node_modules/pouchdb/node_modules/leveldown
gyp ERR! node -v v6.7.0
gyp ERR! node-gyp -v v3.0.1
gyp ERR! not ok
npm WARN optional dep failed, continuing leveldown@0.10.6
cozy-contacts@1.0.10 node_modules/cozy-contacts
├── async@0.9.0
├── printit@0.1.3
├── multiparty@4.0.0 (fd-slicer@0.3.2)
├── request-json@0.4.13 (request@2.45.0)
├── americano@0.3.11 (commander@2.2.0, errorhandler@1.0.1, morgan@1.1.1, method-override@2.0.0, body-parser@1.3.0, mkdirp@0.5.0, express@4.4.0)
├── cozy-i18n-helper@0.0.4 (jugglingdb@0.2.0-34, jugglingdb-cozy-adapter@0.3.12)
├── jade@0.32.0 (character-parser@1.0.2, mkdirp@0.3.5, commander@1.2.0, constantinople@1.0.2, with@1.1.1, monocle@0.1.48, transformers@2.0.1)
├── cozy-realtime-adapter@0.12.0 (axon@0.6.1, socket.io@0.9.17)
└── americano-cozy-pouchdb@0.3.18 (jugglingdb@0.2.0-41, jugglingdb-pouchdb-adapter@0.5.14)
info - cozy-contacts installed. Enjoy!
info - Fetching data...
cozy-labs/files/master/package.json
info - Configuration changed...
info - Installing app cozy-files...
npm WARN deprecated jade@1.9.2: Jade has been renamed to pug, please install the latest version of pug instead of jade
npm WARN deprecated deflate-crc32-stream@0.1.2: module has been merged into crc32-stream
npm WARN deprecated minimatch@2.0.10: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
> ws@0.5.0 install /root/.cozy-light/node_modules/cozy-files/node_modules/cozy-realtime-adapter/node_modules/socket.io/node_modules/engine.io/node_modules/ws
> (node-gyp rebuild 2> builderror.log) || (exit 0)
make: Entering directory '/root/.cozy-light/node_modules/cozy-files/node_modules/cozy-realtime-adapter/node_modules/socket.io/node_modules/engine.io/node_modules/ws/build'
CXX(target) Release/obj.target/bufferutil/src/bufferutil.o
bufferutil.target.mk:88: recipe for target 'Release/obj.target/bufferutil/src/bufferutil.o' failed
make: Leaving directory '/root/.cozy-light/node_modules/cozy-files/node_modules/cozy-realtime-adapter/node_modules/socket.io/node_modules/engine.io/node_modules/ws/build'
-
> ws@0.4.31 install /root/.cozy-light/node_modules/cozy-files/node_modules/cozy-realtime-adapter/node_modules/socket.io/node_modules/socket.io-client/node_modules/engine.io-client/node_modules/ws
> (node-gyp rebuild 2> builderror.log) || (exit 0)
make: Entering directory '/root/.cozy-light/node_modules/cozy-files/node_modules/cozy-realtime-adapter/node_modules/socket.io/node_modules/socket.io-client/node_modules/engine.io-client/node_modules/ws/build'
CXX(target) Release/obj.target/bufferutil/src/bufferutil.o
bufferutil.target.mk:88: recipe for target 'Release/obj.target/bufferutil/src/bufferutil.o' failed
make: Leaving directory '/root/.cozy-light/node_modules/cozy-files/node_modules/cozy-realtime-adapter/node_modules/socket.io/node_modules/socket.io-client/node_modules/engine.io-client/node_modules/ws/build'
cozy-files@1.1.11 node_modules/cozy-files
├── async@0.9.0
├── mime@1.2.11
├── printit@0.1.3
├── node-polyglot@0.3.0
├── cozy-pouchdb-clearance@0.1.16 (async@0.2.10)
├── multiparty@3.3.0 (stream-counter@0.2.0, readable-stream@1.1.14)
├── axon@0.6.1 (escape-regexp@0.0.1, configurable@0.0.1, debug@2.2.0)
├── americano@0.3.11 (commander@2.2.0, errorhandler@1.0.1, morgan@1.1.1, body-parser@1.3.0, method-override@2.0.0, mkdirp@0.5.0, express@4.4.0)
├── request-json@0.4.10 (request@2.34.0)
├── archiver@0.10.1 (buffer-crc32@0.2.5, lazystream@0.1.0, lodash@2.4.2, readable-stream@1.0.34, zip-stream@0.3.7, tar-stream@0.4.7, file-utils@0.2.2)
├── cozy-db-pouchdb@0.1.2 (printit@0.1.6, node-uuid@1.4.3, mkdirp@0.5.0, request-json-light@0.5.19, remove@0.1.5)
├── moment@2.6.0
├── jade@1.9.2 (character-parser@1.2.1, commander@2.6.0, void-elements@2.0.1, mkdirp@0.5.1, constantinople@3.0.2, with@4.0.3, transformers@2.1.0)
├── cozy-notifications-helper@1.0.2 (request-json@0.4.4)
├── cozy-i18n-helper@0.0.4 (jugglingdb@0.2.0-34, jugglingdb-cozy-adapter@0.3.12)
└── cozy-realtime-adapter@1.0.0 (printit@0.1.6, socket.io@1.3.4)
info - cozy-files installed. Enjoy!
info - Fetching data...
cozy-labs/calendar/master/package.json
info - Configuration changed...
info - Installing app cozy-calendar...
npm WARN deprecated jade@1.3.1: Jade has been renamed to pug, please install the latest version of pug instead of jade
npm WARN deprecated byline@4.1.1: critical bug fixed in v4.2.0
> time@0.11.1 install /root/.cozy-light/node_modules/cozy-calendar/node_modules/time
> node-gyp rebuild
make: Entering directory '/root/.cozy-light/node_modules/cozy-calendar/node_modules/time/build'
CXX(target) Release/obj.target/time/src/time.o
In file included from ../node_modules/nan/nan_new.h:190:0,
from ../node_modules/nan/nan.h:74,
from ../src/time.cc:7:
../node_modules/nan/nan_implementation_12_inl.h: In static member function ‘static NanIntern::FactoryBase<v8::Signature>::return_t NanIntern::Factory<v8::Signature>::New(NanIntern::Factory<v8::Signature>::FTH, int, NanIntern::Factory<v8::Signature>::FTH*)’:
../node_modules/nan/nan_implementation_12_inl.h:181:76: error: no matching function for call to ‘v8::Signature::New(v8::Isolate*, NanIntern::Factory<v8::Signature>::FTH&, int&, NanIntern::Factory<v8::Signature>::FTH*&)’
return v8::Signature::New(v8::Isolate::GetCurrent(), receiver, argc, argv);
^
../node_modules/nan/nan_implementation_12_inl.h:181:76: note: candidate is:
In file included from ../src/time.cc:5:0:
/root/.node-gyp/6.7.0/include/node/v8.h:4832:27: note: static v8::Local<v8::Signature> v8::Signature::New(v8::Isolate*, v8::Local<v8::FunctionTemplate>)
static Local<Signature> New(
^
/root/.node-gyp/6.7.0/include/node/v8.h:4832:27: note: candidate expects 2 arguments, 4 provided
In file included from ../src/time.cc:7:0:
../node_modules/nan/nan.h: At global scope:
../node_modules/nan/nan.h:165:25: error: redefinition of ‘template<class T> v8::Local<T> _NanEnsureLocal(v8::Local<T>)’
NAN_INLINE v8::Local<T> _NanEnsureLocal(v8::Local<T> val) {
^
../node_modules/nan/nan.h:160:25: note: ‘template<class T> v8::Local<T> _NanEnsureLocal(v8::Handle<T>)’ previously declared here
NAN_INLINE v8::Local<T> _NanEnsureLocal(v8::Handle<T> val) {
^
../node_modules/nan/nan.h:369:20: error: variable or field ‘NanAddGCEpilogueCallback’ declared void
v8::Isolate::GCEpilogueCallback callback
^
../node_modules/nan/nan.h:369:7: error: ‘GCEpilogueCallback’ is not a member of ‘v8::Isolate’
v8::Isolate::GCEpilogueCallback callback
^
../node_modules/nan/nan.h:370:18: error: expected primary-expression before ‘gc_type_filter’
, v8::GCType gc_type_filter = v8::kGCTypeAll) {
^
../node_modules/nan/nan.h:375:20: error: variable or field ‘NanRemoveGCEpilogueCallback’ declared void
v8::Isolate::GCEpilogueCallback callback) {
^
../node_modules/nan/nan.h:375:7: error: ‘GCEpilogueCallback’ is not a member of ‘v8::Isolate’
v8::Isolate::GCEpilogueCallback callback) {
^
../node_modules/nan/nan.h:380:20: error: variable or field ‘NanAddGCPrologueCallback’ declared void
v8::Isolate::GCPrologueCallback callback
^
../node_modules/nan/nan.h:380:7: error: ‘GCPrologueCallback’ is not a member of ‘v8::Isolate’
v8::Isolate::GCPrologueCallback callback
^
../node_modules/nan/nan.h:381:18: error: expected primary-expression before ‘gc_type_filter’
, v8::GCType gc_type_filter = v8::kGCTypeAll) {
^
../node_modules/nan/nan.h:386:20: error: variable or field ‘NanRemoveGCPrologueCallback’ declared void
v8::Isolate::GCPrologueCallback callback) {
^
../node_modules/nan/nan.h:386:7: error: ‘GCPrologueCallback’ is not a member of ‘v8::Isolate’
v8::Isolate::GCPrologueCallback callback) {
^
../node_modules/nan/nan.h:557:13: error: ‘node::smalloc’ has not been declared
, node::smalloc::FreeCallback callback
^
../node_modules/nan/nan.h:557:35: error: expected ‘,’ or ‘...’ before ‘callback’
, node::smalloc::FreeCallback callback
^
../node_modules/nan/nan.h: In function ‘v8::Local<v8::Object> NanNewBufferHandle(char*, size_t, int)’:
../node_modules/nan/nan.h:561:50: error: ‘callback’ was not declared in this scope
v8::Isolate::GetCurrent(), data, length, callback, hint);
^
../node_modules/nan/nan.h:561:60: error: ‘hint’ was not declared in this scope
v8::Isolate::GetCurrent(), data, length, callback, hint);
^
../node_modules/nan/nan.h: In function ‘v8::Local<v8::Object> NanNewBufferHandle(const char*, uint32_t)’:
../node_modules/nan/nan.h:568:67: error: invalid conversion from ‘const char*’ to ‘char*’ [-fpermissive]
return node::Buffer::New(v8::Isolate::GetCurrent(), data, size);
^
In file included from ../node_modules/nan/nan.h:25:0,
from ../src/time.cc:7:
/root/.node-gyp/6.7.0/include/node/node_buffer.h:46:40: note: initializing argument 2 of ‘v8::MaybeLocal<v8::Object> node::Buffer::New(v8::Isolate*, char*, size_t)’
NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate,
^
In file included from ../src/time.cc:7:0:
../node_modules/nan/nan.h:568:67: error: could not convert ‘node::Buffer::New(v8::Isolate::GetCurrent(), ((char*)data), size)’ from ‘v8::MaybeLocal<v8::Object>’ to ‘v8::Local<v8::Object>’
return node::Buffer::New(v8::Isolate::GetCurrent(), data, size);
^
../node_modules/nan/nan.h: In function ‘v8::Local<v8::Object> NanNewBufferHandle(uint32_t)’:
../node_modules/nan/nan.h:572:61: error: could not convert ‘node::Buffer::New(v8::Isolate::GetCurrent(), size)’ from ‘v8::MaybeLocal<v8::Object>’ to ‘v8::Local<v8::Object>’
return node::Buffer::New(v8::Isolate::GetCurrent(), size);
^
../node_modules/nan/nan.h: In function ‘v8::Local<v8::Object> NanBufferUse(char*, uint32_t)’:
../node_modules/nan/nan.h:579:12: error: ‘Use’ is not a member of ‘node::Buffer’
return node::Buffer::Use(v8::Isolate::GetCurrent(), data, size);
^
time.target.mk:88: recipe for target 'Release/obj.target/time/src/time.o' failed
make: *** [Release/obj.target/time/src/time.o] Error 1
make: Leaving directory '/root/.cozy-light/node_modules/cozy-calendar/node_modules/time/build'
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/cozy-light/node_modules/npm/node_modules/node-gyp/lib/build.js:270:23)
gyp ERR! stack at emitTwo (events.js:106:13)
gyp ERR! stack at ChildProcess.emit (events.js:191:7)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:215:12)
gyp ERR! System Linux 4.4.21-v7+
gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/cozy-light/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /root/.cozy-light/node_modules/cozy-calendar/node_modules/time
gyp ERR! node -v v6.7.0
gyp ERR! node-gyp -v v3.0.1
gyp ERR! not ok
-
> ws@0.4.32 install /root/.cozy-light/node_modules/cozy-calendar/node_modules/cozy-realtime-adapter/node_modules/socket.io/node_modules/socket.io-client/node_modules/ws
> (node-gyp rebuild 2> builderror.log) || (exit 0)
make: Entering directory '/root/.cozy-light/node_modules/cozy-calendar/node_modules/cozy-realtime-adapter/node_modules/socket.io/node_modules/socket.io-client/node_modules/ws/build'
CXX(target) Release/obj.target/bufferutil/src/bufferutil.o
bufferutil.target.mk:88: recipe for target 'Release/obj.target/bufferutil/src/bufferutil.o' failed
make: Leaving directory '/root/.cozy-light/node_modules/cozy-calendar/node_modules/cozy-realtime-adapter/node_modules/socket.io/node_modules/socket.io-client/node_modules/ws/build'
/
> leveldown@0.10.6 install /root/.cozy-light/node_modules/cozy-calendar/node_modules/pouchdb/node_modules/leveldown
> node-gyp rebuild
make: Entering directory '/root/.cozy-light/node_modules/cozy-calendar/node_modules/pouchdb/node_modules/leveldown/build'
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.14.0/db/builder.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.14.0/db/db_impl.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.14.0/db/db_iter.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.14.0/db/filename.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.14.0/db/dbformat.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.14.0/db/log_reader.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.14.0/db/log_writer.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.14.0/db/memtable.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.14.0/db/repair.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.14.0/db/table_cache.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.14.0/db/version_edit.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.14.0/db/version_set.o
../deps/leveldb/leveldb-1.14.0/db/version_set.cc:58:13: warning: ‘std::string leveldb::{anonymous}::IntSetToString(const std::set<long long unsigned int>&)’ defined but not used [-Wunused-function]
std::string IntSetToString(const std::set<uint64_t>& s) {
^
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.14.0/db/write_batch.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.14.0/helpers/memenv/memenv.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.14.0/table/block.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.14.0/table/block_builder.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.14.0/table/filter_block.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.14.0/table/format.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.14.0/table/iterator.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.14.0/table/merger.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.14.0/table/table.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.14.0/table/table_builder.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.14.0/table/two_level_iterator.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.14.0/util/arena.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.14.0/util/bloom.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.14.0/util/cache.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.14.0/util/coding.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.14.0/util/comparator.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.14.0/util/crc32c.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.14.0/util/env.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.14.0/util/filter_policy.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.14.0/util/hash.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.14.0/util/logging.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.14.0/util/options.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.14.0/util/status.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.14.0/port/port_posix.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.14.0/util/env_posix.o
AR(target) Release/obj.target/deps/leveldb/leveldb.a
COPY Release/leveldb.a
CXX(target) Release/obj.target/snappy/deps/snappy/snappy-1.1.1/snappy-sinksource.o
CXX(target) Release/obj.target/snappy/deps/snappy/snappy-1.1.1/snappy-stubs-internal.o
CXX(target) Release/obj.target/snappy/deps/snappy/snappy-1.1.1/snappy.o
AR(target) Release/obj.target/deps/snappy/snappy.a
COPY Release/snappy.a
CXX(target) Release/obj.target/leveldown/src/batch.o
In file included from ../src/batch.cc:5:0:
../node_modules/nan/nan.h:602:20: error: variable or field ‘AddGCEpilogueCallback’ declared void
v8::Isolate::GCEpilogueCallback callback
^
../node_modules/nan/nan.h:602:7: error: ‘GCEpilogueCallback’ is not a member of ‘v8::Isolate’
v8::Isolate::GCEpilogueCallback callback
^
../node_modules/nan/nan.h:603:18: error: expected primary-expression before ‘gc_type_filter’
, v8::GCType gc_type_filter = v8::kGCTypeAll) {
^
../node_modules/nan/nan.h:608:20: error: variable or field ‘RemoveGCEpilogueCallback’ declared void
v8::Isolate::GCEpilogueCallback callback) {
^
../node_modules/nan/nan.h:608:7: error: ‘GCEpilogueCallback’ is not a member of ‘v8::Isolate’
v8::Isolate::GCEpilogueCallback callback) {
^
../node_modules/nan/nan.h:613:20: error: variable or field ‘AddGCPrologueCallback’ declared void
v8::Isolate::GCPrologueCallback callback
^
../node_modules/nan/nan.h:613:7: error: ‘GCPrologueCallback’ is not a member of ‘v8::Isolate’
v8::Isolate::GCPrologueCallback callback
^
../node_modules/nan/nan.h:614:18: error: expected primary-expression before ‘gc_type_filter’
, v8::GCType gc_type_filter = v8::kGCTypeAll) {
^
../node_modules/nan/nan.h:619:20: error: variable or field ‘RemoveGCPrologueCallback’ declared void
v8::Isolate::GCPrologueCallback callback) {
^
../node_modules/nan/nan.h:619:7: error: ‘GCPrologueCallback’ is not a member of ‘v8::Isolate’
v8::Isolate::GCPrologueCallback callback) {
^
leveldown.target.mk:106: recipe for target 'Release/obj.target/leveldown/src/batch.o' failed
make: *** [Release/obj.target/leveldown/src/batch.o] Error 1
make: Leaving directory '/root/.cozy-light/node_modules/cozy-calendar/node_modules/pouchdb/node_modules/leveldown/build'
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/cozy-light/node_modules/npm/node_modules/node-gyp/lib/build.js:270:23)
gyp ERR! stack at emitTwo (events.js:106:13)
gyp ERR! stack at ChildProcess.emit (events.js:191:7)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:215:12)
gyp ERR! System Linux 4.4.21-v7+
gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/cozy-light/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /root/.cozy-light/node_modules/cozy-calendar/node_modules/pouchdb/node_modules/leveldown
gyp ERR! node -v v6.7.0
gyp ERR! node-gyp -v v3.0.1
gyp ERR! not ok
npm WARN optional dep failed, continuing leveldown@0.10.6
{ Error: time@0.11.1 install: `node-gyp rebuild`
Exit status 1
at EventEmitter.<anonymous> (/usr/local/lib/node_modules/cozy-light/node_modules/npm/lib/utils/lifecycle.js:214:16)
at emitTwo (events.js:106:13)
at EventEmitter.emit (events.js:191:7)
at ChildProcess.<anonymous> (/usr/local/lib/node_modules/cozy-light/node_modules/npm/lib/utils/spawn.js:24:14)
at emitTwo (events.js:106:13)
at ChildProcess.emit (events.js:191:7)
at maybeClose (internal/child_process.js:877:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5)
code: 'ELIFECYCLE',
pkgid: 'time@0.11.1',
stage: 'install',
script: 'node-gyp rebuild',
pkgname: 'time' }
error - cozy-calendar installation failed.
time@0.11.1 install: `node-gyp rebuild`
Exit status 1
error - An error occured while installing your distribution
Repo install:
No support for ARM64.
apt-get install -y ucf wget ca-certificates apt-transport-https
wget -O - https://debian.cozycloud.cc/cozy.gpg.key 2>/dev/null | apt-key add -
echo 'deb https://debian.cozycloud.cc/debian jessie cozy' \
> /etc/apt/sources.list.d/cozy.list
apt-get update
apt-get install python-cozy-management
cozy_management install_cozy
Fails on couchdb: Not in Jessie repo: https://packages.debian.org/search?keywords=couchdb
compiled .deb: EDIT: REMOVED OBSOLETE LINK
General Cleanup: Marking all software requests as closed. Once interest peaks, we'll reopen once work starts.
https://docs.cozy.io/en/tutorials/selfhost-debian/
according to the document, it sounds like there's arm64 build.
Indeed, their repo seems to ship everything required. Consider adding it to our FeatHub page and link back from there: https://feathub.com/MichaIng/DietPi (their server seems to be down right now...)
Cozy (repo) https://docs.cozy.io/en/host/install/install-on-debian.html
Cozy (lite) https://github.com/cozy-labs/cozy-light