Comments (18)
Hi,
check whether the database was created properly and the table users is have defaults logins
from roxy-wi.
i had only error when install.sh, near
insert into cred('enable','username','password') values ('1', 'root','password');
in haproxy-wi.db.sql file, so i just create it manually, changed it to
insert into cred(enable,username,password) values ('1', 'root','password');
and error gone
from roxy-wi.
ou ) I'm forgot update that file ) thank you
Share your impressions after using
from roxy-wi.
same error, 500 http://server:8080/app/login.py?login=admin&pass=admin
and in error log
[Mon Sep 03 15:43:48.789879 2018] [cgi:error] [pid 17038:tid 140568533346048] [client 10.10.10.10:54826] AH01215: Traceback (most recent call last):: /var/www/haproxy-wi/app/login.py, referer: http://server:8080/app/login.py?ref=/app/overview.py
[Mon Sep 03 15:43:48.789974 2018] [cgi:error] [pid 17038:tid 140568533346048] [client 10.10.10.10:54826] AH01215: File "/var/www/haproxy-wi/app/login.py", line 68, in <module>: /var/www/haproxy-wi/app/login.py, referer: http://server:8080/app/login.py?ref=/app/overview.py
[Mon Sep 03 15:43:48.789997 2018] [cgi:error] [pid 17038:tid 140568533346048] [client 10.10.10.10:54826] AH01215: if login in users[1] and password == users[3]:: /var/www/haproxy-wi/app/login.py, referer: http://server:8080/app/login.py?ref=/app/overview.py
[Mon Sep 03 15:43:48.790024 2018] [cgi:error] [pid 17038:tid 140568533346048] [client 10.10.10.10:54826] AH01215: TypeError: a bytes-like object is required, not 'str': /var/www/haproxy-wi/app/login.py, referer: http://server:8080/app/login.py?ref=/app/overview.py
[Mon Sep 03 15:43:48.821473 2018] [cgi:error] [pid 17038:tid 140568533346048] [client 10.10.10.10:54826] End of script output before headers: login.py, referer: http://server:8080/app/login.py?ref=/app/overview.py
from roxy-wi.
you solved this problem and again?
from roxy-wi.
Nope, i did not. I mean, that error on installing gone, but 500 still. so i just did clean install.sh, you have errors in create_db.py
<div class="alert alert-danger">
An error occurred: 1062 (23000): Duplicate entry 'admin' for key 'username'
</div>
An error occurred: 1062 (23000): Duplicate entry 'time_zone' for key 'param'
An error occurred: 1060 (42S21): Duplicate column name 'port'
but w\e, i executed haproxy-wi.db.sql (haproxy-wi.db.sql:5 you forgot a comma), its done successful, but
when i tryin to login i still get 500 error.
from roxy-wi.
from roxy-wi.
and all tables
and config file
from roxy-wi.
I'm updated repo, try update and recreate DB
from roxy-wi.
Same. Maybe its problem in version python? I have
(Python 2.7.13 (default, Nov 24 2017, 17:33:09))
from roxy-wi.
from roxy-wi.
Python 3.5.3 (default, Jan 19 2017, 14:11:04)
На самой базе селекты выполняются нормально, мне кажется проблема не в бд
from roxy-wi.
Кажется нашел в чем причина, посмотри сколько полей в таблице uuid? Если два то сделай
ALTER TABLE `uuid` ADD COLUMN `exp` DATETIME default '0000-00-00 00:00:00';
from roxy-wi.
ну как, помогло?
from roxy-wi.
нет, с таблицой все нормально
from roxy-wi.
A js включаен, jqury нормально подгружается?
Хотя они тут не причем сейчас, если даже не открывается страница...
from roxy-wi.
в итоге поставил скуль и приложение на одном сервере, полет нормальный.
from roxy-wi.
from roxy-wi.
Related Issues (20)
- Fresh manual install cannot login HOT 16
- Remote command execution due to poor parameter filtering HOT 2
- Authenticated SQLi HOT 1
- Установка roxy-wi под Debian 11.6 ошибка авторизации HOT 1
- debian/ubuntu: lorotate config conflict. HOT 2
- Fresh manual install on Centos 7. Admin login fails with no error HOT 2
- i am clinically insane HOT 1
- Letsencrypt pem generation failed HOT 5
- Error on manual install step sudo ./create_db.py HOT 6
- LDAP Authentication HOT 6
- 500 Internal server error CentOS 7 HOT 14
- Letsencrypt with multiple domain in one certificate HOT 5
- ed25519 support HOT 4
- URL rewrite needs updated on HAProxy > Overview > Backends HOT 1
- Managing local server haproxy but SSH login fails HOT 2
- HAProxy log files not rotated HOT 2
- Installed Roxy-wi does not work when accessing web console. HOT 1
- Change language to not use master and slave HOT 1
- Emojis in config files seem to cause problems HOT 5
- New install, trying to save SSH Cred: Missing dependency PyNaCl HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from roxy-wi.