I have made some tweaks and setups on my Qnap T269L:
1. created symbolic links to my /root (~) folder
2. saved those commants to .bash_profile
3. installed nodejs & mongodb from the app repository
4. added some libraries with npm...
5. created a folder for mongodb database, under /root/database/
after a while I had a reboot on my device, and now all those recent changes are missing:
Code: Select all
[~] # node
-sh: node: command not found
[~] # npm
-sh: npm: command not found
[~] # mongod
-sh: mongod: command not found
Its like, any change I do is removed after a reboot. I tried creating some changes and then do a reboot again, and everything was removed.
I looked at the /share/cached_data1/.qpkg/
nodejs, mongodb are there, and also in /opt/bin/:
Code: Select all
[~] # ls /opt/bin/
2to3* diffutils-sdiff* mongoexport@ rcsclean* unzip-unzip*
bash* funzip* mongofiles@ rcsdiff* unzipsfx*
bzcat@ gunzip@ mongoimport@ rcsmerge* update-alternatives*
bzip2@ gzexe* mongorestore@ reset@ zcat@
bzip2-bzip2* gzip@ mongos@ rlog* zcmp*
bzip2recover* gzip-gunzip* mongostat@ sdiff@ zdiff*
captoinfo@ gzip-gzip* ncurses-clear* smtpd-2.7.py* zegrep*
ci* gzip-zcat* ncurses5-config* sqlite3* zfgrep*
clear@ ident* ncursesw5-config* sudo* zforce*
cmp@ idle-2.7* node@ sudoedit* zgrep*
co* infocmp* npm@ sudoreplay* zipgrep*
curl* infotocap@ openssl* tic* zipinfo*
curl-config* ipkg* pydoc-2.7* toe* zless*
diff@ ipkg-opt@ python2@ tput* zmore*
diff3@ merge* python2-config@ tset* znew*
diffutils-cmp* mongo@ python2.7* uncompress*
diffutils-diff* mongod@ python2.7-config* unrar*
diffutils-diff3* mongodump@ rcs* unzip@
Code: Select all
[~] # echo $PATH
/bin:/sbin:/usr/bin:/usr/sbin:/usr/bin/X11:/usr/local/sbin:/usr/local/bin
I hope someone can help me out.
Thanks!!