We are happy to announce that Vesta is back under active development as of 25 February 2024. We are working on v1 candidate and expect to engage more with the community over the coming months. We are committed to open source, and we encourage contributors to help us build the future of Vesta.
Login and redirect problem
-
- Collaborator
- Posts: 783
- Joined: Mon May 11, 2015 8:43 am
- Contact:
- Os: CentOS 6x
- Web: apache + nginx
Re: Login and redirect problem
hmm that's good. I don't have an instant solution to your problem. (I have not seen this before). I will later try to find a solution.
You can try this again: viewtopic.php?f=16&t=7063
You can try this again: viewtopic.php?f=16&t=7063
Re: Login and redirect problem
I just tried the fix on that thread again to no avail. I do appreciate any solution you can come up with
Michael
Michael
-
- Collaborator
- Posts: 783
- Joined: Mon May 11, 2015 8:43 am
- Contact:
- Os: CentOS 6x
- Web: apache + nginx
Re: Login and redirect problem
mbsmi wrote:I just tried the fix on that thread again to no avail. I do appreciate any solution you can come up with
Michael
I found it!! There is an ',' missing after "VERSION": "0.9.8"
Code: Select all
{
"config": {
"WEB_SYSTEM": "apache2",
"WEB_RGROUPS": "www-data",
"WEB_PORT": "8080",
"WEB_SSL": "mod_ssl",
"WEB_SSL_PORT": "8443",
"PROXY_SYSTEM": "nginx",
"PROXY_PORT": "80",
"PROXY_SSL_PORT": "443",
"FTP_SYSTEM": "vsftpd",
"MAIL_SYSTEM": "",
"IMAP_SYSTEM": "dovecot",
"ANTIVIRUS_SYSTEM": "",
"ANTISPAM_SYSTEM": "",
"DB_SYSTEM": "mysql",
"DNS_SYSTEM": "bind9",
"STATS_SYSTEM": "webalizer,awstats",
"BACKUP_SYSTEM": "local",
"CRON_SYSTEM": "cron",
"DISK_QUOTA": "no",
"FIREWALL_SYSTEM": "iptables",
"FIREWALL_EXTENSION": "fail2ban",
"REPOSITORY": "cmmnt",
"VERSION": "0.9.8"
"LANGUAGE": "en"
}
}
can you show run?:
Code: Select all
cat /usr/local/vesta/conf/vesta.conf
Re: Login and redirect problem
This is what I get:tjebbeke wrote: can you show run?:Code: Select all
cat /usr/local/vesta/conf/vesta.conf
Code: Select all
WEB_SYSTEM='apache2'
WEB_RGROUPS='www-data'
WEB_PORT='8080'
WEB_SSL='mod_ssl'
WEB_SSL_PORT='8443'
PROXY_SYSTEM='nginx'
PROXY_PORT='80'
PROXY_SSL_PORT='443'
FTP_SYSTEM='vsftpd'
MAIL_SYSTEM=''
IMAP_SYSTEM='dovecot'
ANTIVIRUS_SYSTEM=''
ANTISPAM_SYSTEM=''
DB_SYSTEM='mysql'
DNS_SYSTEM='bind9'
STATS_SYSTEM='webalizer,awstats'
BACKUP_SYSTEM='local'
CRON_SYSTEM='cron'
DISK_QUOTA='no'
FIREWALL_SYSTEM='iptables'
FIREWALL_EXTENSION='fail2ban'
REPOSITORY='cmmnt'
VERSION='0.9.8'
-
- Collaborator
- Posts: 783
- Joined: Mon May 11, 2015 8:43 am
- Contact:
- Os: CentOS 6x
- Web: apache + nginx
Re: Login and redirect problem
If I use your config it works. Can you verify that each parameter is really on a new line?
Re: Login and redirect problem
Yes everything is on it's own line.
Michael
Michael
Re: Login and redirect problem
same problem, i tried allready:
I have space enough
also did
This is my nginx-error.log:
v-list-sys-config json:
Code: Select all
mkdir /etc/sudoers.d
/usr/local/vesta/upd/add_sudo.sh
chmod 0440 /etc/sudoers
chown root:root /etc/sudoers
chmod 0440 /etc/sudoers.d/admin
chown root:root /etc/sudoers.d/admin
chown root:root /usr/bin/sudo
chmod 4755 /usr/bin/sudo
also did
Code: Select all
mkdir /etc/sudoers.d
/usr/local/vesta/upd/add_sudo.sh
Code: Select all
2017/01/22 15:23:58 [error] 2009#0: *2 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 84.197.240.240.232, server: _, request: "GET /list/user/ HTTP/1.1", upstream: "fastcgi://unix:/var/run/vesta-php.sock", host: "185.110.172.52:8083"
Code: Select all
"config": {
"WEB_SYSTEM": "apache2",
"WEB_RGROUPS": "www-data",
"WEB_PORT": "80",
"WEB_SSL": "mod_ssl",
"WEB_SSL_PORT": "443",
"WEB_BACKEND": "",
"PROXY_SYSTEM": "",
"PROXY_PORT": "",
"PROXY_SSL_PORT": "",
"FTP_SYSTEM": "vsftpd",
"MAIL_SYSTEM": "exim4",
"IMAP_SYSTEM": "dovecot",
"ANTIVIRUS_SYSTEM": "clamav-daemon",
"ANTISPAM_SYSTEM": "spamassassin",
"DB_SYSTEM": "mysql",
"DNS_SYSTEM": "bind9",
"DNS_CLUSTER": "",
"STATS_SYSTEM": "webalizer,awstats",
"BACKUP_SYSTEM": "local",
"CRON_SYSTEM": "cron",
"DISK_QUOTA": "",
"FIREWALL_SYSTEM": "iptables",
"FIREWALL_EXTENSION": "fail2ban",
"FILEMANAGER_KEY": "",
"SFTPJAIL_KEY": "",
"REPOSITORY": "",
"VERSION": "0.9.8",
"LANGUAGE": "en",
"BACKUP_GZIP": "",
"BACKUP": "",
"MAIL_URL": "",
"DB_PMA_URL": "",
"DB_PGA_URL": ""
}
}
Re: Login and redirect problem
I am getting the same error:
I can't login
I have tried everything in every post i could find about not be able to login.
I have done all the Sudo steps.
I have enough space.
json config
I dont know what to do. I am about to try to restore from an older back up
I can't login
I have tried everything in every post i could find about not be able to login.
I have done all the Sudo steps.
I have enough space.
json config
Code: Select all
{
"config": {
"WEB_SYSTEM": "apache2",
"WEB_RGROUPS": "www-data",
"WEB_PORT": "8080",
"WEB_SSL": "mod_ssl",
"WEB_SSL_PORT": "8443",
"WEB_BACKEND": "",
"PROXY_SYSTEM": "nginx",
"PROXY_PORT": "80",
"PROXY_SSL_PORT": "443",
"FTP_SYSTEM": "vsftpd",
"MAIL_SYSTEM": "exim4",
"IMAP_SYSTEM": "dovecot",
"ANTIVIRUS_SYSTEM": "",
"ANTISPAM_SYSTEM": "",
"DB_SYSTEM": "mysql",
"DNS_SYSTEM": "bind9",
"DNS_CLUSTER": "",
"STATS_SYSTEM": "webalizer,awstats",
"BACKUP_SYSTEM": "local",
"CRON_SYSTEM": "cron",
"DISK_QUOTA": "no",
"FIREWALL_SYSTEM": "iptables",
"FIREWALL_EXTENSION": "fail2ban",
"FILEMANAGER_KEY": "",
"SFTPJAIL_KEY": "",
"REPOSITORY": "cmmnt",
"VERSION": "0.9.8",
"LANGUAGE": "en",
"BACKUP_GZIP": "",
"BACKUP": "",
"MAIL_URL": "",
"DB_PMA_URL": "",
"DB_PGA_URL": ""
}
}
Re: Login and redirect problem
Code: Select all
chmod 777 /tmp
Re: Login and redirect problem
Well, about sudo problem. We think this file /etc/sudoers.d/admin don't have code:
If you paste this, all will work (as we hope)
Code: Select all
# Created by vesta installer
Defaults env_keep="VESTA"
Defaults:admin !syslog
Defaults:admin !requiretty
Defaults:root !requiretty