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
Will not start : ENOENT: no such file or directory, open '/opt/nodebb/public/stylesheet.css' #5368
Comments
can you try |
503.html favicon.ico js-enabled.css less nodebb.min.js uploads |
try running |
./nodebb build ./nodebb dev Error: EACCES: permission denied, open '/opt/nodebb/logs/output.log' |
Running it as sudo NodeBB v1.4.2 Copyright (C) 2013-2014 NodeBB Inc. Clustering enabled: Spinning up 1 process(es). 14/1 23:22:19 [10533] - verbose: * using configuration stored in: /opt/nodebb/config.json |
|
Odd |
Also, it seems that the directory that NodeBB is in does not belong to the user you're attempting to run it as. That causes the |
changed |
changed and it can ping google.com and fonts.google.com |
Ok. Is |
yes 14/1 23:28:45 [10618] - info: [build] Building javascript |
Can you try |
root@nodebb:/opt/nodebb/public# curl "https://fonts.googleapis.com/css?family=Roboto:300,400,500,700" > font.css |
Did it finish? Any errors? |
while running build again. root@nodebb:/opt/nodebb# ./nodebb build |
Looks like you're having this issue: clean-css/clean-css#612 Can you try running |
root@nodebb:/opt/nodebb# NODE_ENV=development&& ./nodebb build |
Never mind, that wouldn't change anything. The culprit seems to be a proxy issue which causes cleanCSS to fail here. You can try removing the
|
Please try removing it and rerunning |
root@nodebb:/opt/nodebb# cat nodebb | grep clean |
Clean does not exist. |
Did you see the file I linked? The code is in |
kakious@nodebb:/opt/nodebb$ sudo ./nodebb build |
It's up and running properly! |
Great! Now we're just waiting on clean-css/clean-css#612 |
what do you mean? |
Well, the root of the issue is caused by cleanCSS not properly using the system proxy settings when requesting HTTPS routes. So now we're just waiting on that issue to be solved before closing this tracker. |
@pitaj ok to keep this badge, but it's not a showstopper... if it only affects users behind some sort of proxy (which admittedly is not that many...) |
Looks like upstream wants a new issue made for tracking purposes @pitaj |
Hi, @vtrenten. I'm finding this difficult to reproduce on my own system because I don't have a proxy. Can you try something for me?
|
We could also configure
|
hello, @pitaj , [root@linux nodebb]# ./nodebb upgrade
I think I need to do the same in some other file also. Can you please help. TIA |
Have you tried replacing
In src/meta/css.js? You should be able to test if it works by only running I'm not sure what exactly you did. You you tell me the exact changes you made? Thanks. |
@pitaj Earlier I did the below but got error in different stage
|
Ok, cool. I might just make that change in core. I don't see any updates on the upstream issue, so it'll be the best way to fix this. |
Thanks @pitaj |
git hash : b1b9174
db version v3.2.11
git version: 009580ad490190ba33d1c6253ebd8d91808923e4
OpenSSL version: OpenSSL 1.0.2g 1 Mar 2016
allocator: tcmalloc
modules: none
build environment:
distmod: ubuntu1604
distarch: x86_64
target_arch: x86_64
database:mongo db
Steps used to cause this:
Followed this walkthrough step by step
https://nodebb.readthedocs.io/en/latest/installing/os/ubuntu.html
LOG:
Clustering enabled: Spinning up 1 process(es).
14/1 22:55:45 [10338] - info: Time: Sat Jan 14 2017 22:55:45 GMT+0000 (UTC)
14/1 22:55:45 [10338] - info: Initializing NodeBB v1.4.2
14/1 22:55:47 [10338] - info: initializing NodeBB ...
14/1 22:55:47 [10338] - info: Routes added
14/1 22:55:47 [10338] - error: Error: ENOENT: no such file or directory, open '/opt/nodebb/public/stylesheet.css'
at Error (native)
[cluster] Child Process (10338) has exited (code: 0, signal: null)
Thank you!
The text was updated successfully, but these errors were encountered: