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

Front-end not working properly #243

Open
victorkl400 opened this issue Aug 12, 2020 · 5 comments
Open

Front-end not working properly #243

victorkl400 opened this issue Aug 12, 2020 · 5 comments

Comments

@victorkl400
Copy link

victorkl400 commented Aug 12, 2020

I've seen another issues that you said to run npm install.

But it returns

npm install --save
npm WARN lifecycle [email protected]~postinstall: cannot run in wd [email protected] bower install (wd=/root/qpanel)
audited 1 package in 0.643s
found 0 vulnerabilities

it's a fresh install

Screen Shot 2020-08-12 at 16 04 50

after run app.py

console returns

192.168.202.102 - - [12/Aug/2020 16:12:47] "GET /login HTTP/1.1" 200 -
192.168.202.102 - - [12/Aug/2020 16:12:47] "GET /static/components/bootstrap/dist/css/bootstrap.min.css HTTP/1.1" 404 -
192.168.202.102 - - [12/Aug/2020 16:12:47] "GET /static/components/font-awesome/css/font-awesome.css HTTP/1.1" 404 -
192.168.202.102 - - [12/Aug/2020 16:12:47] "GET /static/components/Chart.js/Chart.js HTTP/1.1" 404 -
192.168.202.102 - - [12/Aug/2020 16:12:47] "GET /static/components/jquery/dist/jquery.js HTTP/1.1" 404 -
192.168.202.102 - - [12/Aug/2020 16:12:47] "GET /static/components/bootstrap/dist/js/bootstrap.min.js HTTP/1.1" 404 -
192.168.202.102 - - [12/Aug/2020 16:12:47] "GET /static/components/jquery/dist/jquery.js HTTP/1.1" 404 -
192.168.202.102 - - [12/Aug/2020 16:12:47] "GET /static/components/bootstrap/dist/js/bootstrap.min.js HTTP/1.1" 404 -
192.168.202.102 - - [12/Aug/2020 16:12:47] "GET /static/img/favicon.ico HTTP/1.1" 200 -

@victorkl400
Copy link
Author

Seems like it running Version: 0.16.1
I have no idea why , i installed manually and via git , but keep showing
"Desarrollado por Rodrigo Ramírez Norambuena con un template de Carlos Alvarez Versión: 0.16.1"

Screen Shot 2020-08-12 at 19 18 35
Screen Shot 2020-08-12 at 19 18 25

@roramirez
Copy link
Owner

Yes, you are using the 0.16.1 version.

If you need to use the new theme you need install the last stable version. Also, for the 404 errors should could install by bower the dependencies.
node_modules/bower/bin/bower --allow-root install

@victorkl400
Copy link
Author

victorkl400 commented Aug 20, 2020

How can i do it ? I've checkout stable , develop and master branch all of those gave me the same 0.16.1 version.
What am i missing ?

I'm running in a Centos 7 , nodejs v10.22.0 , git version 1.8.3.1, Python 3.6.8

@victorkl400
Copy link
Author

Well , i realize that it runs perfectly on freepbx and osx (front-end).
But if i copy the working files and folders to my centos 7 (issabel) automatically gets 0.16.1 version.
have you experienced this before ? Seems to be something blocking , any thoughts?

@Mystic8b
Copy link

Mystic8b commented Feb 23, 2021

image
A year later, I pulled myself together and tried to run qpanel again as a service on freepbx15. And I got the same problem.
If you run app.py, everything is fine. But through wsgi, no. At the same time, everything worked on python2, as far as I remember.
i tried both stable and dev branch (i am on dev now)
Friends, please, what other options do I have?

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

3 participants