Comments (7)
finally I can say : cozy works on cubietruck with node 4.0
from cozy-data-system.
Hi, americano should be installed as a dependency of the datas-sytem, so in /usr/local/cozy/apps/data-system/node_modules/americano
To install it,
cd /usr/local/cozy/apps/data-system/
sudo -u cozy-data-system npm install
Note that it is different from npm install americano -g
, which will install it the dependency in $(npm config get prefix)/node_modules/americano
Not sure about why it wasn't installed by the controller in the first place : could be a temporary failure of npm's server or there maybe something wrong with permissions. Do you have a particular setup or do you use the debian package ?
from cozy-data-system.
ok got strange errors after executing this command line
/usr/local/cozy/apps/data-system$ sudo -u cozy-data-system npm install > /tmp/error_npm_install.txt 2>&1
BTW : I'm hosting my cozy cloud on cubietruck from the beginning of the project (as soon as I get cozy aware), at that time there wasn't any package.
npm ERR! Error: Attempt to unlock [email protected], which hasn't been locked
npm ERR! at unlock (/opt/node/lib/node_modules/npm/lib/cache.js:1304:11)
npm ERR! at cb (/opt/node/lib/node_modules/npm/lib/cache.js:646:5)
npm ERR! at /opt/node/lib/node_modules/npm/lib/cache.js:655:20
npm ERR! at /opt/node/lib/node_modules/npm/lib/cache.js:1290:7
npm ERR! at /opt/node/lib/node_modules/npm/node_modules/lockfile/lockfile.js:167:38
npm ERR! at OpenReq.Req.done (/opt/node/lib/node_modules/npm/node_modules/graceful-fs/graceful-fs.js:144:5)
npm ERR! at OpenReq.done (/opt/node/lib/node_modules/npm/node_modules/graceful-fs/graceful-fs.js:64:22)
npm ERR! at Object.oncomplete (fs.js:107:15)
npm ERR! If you need help, you may report this entire log,
npm ERR! including the npm and node versions, at:
npm ERR! http://github.com/npm/npm/issues
npm ERR! System Linux 3.4.61+
npm ERR! command "/usr/local/bin/node" "/usr/local/bin/npm" "install"
npm ERR! cwd /usr/local/cozy/apps/data-system
npm ERR! node -v v0.10.26
npm ERR! npm -v 1.4.3
npm ERR! Error: Attempt to unlock [email protected], which hasn't been locked
npm ERR! at unlock (/opt/node/lib/node_modules/npm/lib/cache.js:1304:11)
npm ERR! at cb (/opt/node/lib/node_modules/npm/lib/cache.js:646:5)
npm ERR! at /opt/node/lib/node_modules/npm/lib/cache.js:655:20
npm ERR! at /opt/node/lib/node_modules/npm/lib/cache.js:1290:7
npm ERR! at /opt/node/lib/node_modules/npm/node_modules/lockfile/lockfile.js:167:38
npm ERR! at OpenReq.Req.done (/opt/node/lib/node_modules/npm/node_modules/graceful-fs/graceful-fs.js:144:5)
npm ERR! at OpenReq.done (/opt/node/lib/node_modules/npm/node_modules/graceful-fs/graceful-fs.js:64:22)
npm ERR! at Object.oncomplete (fs.js:107:15)
npm ERR! If you need help, you may report this entire log,
npm ERR! including the npm and node versions, at:
npm ERR! http://github.com/npm/npm/issues
npm ERR! System Linux 3.4.61+
npm ERR! command "/usr/local/bin/node" "/usr/local/bin/npm" "install"
npm ERR! cwd /usr/local/cozy/apps/data-system
npm ERR! node -v v0.10.26
npm ERR! npm -v 1.4.3
npm ERR! Error: Attempt to unlock [email protected], which hasn't been locked
npm ERR! at unlock (/opt/node/lib/node_modules/npm/lib/cache.js:1304:11)
npm ERR! at cb (/opt/node/lib/node_modules/npm/lib/cache.js:646:5)
npm ERR! at /opt/node/lib/node_modules/npm/lib/cache.js:655:20
npm ERR! at /opt/node/lib/node_modules/npm/lib/cache.js:1290:7
npm ERR! at /opt/node/lib/node_modules/npm/node_modules/lockfile/lockfile.js:167:38
npm ERR! at OpenReq.Req.done (/opt/node/lib/node_modules/npm/node_modules/graceful-fs/graceful-fs.js:144:5)
npm ERR! at OpenReq.done (/opt/node/lib/node_modules/npm/node_modules/graceful-fs/graceful-fs.js:64:22)
npm ERR! at Object.oncomplete (fs.js:107:15)
npm ERR! If you need help, you may report this entire log,
npm ERR! including the npm and node versions, at:
npm ERR! http://github.com/npm/npm/issues
npm ERR! System Linux 3.4.61+
npm ERR! command "/usr/local/bin/node" "/usr/local/bin/npm" "install"
npm ERR! cwd /usr/local/cozy/apps/data-system
npm ERR! node -v v0.10.26
npm ERR! npm -v 1.4.3
npm ERR! Error: Attempt to unlock [email protected], which hasn't been locked
npm ERR! at unlock (/opt/node/lib/node_modules/npm/lib/cache.js:1304:11)
npm ERR! at cb (/opt/node/lib/node_modules/npm/lib/cache.js:646:5)
npm ERR! at /opt/node/lib/node_modules/npm/lib/cache.js:655:20
npm ERR! at /opt/node/lib/node_modules/npm/lib/cache.js:1290:7
npm ERR! at /opt/node/lib/node_modules/npm/node_modules/lockfile/lockfile.js:167:38
npm ERR! at OpenReq.Req.done (/opt/node/lib/node_modules/npm/node_modules/graceful-fs/graceful-fs.js:144:5)
npm ERR! at OpenReq.done (/opt/node/lib/node_modules/npm/node_modules/graceful-fs/graceful-fs.js:64:22)
npm ERR! at Object.oncomplete (fs.js:107:15)
npm ERR! If you need help, you may report this entire log,
npm ERR! including the npm and node versions, at:
npm ERR! http://github.com/npm/npm/issues
from cozy-data-system.
Ok, I finally give up to fix this installation and decide to reinstall cozy from scratch
(backup first these files : _replicator.couch _users.couch cozy.couch)
----- purge
supervisorctl stop cozy-controller
supervisorctl stop cozy-indexer
service stop couchdb
rm -rf /usr/local/var/cozy-indexer
rm -f /etc/supervisor/conf.d/cozy-controller.conf
rm -f /etc/supervisor/conf.d/cozy-indexer.conf
rm -rf /usr/local/cozy
rm -rf /etc/cozy
rm -rf /usr/local/var/cozy/
----- install
sudo fab -H [email protected] install
and get error on installing home application
it won't be installed,
sudo cozy-monitor install home
info - Install started for home...
error - An error occured:
error - An error occured:
error - Install failed for home.
error - Install failed for home.
[Error: Install failed for home.
Default git repo https://github.com/cozy/cozy-home.git doesn't exist.
You can use option -r to use a specific repo.]
I've got 115Mo inside /usr/local/cozy/apps/home
it's a bit slow to repeat it, because after git clone, npm downloads lots of packages. So
I don't know what's up with that app, especially because cozy-home exist :-D
from cozy-data-system.
It looks like the Cozy controller is no more started. Can you run:
ps -ef | grep cozy-controller
?
from cozy-data-system.
Finally I fully re-installed cozy. On IRC channel, they told me to update node especially to aim node 4.0. I had other weird and side effects after node installation has been completed. For instance every application has to be installed manually, cozy says it was already installed. Which means :
- git clone
- cd
- npm install
- cd ..
- chown
So I did it, replace everything and reinstall fully cozy. It works actually :) so this issue should be closed.
So thx you and thx you guys on IRC channel.
from cozy-data-system.
Thank you @19emtuck for your patience and for testing Cozy + Node 4 on Cubietruck!
from cozy-data-system.
Related Issues (20)
- Creation of a sharing controller HOT 4
- Fine-grained permission control through id
- TypeError: Cannot read property 'targetDocType' of null HOT 1
- 30G of cozy.couch - any chance of reducing it ? HOT 5
- “Application not authorized” should be less verbose
- Don't crash when index is not available HOT 2
- Convert binaries error
- TypeError: error:0606506D:digital envelope routines:EVP_DecryptFinal_ex:wrong final block length HOT 1
- Improve "Error: Application is not authorized" error handling
- TypeError: Cannot read property 'docType' of undefined HOT 1
- Diacritics in file name makes data-system crash HOT 4
- Add file checksum automatically HOT 1
- Error trying to download a large folder HOT 3
- Extract EXIF data when adding pictures HOT 1
- Allow to disable the inner indexer
- Files doesn't (always) generate previews of pictures HOT 1
- Error creating thumbnails: TypeError: Cannot read property 'id' of undefined
- Allow replication to access /replication/_all_docs URLs HOT 1
- Server error: Forbidden operation | Buffer isn't a JSON valid
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cozy-data-system.