Problem installing HTML5 in dev mode

369 views
Skip to first unread message

mohamed el-mekki kella bennani

unread,
Apr 5, 2020, 5:05:52 AM4/5/20
to BigBlueButton-dev
Hello,

I want to try to install html5 client from github using http://docs.bigbluebutton.org/2.2/dev.html.
The installation was with the root privilege, but when i run NODE_ENV=production npm start it's give me the error :

You are attempting to run Meteor as the 'root' superuser. If you are developing, this is almost certainly *not* what you want to do and will likely result in incorrect file permissions. However, if you are running this command in a build process (CI, etc.), or you are absolutely sure you know what you are doing, set the METEOR_ALLOW_SUPERUSER environment variable or pass --allow-superuser to proceed. Even with METEOR_ALLOW_SUPERUSER or --allow-superuser, permissions in your app directory will be incorrect if you ever attempt to perform any Meteor tasks as a normal user. If you need to fix your permissions, run the following command from the root of your project: sudo chown -Rh <username> .meteor/local npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! bbb-html5-client@ start:prod: `meteor reset && ROOT_URL=http://127.0.0.1/html5client NODE_ENV=production meteor --production` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the bbb-html5-client@ start:prod script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm ERR! A complete log of this run can be found in: npm ERR! /home/mekki/.npm/_logs/2020-04-05T08_55_20_991Z-debug.log npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! bbb-html5-client@ start: `if test "$NODE_ENV" = "production" ; then npm run start:prod; else npm run start:dev; fi` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the bbb-html5-client@ start script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm ERR! A complete log of this run can be found in: npm ERR! /home/mekki/.npm/_logs/2020-04-05T08_55_21_023Z-debug.log


and when i run it with non root privilege i got the error :

/home/mekki/.meteor/packages/meteor-tool/.1.10.1.k3wg3l.4aco++os.linux.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.linux.x86_64/tools/cli/dev-bundle.js:120 throw e; ^ Error: EACCES: permission denied, stat '/home/ubuntu/dev/bigbluebutton/bigbluebutton-html5/.meteor/local/dev_bundle' at Object.statSync (fs.js:932:3) at statOrNull (/home/xxx/.meteor/packages/meteor-tool/.1.10.1.k3wg3l.4aco++os.linux.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.linux.x86_64/tools/cli/dev-bundle.js:117:21) at getDevBundleDir (/home/xxx/.meteor/packages/meteor-tool/.1.10.1.k3wg3l.4aco++os.linux.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.linux.x86_64/tools/cli/dev-bundle.js:37:25) at Object.<anonymous> (/home/xxx/.meteor/packages/meteor-tool/.1.10.1.k3wg3l.4aco++os.linux.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.linux.x86_64/tools/cli/dev-bundle.js:177:20) at Object.<anonymous> (/home/xxx/.meteor/packages/meteor-tool/.1.10.1.k3wg3l.4aco++os.linux.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.linux.x86_64/tools/cli/dev-bundle.js:180:3) at Module._compile (internal/modules/cjs/loader.js:1158:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:1178:10) at Module.load (internal/modules/cjs/loader.js:1002:32) at Function.Module._load (internal/modules/cjs/loader.js:901:14) at Module.require (internal/modules/cjs/loader.js:1044:19) { errno: -13, syscall: 'stat', code: 'EACCES', path: '/home/ubuntu/dev/bigbluebutton/bigbluebutton-html5/.meteor/local/dev_bundle' } npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! bbb-html5-client@ start:prod: `meteor reset && ROOT_URL=http://127.0.0.1/html5client NODE_ENV=production meteor --production` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the bbb-html5-client@ start:prod script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm ERR! A complete log of this run can be found in: npm ERR! /home/xxx/.npm/_logs/2020-04-05T08_55_33_148Z-debug.log npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! bbb-html5-client@ start: `if test "$NODE_ENV" = "production" ; then npm run start:prod; else npm run start:dev; fi` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the bbb-html5-client@ start script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm ERR! A complete log of this run can be found in: npm ERR! /home/xxx/.npm/_logs/2020-04-05T08_55_33_171Z-debug.log


Can someone help me please?

Best Regards.

Vishwadeep Kapoor

unread,
Apr 5, 2020, 7:07:04 AM4/5/20
to BigBlueButton-dev
have you tried by using 

meteor update --allow-superuser --release 1.8

KELLA BENNANI Mekki

unread,
Apr 5, 2020, 10:27:47 AM4/5/20
to bigblueb...@googlegroups.com
Yes, i have tried it with no result!
--
You received this message because you are subscribed to the Google Groups "BigBlueButton-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bigbluebutton-dev+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bigbluebutton-dev/28d0d1c6-ba94-498e-b3b3-7d0960f5463a%40googlegroups.com.


--
Envoyé avec Gmail Mobile

KELLA BENNANI Mekki

unread,
Apr 7, 2020, 9:18:23 AM4/7/20
to bigblueb...@googlegroups.com
I sitill have the problem,

Can any one help me please?

Best Regards.

To unsubscribe from this group and stop receiving emails from it, send an email to bigbluebutton-...@googlegroups.com.


--
Envoyé avec Gmail Mobile


--
KELLA BENNANI Mekki

Ingénieur en Système d'Information Géographique (SIG)

Tel : (0033) 751-572-705

Chad Pilkey

unread,
Apr 7, 2020, 3:52:06 PM4/7/20
to BigBlueButton-dev
I create a non-root user and do my development as that user. It's pretty simple to create a different account for it.
To unsubscribe from this group and stop receiving emails from it, send an email to bigblueb...@googlegroups.com.


--
Envoyé avec Gmail Mobile

Ahmadreza Pourghodrat

unread,
Oct 30, 2021, 7:00:10 AM10/30/21
to BigBlueButton-dev
Follow these 3 steps:

1- export METEOR_ALLOW_SUPERUSER=true;
2- systemctl stop bbb-html5
3- npm start

Reply all
Reply to author
Forward
0 new messages