Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to access etherpad #3069

Closed
EPEffects opened this issue Nov 1, 2016 · 5 comments
Closed

Unable to access etherpad #3069

EPEffects opened this issue Nov 1, 2016 · 5 comments

Comments

@EPEffects
Copy link

EPEffects commented Nov 1, 2016

I tried out running etherpad on Debian 8, Ubuntu 14.04, Ubuntu 16.04 and CentOS07.

I can't run it on Debian 8 and if i run it on Ubuntu 14.04, Ubuntu 16.04 and CentOS07, i get following error:

[2016-11-01 13:04:00.789] [ERROR] console - (node:14477) 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.

[2016-11-01 13:04:01.240] [WARN] console - DirtyDB is used. This is fine for testing but not recommended for production.

[2016-11-01 13:04:03.067] [INFO] console - Installed plugins:

[2016-11-01 13:04:03.073] [INFO] console - Report bugs at https://github.com/ether/etherpad-lite/issues

[2016-11-01 13:04:03.074] [INFO] console - Your Etherpad version is 1.6.0 (223127b)

[2016-11-01 13:04:03.303] [INFO] console - You can access your Etherpad instance at http://[hidden ip]:9001/

[2016-11-01 13:04:03.303] [INFO] console - The plugin admin page is at http://[hidden ip]:9001/admin/plugins

I used Google and tried to solve it:

[etherpad@root596541 etherpad-lite]$ npm info graceful-fs -v
3.10.3
[etherpad@root596541 etherpad-lite]$ npm update -g npm

But after that, npm stopped working:

[root@root596541 ~]#  npm info graceful-fs -v
module.js:457
    throw err;
    ^

Error: Cannot find module 'semver'
    at Function.Module._resolveFilename (module.js:455:15)
    at Function.Module._load (module.js:403:25)
    at Module.require (module.js:483:17)
    at require (internal/module.js:20:19)
    at Object.<anonymous> (/usr/lib/node_modules/npm/lib/utils/unsupported.js:2:14)
    at Module._compile (module.js:556:32)
    at Object.Module._extensions..js (module.js:565:10)
    at Module.load (module.js:473:32)
    at tryModuleLoad (module.js:432:12)
    at Function.Module._load (module.js:424:3)

I hope, someone can help me!

Thank you :)

@lpagliari
Copy link
Contributor

lpagliari commented Nov 1, 2016

Some other users reported the same error, do the steps mentioned on this issue solve your problem?

@EPEffects
Copy link
Author

EPEffects commented Nov 1, 2016

Well, i tried all steps on the issue, but at least the error has changed ^^

etherpad@root596541:~/etherpad-lite/bin$ ./run.sh
Ensure that all dependencies are up to date...  If this is the first time you have run Etherpad please be patient.
Ensure jQuery is downloaded and up to date...
Clearing minified cache...
Ensure custom css/js files are created...
Started Etherpad...
module.js:474
    throw err;
    ^

Error: Cannot find module 'internal/fs'
    at Function.Module._resolveFilename (module.js:472:15)
    at Function.Module._load (module.js:420:25)
    at Module.require (module.js:500:17)
    at require (internal/module.js:20:19)
    at evalmachine.<anonymous>:17:20
    at Object.<anonymous> (/home/etherpad/etherpadlite/src/node_modules/npm/node_modules/graceful-fs/fs.js:11:1)
    at Module._compile (module.js:573:32)
    at Object.Module._extensions..js (module.js:582:10)
    at Module.load (module.js:490:32)
    at tryModuleLoad (module.js:449:12)

I tried to install graceful-fs, but it's still the same error:

etherpad@root596541:~/etherpad-lite/bin$ npm install graceful-fs
/home/etherpad/etherpad-lite
└── graceful-fs@4.1.9

npm WARN enoent ENOENT: no such file or directory, open '/home/etherpad/etherpad-lite/package.json'
npm WARN etherpad-lite No description
npm WARN etherpad-lite No repository field.
npm WARN etherpad-lite No README data
npm WARN etherpad-lite No license field.

Any clues?

@lpagliari
Copy link
Contributor

@EPEffects I've notices you're running the bash script from inside of bin/. The script should be run from the etherpad-lite/ folder, so maybe that's what causing the error. Can you try running ~/etherpad-lite$ ./bin/run.sh, please? Thanks!

@EPEffects
Copy link
Author

Still getting the same error...

@EPEffects
Copy link
Author

After 2 hours, I was able to fix this error... I don't know how, though ^^

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants