Reinstall Problem [SOLVED]
Reinstall Problem
Hello
I wanted to re-install the KeyHelp , so i put the command into my vps
wget https://install.keyhelp.de/get_keyhelp.php -O install_keyhelp.sh ; bash install_keyhelp.sh ;
But then i forgot that i have forgot to save some Databases so i cancaled the Installation , and now i cant connect the panel via https it shows me
Forbidden
You don't have permission to access this resource.
Anyone know how to fix the problem ?
Warm Regards
Martin
I wanted to re-install the KeyHelp , so i put the command into my vps
wget https://install.keyhelp.de/get_keyhelp.php -O install_keyhelp.sh ; bash install_keyhelp.sh ;
But then i forgot that i have forgot to save some Databases so i cancaled the Installation , and now i cant connect the panel via https it shows me
Forbidden
You don't have permission to access this resource.
Anyone know how to fix the problem ?
Warm Regards
Martin
Re: Reinstall Problem
Hello
My advice:
1) Do the database dumps from the console with the mysqldump command.
2) Store the dumps somewhere (not on the server)
3) Reset the server to a clean state
4) Install KeyHelp
5) Create the client accounts you like
6) Import the database dumps.
My advice:
1) Do the database dumps from the console with the mysqldump command.
2) Store the dumps somewhere (not on the server)
3) Reset the server to a clean state
4) Install KeyHelp
5) Create the client accounts you like
6) Import the database dumps.
Mit freundlichen Grüßen / Best regards
Alexander Mahr
**************************************************************
Keyweb AG - Die Hosting Marke
Neuwerkstr. 45/46, 99084 Erfurt / Germany
http://www.keyweb.de - http://www.keyhelp.de
**************************************************************
Alexander Mahr
**************************************************************
Keyweb AG - Die Hosting Marke
Neuwerkstr. 45/46, 99084 Erfurt / Germany
http://www.keyweb.de - http://www.keyhelp.de
**************************************************************
Re: Reinstall Problem
HelloAlexander wrote: ↑Thu 15. Dec 2022, 09:55 Hello
My advice:
1) Do the database dumps from the console with the mysqldump command.
2) Store the dumps somewhere (not on the server)
3) Reset the server to a clean state
4) Install KeyHelp
5) Create the client accounts you like
6) Import the database dumps.
Thank you for your answer , is there any way to recover the admin login because i didnt re-installed the server i just puted the command into vm then i cancaled but for some reason the admin login its not working ?
Warm Regards
Re: Reinstall Problem
Mit freundlichen Grüßen / Best regards
Florian Cheno
**************************************************************
Keyweb AG - Die Hosting Marke
Neuwerkstr. 45/46, 99084 Erfurt / Germany
http://www.keyweb.de - http://www.keyhelp.de
**************************************************************
Florian Cheno
**************************************************************
Keyweb AG - Die Hosting Marke
Neuwerkstr. 45/46, 99084 Erfurt / Germany
http://www.keyweb.de - http://www.keyhelp.de
**************************************************************
Re: Reinstall Problem
HelloFlorian wrote: ↑Thu 15. Dec 2022, 15:41 Hallo,
execute
That provides you with a login URLCode: Select all
keyhelp login
I did that but i got this
root@go:~# keyhelp login
-bash: /usr/bin/keyhelp: Permission denied
root@go:~#
Also i checked permissions and are 777 all
Re: Reinstall Problem
What is the output of these commands:
Code: Select all
ls -la /home/keyhelp/
ls -la /home/keyhelp/www/
ls -la /home/keyhelp/www/keyhelp/
Mit freundlichen Grüßen / Best regards
Alexander Mahr
**************************************************************
Keyweb AG - Die Hosting Marke
Neuwerkstr. 45/46, 99084 Erfurt / Germany
http://www.keyweb.de - http://www.keyhelp.de
**************************************************************
Alexander Mahr
**************************************************************
Keyweb AG - Die Hosting Marke
Neuwerkstr. 45/46, 99084 Erfurt / Germany
http://www.keyweb.de - http://www.keyhelp.de
**************************************************************
Re: Reinstall Problem
Alexander wrote: ↑Thu 15. Dec 2022, 17:11 What is the output of these commands:
Code: Select all
ls -la /home/keyhelp/ ls -la /home/keyhelp/www/ ls -la /home/keyhelp/www/keyhelp/
Code: Select all
root@go:~# ls -la /home/keyhelp/
total 24
drwxr-x--- 6 keyhelp keyhelp 4096 Nov 18 00:00 .
drwxr-xr-x 4 root root 4096 Nov 20 00:55 ..
drwxr-xr-x 3 keyhelp keyhelp 4096 Nov 17 14:42 .config
drwx------ 3 keyhelp keyhelp 4096 Nov 18 00:00 keyhelp.backup
drwxr-xr-x 2 keyhelp keyhelp 4096 Dec 15 17:11 .lock
drwxr-xr-x 10 keyhelp keyhelp 4096 Nov 17 14:45 www
Code: Select all
root@go:~# ls -la /home/keyhelp/www/
total 40
drwxr-xr-x 10 keyhelp keyhelp 4096 Nov 17 14:45 .
drwxr-x--- 6 keyhelp keyhelp 4096 Nov 18 00:00 ..
drwxr-xr-x 6 keyhelp keyhelp 4096 Nov 17 14:39 adminer
lrwxrwxrwx 1 keyhelp keyhelp 10 Nov 17 14:34 db-administration -> phpmyadmin
drwxr-xr-x 15 keyhelp keyhelp 4096 Aug 17 10:26 keyhelp
drwxr-xr-x 3 keyhelp keyhelp 4096 Nov 17 14:45 keyhelp.white_label
drwxr-xr-x 5 keyhelp keyhelp 4096 Dec 15 00:01 kh.webstats
drwxr-xr-x 12 keyhelp keyhelp 4096 Nov 20 01:39 phpmyadmin
drwxr-xr-x 4 keyhelp keyhelp 4096 Nov 17 14:39 rainloop
drwxr-xr-x 13 keyhelp keyhelp 4096 Nov 17 14:39 roundcube
lrwxrwxrwx 1 keyhelp keyhelp 9 Nov 17 14:34 webmail -> roundcube
drwxr-xr-x 3 keyhelp keyhelp 4096 Nov 17 14:41 .well-known
Code: Select all
root@go:~# ls -la /home/keyhelp/www/keyhelp/
total 132
drwxr-xr-x 15 keyhelp keyhelp 4096 Aug 17 10:26 .
drwxr-xr-x 10 keyhelp keyhelp 4096 Nov 17 14:45 ..
-rw-r--r-- 1 keyhelp keyhelp 3185 Jun 3 2022 ajax.php
drwxr-xr-x 2 keyhelp keyhelp 4096 Apr 1 2022 api
drwxr-xr-x 2 keyhelp keyhelp 4096 Apr 7 2022 bin
drwxr-xr-x 3 keyhelp keyhelp 4096 Sep 7 17:07 cache
drwxr-xr-x 44 keyhelp keyhelp 4096 Sep 7 17:07 core
drwxr-xr-x 4 keyhelp keyhelp 4096 Oct 14 2021 cronjob
drwxr-xr-x 2 keyhelp keyhelp 4096 Oct 14 2021 functions
-rw-r--r-- 1 keyhelp keyhelp 60745 Aug 5 14:04 index.php
drwxr-xr-x 2 keyhelp keyhelp 4096 Oct 14 2021 init
drwxr-xr-x 5 keyhelp keyhelp 4096 Oct 14 2021 install
-rw-r--r-- 1 keyhelp keyhelp 369 Oct 14 2021 license.txt
drwxr-xr-x 20 keyhelp keyhelp 4096 Sep 7 17:07 locale
drwxr-xr-x 6 keyhelp keyhelp 4096 Oct 14 2021 misc
drwxr-xr-x 2 keyhelp keyhelp 4096 Aug 10 15:25 pages
-rw-r--r-- 1 keyhelp keyhelp 25 Oct 14 2021 robots.txt
drwxr-xr-x 3 keyhelp keyhelp 4096 Sep 7 17:07 theme
drwxr-xr-x 15 keyhelp keyhelp 4096 Sep 7 17:07 vendor
Re: Reinstall Problem [SOLVED]
This should allow access to the Control-Panel
Just to check, what about these commands?
Code: Select all
chown keyhelp:www-data /home/keyhelp/
Just to check, what about these commands?
Code: Select all
ls -la /usr/bin/keyhelp
ls -la /home/keyhelp/www/keyhelp/bin/
Mit freundlichen Grüßen / Best regards
Alexander Mahr
**************************************************************
Keyweb AG - Die Hosting Marke
Neuwerkstr. 45/46, 99084 Erfurt / Germany
http://www.keyweb.de - http://www.keyhelp.de
**************************************************************
Alexander Mahr
**************************************************************
Keyweb AG - Die Hosting Marke
Neuwerkstr. 45/46, 99084 Erfurt / Germany
http://www.keyweb.de - http://www.keyhelp.de
**************************************************************
Re: Reinstall Problem
WorkedAlexander wrote: ↑Thu 15. Dec 2022, 17:16 This should allow access to the Control-Panel
Code: Select all
chown keyhelp:www-data /home/keyhelp/
I thank you so much for your time sir.
Warm Regards
Martin