qpanel icon indicating copy to clipboard operation
qpanel copied to clipboard

Front-end not working properly

Open victorkl400 opened this issue 4 years ago • 5 comments

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 avatar Aug 12 '20 19:08 victorkl400

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

victorkl400 avatar Aug 12 '20 22:08 victorkl400

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

roramirez avatar Aug 18 '20 22:08 roramirez

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 avatar Aug 20 '20 01:08 victorkl400

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?

victorkl400 avatar Aug 20 '20 02:08 victorkl400

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?

Mystic8b avatar Feb 23 '21 15:02 Mystic8b