dfabric / dplatform-shell Goto Github PK
View Code? Open in Web Editor NEWDeploy self-hosted apps easily: simple, bloat-free, independent installation
Home Page: https://dfabric.github.io/DPlatform-Shell
License: MIT License
Deploy self-hosted apps easily: simple, bloat-free, independent installation
Home Page: https://dfabric.github.io/DPlatform-Shell
License: MIT License
First of all, great work! I'm always too lazy to set up my own server and this really helps.
Second, I would love to see Shout being added to DPlatform, more information can be found here: http://shout-irc.com/
If I'm able to find some free time, I'll add it myself.
Again i can't install wekan on Raspbian, here is full log
Cloning into 'DPlatform-ShellCore'...
remote: Counting objects: 2748, done.
remote: Compressing objects: 100% (5/5), done.
remote: Total 2748 (delta 0), reused 0 (delta 0), pack-reused 2743
Receiving objects: 100% (2748/2748), 818.12 KiB | 203.00 KiB/s, done.
Resolving deltas: 100% (2062/2062), done.
Checking connectivity... done.
Obtaining the IPv4 address from http://ipv4.icanhazip.com...
done.
Cloning into 'meteor'...
remote: Counting objects: 2610, done.
remote: Compressing objects: 100% (2252/2252), done.
remote: Total 2610 (delta 233), reused 1458 (delta 132), pack-reused 0
Receiving objects: 100% (2610/2610), 14.26 MiB | 221.00 KiB/s, done.
Resolving deltas: 100% (233/233), done.
Checking connectivity... done.
It's the first time you've run Meteor from a git checkout.
I will download a kit containing all of Meteor's dependencies.
######################################################################## 100,0%
Installed dependency kit v0.5.16 in dev_bundle.
meteor: updating npm dependencies -- meteor-deque...
babel-compiler: updating npm dependencies -- meteor-babel...
ecmascript-runtime: updating npm dependencies -- meteor-ecmascript-runtime...
promise: updating npm dependencies -- meteor-promise...
ddp-client: updating npm dependencies -- faye-websocket, permessage-deflate...
npm-mongo: updating npm dependencies -- mongodb...
logging: updating npm dependencies -- cli-color...
xmlbuilder: updating npm dependencies -- xmlbuilder...
run: You're not in a Meteor project directory.
To create a new Meteor project:
meteor create <project name>
For example:
meteor create myapp
For more help, see 'meteor --help'.
mv: cannot move ‘bundle/..’ to ‘./..’: Device or resource busy
unbuild [email protected]
npm WARN engine [email protected]: wanted: {"node":">= 4"} (current: {"node":"0.10.40","npm":"1.4.28"})
npm WARN engine [email protected]: wanted: {"node":">=0.12.0","iojs":">=1.0.0"} (current: {"node":"0.10.40","npm":"1.4.28"})
npm WARN engine [email protected]: wanted: {"node":">= 0.12"} (current: {"node":"0.10.40","npm":"1.4.28"})
/
> [email protected] install /home/wekan/programs/server/npm/npm-bcrypt/node_modules/bcrypt
> node-pre-gyp install --fallback-to-build
node-pre-gyp ERR! Tried to download(404): https://github.com/kelektiv/node.bcrypt.js/releases/download/v1.0.2/bcrypt_lib-v1.0.2-node-v11-linux-arm.tar.gz
node-pre-gyp ERR! Pre-built binaries not found for [email protected] and [email protected] (node-v11 ABI) (falling back to source compile with node-gyp)
gyp WARN EACCES user "root" does not have permission to access the dev dir "/root/.node-gyp/0.10.40"
gyp WARN EACCES attempting to reinstall using temporary dev dir "/home/wekan/programs/server/npm/npm-bcrypt/node_modules/bcrypt/.node-gyp"
make: Entering directory '/home/wekan/programs/server/npm/npm-bcrypt/node_modules/bcrypt/build'
make: *** No rule to make target '../.node-gyp/0.10.40/common.gypi', needed by 'Makefile'. Stop.
make: Leaving directory '/home/wekan/programs/server/npm/npm-bcrypt/node_modules/bcrypt/build'
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/usr/local/share/meteor/dev_bundle/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:267:23)
gyp ERR! stack at ChildProcess.emit (events.js:98:17)
gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:820:12)
gyp ERR! System Linux 4.4.38-v7+
gyp ERR! command "/usr/local/share/meteor/dev_bundle/bin/node" "/usr/local/share/meteor/dev_bundle/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "build" "--fallback-to-build" "--module=/home/wekan/programs/server/npm/npm-bcrypt/node_modules/bcrypt/lib/binding/bcrypt_lib.node" "--module_name=bcrypt_lib" "--module_path=/home/wekan/programs/server/npm/npm-bcrypt/node_modules/bcrypt/lib/binding"
gyp ERR! cwd /home/wekan/programs/server/npm/npm-bcrypt/node_modules/bcrypt
gyp ERR! node -v v0.10.40
gyp ERR! node-gyp -v v1.0.1
gyp ERR! not ok
node-pre-gyp ERR! build error
node-pre-gyp ERR! stack Error: Failed to execute '/usr/local/share/meteor/dev_bundle/bin/node /usr/local/share/meteor/dev_bundle/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/home/wekan/programs/server/npm/npm-bcrypt/node_modules/bcrypt/lib/binding/bcrypt_lib.node --module_name=bcrypt_lib --module_path=/home/wekan/programs/server/npm/npm-bcrypt/node_modules/bcrypt/lib/binding' (1)
node-pre-gyp ERR! stack at ChildProcess.<anonymous> (/home/wekan/programs/server/npm/npm-bcrypt/node_modules/bcrypt/node_modules/node-pre-gyp/lib/util/compile.js:83:29)
node-pre-gyp ERR! stack at ChildProcess.emit (events.js:98:17)
node-pre-gyp ERR! stack at maybeClose (child_process.js:766:16)
node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:833:5)
node-pre-gyp ERR! System Linux 4.4.38-v7+
node-pre-gyp ERR! command "node" "/home/wekan/programs/server/npm/npm-bcrypt/node_modules/bcrypt/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"
node-pre-gyp ERR! cwd /home/wekan/programs/server/npm/npm-bcrypt/node_modules/bcrypt
node-pre-gyp ERR! node -v v0.10.40
node-pre-gyp ERR! node-pre-gyp -v v0.6.32
node-pre-gyp ERR! not ok
Failed to execute '/usr/local/share/meteor/dev_bundle/bin/node /usr/local/share/meteor/dev_bundle/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/home/wekan/programs/server/npm/npm-bcrypt/node_modules/bcrypt/lib/binding/bcrypt_lib.node --module_name=bcrypt_lib --module_path=/home/wekan/programs/server/npm/npm-bcrypt/node_modules/bcrypt/lib/binding' (1)
npm ERR! [email protected] install: `node-pre-gyp install --fallback-to-build`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script.
npm ERR! This is most likely a problem with the bcrypt package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-pre-gyp install --fallback-to-build
npm ERR! You can get their info via:
npm ERR! npm owner ls bcrypt
npm ERR! There is likely additional logging output above.
npm ERR! System Linux 4.4.38-v7+
npm ERR! command "/usr/local/share/meteor/dev_bundle/bin/node" "/usr/local/share/meteor/dev_bundle/bin/npm" "install" "bcrypt"
npm ERR! cwd /home/wekan/programs/server/npm/npm-bcrypt
npm ERR! node -v v0.10.40
npm ERR! npm -v 1.4.28
npm ERR! code ELIFECYCLE
npm ERR! not ok code 0
unbuild [email protected]
/
> [email protected] install /home/wekan/programs/server/npm/cfs_gridfs/node_modules/mongodb/node_modules/bson
> (node-gyp rebuild 2> builderror.log) || (exit 0)
make: Entering directory '/home/wekan/programs/server/npm/cfs_gridfs/node_modules/mongodb/node_modules/bson/build'
CXX(target) Release/obj.target/bson/ext/bson.o
SOLINK_MODULE(target) Release/obj.target/bson.node
SOLINK_MODULE(target) Release/obj.target/bson.node: Finished
COPY Release/bson.node
make: Leaving directory '/home/wekan/programs/server/npm/cfs_gridfs/node_modules/mongodb/node_modules/bson/build'
[email protected] node_modules/bson
└── [email protected]
npm WARN package.json [email protected] No description
npm WARN package.json [email protected] No repository field.
npm WARN package.json [email protected] No README data
/
> [email protected] install /home/wekan/programs/server/node_modules/fibers
> node ./build.js
gyp WARN EACCES user "root" does not have permission to access the dev dir "/root/.node-gyp/0.10.40"
gyp WARN EACCES attempting to reinstall using temporary dev dir "/home/wekan/programs/server/node_modules/fibers/.node-gyp"
make: Entering directory '/home/wekan/programs/server/node_modules/fibers/build'
CXX(target) Release/obj.target/fibers/src/fibers.o
CXX(target) Release/obj.target/fibers/src/coroutine.o
../src/coroutine.cc: In function ‘void* find_thread_id_key(void*)’:
../src/coroutine.cc:90:3: warning: ‘thread_id’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if (tls == thread_id) {
^
CC(target) Release/obj.target/fibers/src/libcoro/coro.o
SOLINK_MODULE(target) Release/obj.target/fibers.node
SOLINK_MODULE(target) Release/obj.target/fibers.node: Finished
COPY Release/fibers.node
make: Leaving directory '/home/wekan/programs/server/node_modules/fibers/build'
Installed in `/home/wekan/programs/server/node_modules/fibers/bin/linux-arm-v8-3.14/fibers.node`
[email protected] node_modules/ansi-regex
[email protected] node_modules/ansi-styles
[email protected] node_modules/escape-string-regexp
[email protected] node_modules/chalk
[email protected] node_modules/strip-ansi
[email protected] node_modules/supports-color
[email protected] node_modules/has-ansi
[email protected] node_modules/eachline
[email protected] node_modules/type-of
[email protected] node_modules/amdefine
[email protected] node_modules/asap
[email protected] node_modules/underscore
[email protected] node_modules/meteor-promise
[email protected] node_modules/promise
[email protected] node_modules/source-map-support
[email protected] node_modules/semver
[email protected] node_modules/source-map
[email protected] node_modules/fibers
Created symlink from /etc/systemd/system/multi-user.target.wants/wekan.service to /etc/systemd/system/wekan.service.
I did a fresh install of Raspbian Lite, ssh into pi, installed Rocket.chat, and am unable to access it via my internal ip. 10.0.1.14:3004.
A status check shows rocket.chat and mongodb are running.
Hello,
I have noticed several issues while installing Rocket.Chat, and I have fixed them. Attached are the logs.
Fresh OS install, first time running DPlatform and I try to install Rocket.Chat. It gets stuck on the "Define the Rocket.Chat MongoDB database".
I want local but it just reverts back to the define database screen. Both external and local options do nothing and it reverts back to the "Define the Rocket.Chat MongoDB database" menu.
There should be a way to have HTTPS support in Nextcloud.
It could be passed as a parameter to whiptail or a separate file (which would require more maintenance for 2 separate Nextcloud installations).
The NGINX .conf file (/etc/nginx/sites-enabled/nextcloud in apps/Nextcloud.sh) needs to change for HTTPS and Let's Encrypt needs to be able to create a certificate and auto-renew - email address for server is required (tutorial: https://www.digitalocean.com/community/tutorials/how-to-secure-nginx-with-let-s-encrypt-on-ubuntu-16-04). Sample Nginx HTTPS config for nextcloud: https://docs.nextcloud.com/server/12/admin_manual/installation/nginx.html
If the user doesn't want to use Let's Encrypt, later we could add a self-signed certificate or other trusted certificate option (maybe through copy/paste, decrypt the passphrase, etc.).
Would it be possible to display the actual port number after installing an app?
Currently, the window after the installation displays the correct host name, but not the chosen port.
First of all thanks for the effort into putting this all together!
I tried to install Wekan on an Odroid C2 with Armbian Xenial server with this Kernel: Linux 3.14.74-odroidc2 aarch64.
During the installation the following error occurs:
Cloning
into 'meteor'...
remote: Counting objects: 2610, done.
remote: Compressing objects: 100% (2249/2249), done.
remote: Total 2610 (delta 238), reused 1457 (delta 135), pack-reused 0
Receiving objects: 100% (2610/2610), 14.26 MiB | 2.98 MiB/s, done.
Resolving deltas: 100% (238/238), done.
Checking connectivity... done.
It's the first time you've run Meteor from a git checkout.
I will download a kit containing all of Meteor's dependencies.
You are trying to run Meteor on yet not official supported platform: Linux_aarch64
There is currently no pre-built dev_bundle available for your system.
Check https://github.com/4commerce-technologies-AG/meteor to get
the information how you may generate your own dev_bundle using
scripts/generate-dev-bundle.sh
Unable to download: https://dl.bintray.com/4commerce-technologies-ag/meteor-universal/env_dev_bundles/dev_bundle_Linux_aarch64_0.5.16.tar.gz
Pre-built tarball is not available!
Failed to install dependency kit.
mv: 'bundle' and './bundle' are the same file
init.sh: 41: cd: can't cd to /home/wekan/programs/server/npm/npm-bcrypt
init.sh: 42: cd: can't cd to /home/wekan/programs/server/npm/cfs_gridfs/node_modules/mongodb
init.sh: 57: cd: can't cd to /home/wekan/programs/server
init.sh: 60: apps/Wekan.sh: /usr/share/meteor/dev_bundle/bin/npm: not found
Any ideas or suggestions?
Seems like you have forgott a } in your code :-D
sh: 97: apps/Deluge.sh: Syntax error: end of file unexpected (expecting "}")
I tried on both Ubuntu 16.04 and debian 9 .. unfortunately for both i got the message the system is not supported yet. What system is supported?
I am surprised Ubuntu and debian are not supported - i have run it on both in the past.
What needs to happen for seafile to be supported?:-)
I want install Rocket.chat and local DB, but I get this error in stdout/stderr:
You have the newer MongoDB version available
Failed to open: /var/cache/dnf/x86_64/7.2/x86_64/7.2/epel/repodata/8415cbb16f52517f34e3edac12a97c9893117f7b9de6cb22fc086048febd1c60-updateinfo.xml.bz2.
## Installing the NodeSource Node.js 6.x repo...
## Inspecting system...
+ rpm -q --whatprovides redhat-release || rpm -q --whatprovides centos-release || rpm -q --whatprovides cloudlinux-release || rpm -q --whatprovides sl-release
+ uname -m
## Confirming "el7-x86_64" is supported...
+ curl -sLf -o /dev/null 'https://rpm.nodesource.com/pub_6.x/el/7/x86_64/nodesource-release-el7-1.noarch.rpm'
## Downloading release setup RPM...
+ mktemp
+ curl -sL -o '/tmp/tmp.yHDSRJTQXD' 'https://rpm.nodesource.com/pub_6.x/el/7/x86_64/nodesource-release-el7-1.noarch.rpm'
## Installing release setup RPM...
+ rpm -i --nosignature --force '/tmp/tmp.yHDSRJTQXD'
## Cleaning up...
+ rm -f '/tmp/tmp.yHDSRJTQXD'
## Checking for existing installations...
+ rpm -qa 'node|npm' | grep -v nodesource
## Run `yum install -y nodejs` (as root) to install Node.js 6.x and npm.
## You may also need development tools to build native addons:
## `yum install -y gcc-c++ make`
Failed to open: /var/cache/dnf/x86_64/7.2/x86_64/7.2/epel/repodata/8415cbb16f52517f34e3edac12a97c9893117f7b9de6cb22fc086048febd1c60-updateinfo.xml.bz2.
Failed to open: /var/cache/dnf/x86_64/7.2/x86_64/7.2/epel/repodata/8415cbb16f52517f34e3edac12a97c9893117f7b9de6cb22fc086048febd1c60-updateinfo.xml.bz2.
Node.js installed
Failed to open: /var/cache/dnf/x86_64/7.2/x86_64/7.2/epel/repodata/8415cbb16f52517f34e3edac12a97c9893117f7b9de6cb22fc086048febd1c60-updateinfo.xml.bz2.
Failed to open: /var/cache/dnf/x86_64/7.2/x86_64/7.2/epel/repodata/8415cbb16f52517f34e3edac12a97c9893117f7b9de6cb22fc086048febd1c60-updateinfo.xml.bz2.
mv: cannot stat ‘bundle/*’: No such file or directory
mv: cannot stat ‘bundle/.[^.]*’: No such file or directory
rm: cannot remove ‘bundle’: No such file or directory
apps/Rocket.Chat.sh: line 100: cd: programs/server: No such file or directory
apps/Rocket.Chat.sh: line 102: npm: command not found
Created symlink from /etc/systemd/system/multi-user.target.wants/rocket.chat.service to /etc/systemd/system/rocket.chat.service.
Using RHEL 7.2. Can you help me?
Is there an upgrade to Nextcloud 12 planned?
Hi, julien the script send to many request on server cuby hebergs 2/5 requests per minutes for check ip address.
look here
---------------------------------------Log Connexion----------------------------------------
Date : 13-06-2017 15:55:10
Call URL : /
SERVER_PROTOCOL : HTTP/1.1
REQUEST_METHOD : GET
HTTP_CLIENT_RESOLVER : (82.255.32.23) and port 52646
HTTP_ACCEPT_ENCODING :
HTTP_CONNECTION :
HTTP_USER_AGENT : curl/7.54.0
HTTPS :
GET DATA :
SESSION DATA :
ville => Viane
region => Midi-Pyrénées
pays => France
ISP => AS12322 Free SAS
COOKIE DATA :
---------------------------------------End Log Connexion--------------------------------------
---------------------------------------Log Connexion----------------------------------------
Date : 13-06-2017 15:55:27
Call URL : /
SERVER_PROTOCOL : HTTP/1.1
REQUEST_METHOD : GET
HTTP_CLIENT_RESOLVER : (82.255.32.23) and port 55841
HTTP_ACCEPT_ENCODING :
HTTP_CONNECTION :
HTTP_USER_AGENT : curl/7.54.0
HTTPS :
GET DATA :
SESSION DATA :
ville => Viane
region => Midi-Pyrénées
pays => France
ISP => AS12322 Free SAS
COOKIE DATA :
---------------------------------------End Log Connexion--------------------------------------
---------------------------------------Log Connexion----------------------------------------
Date : 13-06-2017 15:55:28
Call URL : /
SERVER_PROTOCOL : HTTP/1.1
REQUEST_METHOD : GET
HTTP_CLIENT_RESOLVER : (82.255.32.23) and port 51653
HTTP_ACCEPT_ENCODING :
HTTP_CONNECTION :
HTTP_USER_AGENT : curl/7.54.0
HTTPS :
GET DATA :
SESSION DATA :
ville => Viane
region => Midi-Pyrénées
pays => France
ISP => AS12322 Free SAS
COOKIE DATA :
---------------------------------------End Log Connexion--------------------------------------
---------------------------------------Log Connexion----------------------------------------
Date : 13-06-2017 15:55:38
Call URL : /
SERVER_PROTOCOL : HTTP/1.1
REQUEST_METHOD : GET
HTTP_CLIENT_RESOLVER : (82.255.32.23) and port 55773
HTTP_ACCEPT_ENCODING :
HTTP_CONNECTION :
HTTP_USER_AGENT : curl/7.54.0
HTTPS :
GET DATA :
SESSION DATA :
ville => Viane
region => Midi-Pyrénées
pays => France
ISP => AS12322 Free SAS
COOKIE DATA :
---------------------------------------End Log Connexion--------------------------------------
---------------------------------------Log Connexion----------------------------------------
Date : 13-06-2017 15:55:39
Call URL : /
SERVER_PROTOCOL : HTTP/1.1
REQUEST_METHOD : GET
HTTP_CLIENT_RESOLVER : (82.255.32.23) and port 52389
HTTP_ACCEPT_ENCODING :
HTTP_CONNECTION :
HTTP_USER_AGENT : curl/7.54.0
HTTPS :
GET DATA :
SESSION DATA :
ville => Viane
region => Midi-Pyrénées
pays => France
ISP => AS12322 Free SAS
COOKIE DATA :
---------------------------------------End Log Connexion--------------------------------------
Hi, i just want to share something that i've discovered using that app with docker, when creating the systemd unit you could ask the user to set a smtp server to send email, and then add that strings to the unit:
Environment=MAIL_URL=smtp://user:password@smtpserverport:port/ Environment=MAIL_FROM=emailaddress
The other thing is the update script that i don't fully understand because:
at line 3: [ $1 = update ] && { systemctl stop wekan; rm -rf /home/wekan/bundle; }
but at line 35 mv bundle Wekan
so when $1=update
you are trying to delete /home/wekan/bundle
which doesn't exist anymore, because at line 35 you've renamed bundle to Wekan.
Thank you for creating all of this set of scripts, you saved me a lot of time!
I have installed an instance of NodeBB, but can't figure out how to access it over the network. Neither Apache nor Nginx appear to be installed, so I can't look up any reverse proxy configuration. How do I configure the domain/path, so that I can access applications once installed?
Cloning a repository into a new created /home/user path fails because .bash_logout .bashrc and .profile are being created with the user creation.
Possible solutions:
Using OS: Ubuntu Server 16.10
Bonjour Bonjour,
Il y a un problème de liaison entre le DPlatfrom.sh et le dossier app/lets-chat.
De plus je n'arrive pas a détecter mon IPV4, il semble que l'IPV6 prenne le dessus.
website it's available for more security https://ip4.cuby-hebergs.com/
https://github.com/DFabric/DPlatform-ShellCore/blob/master/dplatform.sh#L77
the line is not valid for check ip cuby hebergs.
Just attempted to install Laverna (on Banana Pi, fresh install Debian Jessie minimal). No error during DPlatform install; however attempting to access Laverna in browser results in:
404 Not Found
nginx/1.6.2
Thank you for your slim and efficient platform. It is the only one that made Gogs just work!
Although I use Gogs from your platform, I was wondering whether you have considered adding gitea as well. It is a community fork of gogs and should not be too much trouble on your end (or at least I hope not). But it is more actively developed and it looks really promising.
Anyway, just a suggestion and I understand if it does not suit your roadmap. Thanks again.
I discovers a couple similar projects. It might be useful to borrow/team up with/fork them. DPlatform seems the most general, which makes it quite appealing, but the more the merrier.
Could you please add support for Nextcloud?
stderr/stdout contains this error messages after launch init.sh:
fatal: unable to access 'https://github.com/DFabric/DPlatform-ShellCore/': Peer's Certificate has expired.
Obtaining the IPv4 address from http://ip4.cuby-hebergs.com...
done.
nc: invalid option -- 'z'
And maybe because that I can't install new app due to "No Internet Connection" msg window.
I cant get Rocketchat to start
Process- Brand New install of Rasbian, got the full updates and then ran the script.
it complained about node.js not being able to be installed without root so i reran it. The I tried an install again and got the following errors-
gyp WARN EACCES user "root" does not have permission to access the dev dir "/root/.node-gyp/6.10.0"
gyp WARN EACCES attempting to reinstall using temporary dev dir "/var/www/rocketchat/programs/server/node_modules/fibers/.node-gyp"
make: Entering directory '/var/www/rocketchat/programs/server/node_modules/fibers/build'
npm WARN lifecycle [email protected]~install: cannot run in wd %s %s (wd=%s) [email protected] node npm-rebuild.js /var/www/rocketchat/programs/server
The I uninstalled rocketchat and tried it again-
pi@raspberrypi:~/DPlatform-ShellCore $ sudo sh init.sh
Already up-to-date.
Obtaining the IPv4 address from http://ipv4.icanhazip.com...
done.
Removed symlink /etc/systemd/system/multi-user.target.wants/rocket.chat.service.
You have Node.js installed
mv: cannot move ‘bundle/..’ to ‘./..’: Device or resource busy
rm: cannot remove ‘rocket.chat.tgz’: No such file or directory[email protected] install /var/www/rocketchat/programs/server/node_modules/fibers
node build.js || nodejs build.jsgyp WARN EACCES user "root" does not have permission to access the dev dir "/root/.node-gyp/6.10.0"
gyp WARN EACCES attempting to reinstall using temporary dev dir "/var/www/rocketchat/programs/server/node_modules/fibers/.node-gyp"
make: Entering directory '/var/www/rocketchat/programs/server/node_modules/fibers/build'
Not sure what went wrong here. I was running rocket.chat when suddenly the server stopped. Tried running "sudo sh init.sh" to check status / restart it but received error message "sh: 0: Can't open init.sh". Restarted device and tried again but receive the same error message.
Thank you.
Could you please add Cloud9?
Hi,
I have some new issues updating Rocket.Chat. The logs below show that the commands "download" and "extract" in the Bash script are not recognized. I have a Raspberry Pi 3 with up-to-date Raspbian Jessie.
useradd: user 'rocketchat' already exists
apps/Rocket.Chat.sh: 97: apps/Rocket.Chat.sh: download: not found
apps/Rocket.Chat.sh: 100: apps/Rocket.Chat.sh: extract: not found
mv: cannot stat ‘bundle’: No such file or directory
rm: cannot remove ‘rocket.chat.tgz’: No such file or directory
apps/Rocket.Chat.sh: 105: cd: can't cd to Rocket.Chat/programs/server
npm ERR! install Couldn't read dependencies
npm ERR! package.json ENOENT, open '/home/rocketchat/package.json'
npm ERR! package.json This is most likely not a problem with npm itself.
npm ERR! package.json npm can't find a package.json file in your current directory.
npm ERR! System Linux 4.1.19-v7+
npm ERR! command "/usr/share/meteor/dev_bundle/bin/node" "/usr/share/meteor/dev_bundle/bin/npm" "install"
npm ERR! cwd /home/rocketchat
npm ERR! node -v v0.10.40
npm ERR! npm -v 1.4.28
npm ERR! path /home/rocketchat/package.json
npm ERR! code ENOPACKAGEJSON
npm ERR! errno 34
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /home/rocketchat/npm-debug.log
npm ERR! not ok code 0
Warning: Unit file of rocket.chat.service changed on disk, 'systemctl daemon-reload' recommended.
I just installed rocket.chat on a raspi 3 (latest debian, jessie) and it seems to be working perfectly. A lot happened during that install so your application is valuable for that alone. Thank you.
My next hope is to install hubot and it requires node.js and npm. Now I see NPM does not appear to be installed. I think that nodejs was installed as part of raspian or maybe as part of rocket.chat.
Anyway, when I try to install nodejs through DPlatform, it says it's already installed and bounces out.
I manually installed npm and all is well. Just thought I would mention a catch-22 in your app; if nodejs is installed then your app will not allow an install of NPM; except manually.
Thanks,
Chris.
Trying to install Ajenti immediately returns Could not detect OS
and exits. Ajenti is listed as installed in DPlatform, but obviously doesn't work. Tested on RPi 3 Raspbian.
Hi in wordpress.sh, there's an error, when you clone the folder of WP-Quick-Install and then want to run the index.php (line 18 in /app/wordpress.sh) file inside it you miss a subfolder into the path.
php WP-Quick-Install/index.php
how it should be
php WP-Quick-Install/wp-quick-install/index.php
after editing this line the setup will proceed, but i'm still getting errors when trying to launch nginx:
[emerg] 32764#0: invalid number of arguments in "try_files" directive in /etc/nginx/sites-enabled/wordpress:19
doing a ngnix -t
return that infos
nginx -t nginx: [emerg] unknown directive "fastcgi_params" in /etc/nginx/sites-enabled/wordpress:24 nginx: configuration file /etc/nginx/nginx.conf test failed
so i've commented this line inside the /etc/nginx/sites-enabled/wordpress
# fastcgi_params;
and based on some internet searches (Link 1) and (Link2) i've edited this few lines inside the same file:
line 8: try_files $uri $uri/ /index.php?q=$uri&$args;
line 19: try_files $uri $uri/ /wordpress/index.php?q=$uri&$args;
Now ngnix service starts but when i'm trying to open the following address myserverlanipaddress:8089
i'm getting error 403.
The installer seems to successfully install netdata, but upon completion I'm unable to access it via the URL. It doesn't show up in running processes and I cannot find a launchable service for it. It did create a folder /root/netdata
which seems to be the install path....
Just tried Etherpad. Seems to install fine; however, starting a new pad gives the following warning:
Warning: DirtyDB is used. This is fine for testing but not recommended for production. -- To suppress these warning messages change suppressErrorsInPadText to true in your settings.json
Not sure, but I assume it's not ideal to use DirtyDB, so suppressing the warning is probably the wrong thing to do. Anyhow, fyi.
When i enter in the ip address that DPlatform tells me to enter in, this is what my browser says...
This site can’t be reached
<ip_address> refused to connect.
Try:
Reloading the page
Checking the connection
Checking the proxy and the firewall
ERR_CONNECTION_REFUSED
Help???
I have it all set up and the terminal says that everything is all good, so...
Hello,
The DPlatform link from the FreshRSS readme FreshRSS/FreshRSS#1159 is broken, so I am removing it. But you are welcome to send an update when transitioned to dppm.
JitsiMeet installs w/out error to hostname/; however, unable to connect to it in browser. There are not systemd services for it (not sure if there should be), so I'm unable to give error logs. It might be prudent to change default install away from the server root.
Last night I tried doing a clean install using just the tools in this script. I found that RocketChat would not work with the version on MongoDB provided here. I had to follow the instructions at http://andyfelong.com/downloads/core_mongodb.tar.gz for 3.0.9 and then use DPlatform to install rocketchat.
I just installed Rocket Chat on my Raspberry Pi. Rocket chat isnt starting it says that the main.js file is missing.
in /var/www/rocketchat there is: node_modules and rocket.chat.tar.gz
I tried:
tar -xvzf rocket.chat.tar.gz
and received:
gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error is not recoverable: exiting now
Just wanted to leave my feedback as I've found this to be a nice tool.
My install of netdata always fails near the end, when copying the file from system to /etc/systemd
Install of FreshRSS just fails, sorry I can't give more info than that. Don't have the error in my terminal window anymore.
Wekan install fails, citing a syntax error in MongoDB.sh
I'm running Jessie Lite on a Rpi2
I want install wekan on Raspberry pi 2 (clean, latest Raspbian) and get following errors
run: You're not in a Meteor project directory.
To create a new Meteor project:
meteor create <project name>
For example:
meteor create myapp
For more help, see 'meteor --help'.
mv: „bundle” i „./bundle” to ten sam plik
sh: 43: cd: can't cd to /home/wekan/programs/server/npm/npm-bcrypt
sh: 44: cd: can't cd to /home/wekan/programs/server/npm/cfs_gridfs/node_modules/mongodb
sh: 59: cd: can't cd to /home/wekan/programs/server
npm ERR! install Couldn't read dependencies
npm ERR! package.json ENOENT, open '/home/wekan/package.json'
npm ERR! package.json This is most likely not a problem with npm itself.
npm ERR! package.json npm can't find a package.json file in your current directory.
npm ERR! System Linux 4.4.38-v7+
npm ERR! command "/usr/local/share/meteor/dev_bundle/bin/node" "/usr/local/share/meteor/dev_bundle/bin/npm" "install"
npm ERR! cwd /home/wekan
npm ERR! node -v v0.10.40
npm ERR! npm -v 1.4.28
npm ERR! path /home/wekan/package.json
npm ERR! code ENOPACKAGEJSON
npm ERR! errno 34
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /home/wekan/npm-debug.log
npm ERR! not ok code 0
Created symlink from /etc/systemd/system/multi-user.target.wants/wekan.service to /etc/systemd/system/wekan.service.
Hello, I have rocket chat running on my raspberry pi. It works on http but not on https. Is there something in Rocket chat that I need to configure or is it simply a apache configuration?
Une belle installation Debian 8 toute neuve je lance le wget -qO- https://raw.githubusercontent.com/DFabric/DPlatform-ShellCore/master/init.sh | sudo sh
et rien..
Une idée ?
Merci d'avance !
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.