Einen Überblick über das Administrationstool KeyHelp der Keyweb AG und dessen Download gibt es auf https://www.keyhelp.de

Dieses Forum soll es interessierten Benutzern ermöglichen, sich über KeyHelp auszutauschen und Hilfe bei Problemen zu finden.

Problems after installation on Ubuntu 18 [solved]  [SOLVED]

For questions and problems during the installation.
Antworten
lmarcos
Beiträge: 21
Registriert: So 26. Jan 2020, 12:55

Problems after installation on Ubuntu 18 [solved]

Beitrag von lmarcos » So 26. Jan 2020, 13:09

Hi,

I installed KH yesterday and when trying to use the tools links, I got a 404 error. There's no directory in var/lib for any of them, even though apparently I have an older version of Adminer than the one Keyhelp says it's installed. Would there be any problem if I installed directly getting the package from a repository?

Another issue I have is that the control panel is login me out of it quite frequently and much sooner than the time stated in the session time out? Could it be something in the php config? Values are default except for the ssh port, which I changed previous to installing keyhelp.

This is the output during installation
Bind9 ... [OKAY]
SSL/TLS ... [OKAY]
PHP ... [OKAY]
Apache web server ... [OKAY]
PHP-FPM ... [OKAY]
MariaDB ... [OKAY]
KeyHelp ... [OKAY]
Firewall ... [OKAY]
SSH ... [OKAY]
ProFTPD ... [OKAY]
Postfix ... [OKAY]
Dovecot ... [OKAY]
OpenDKIM ... [OKAY]
Email protection ... [OKAY]
AWStats ... [OKAY]
Fail2ban ... [OKAY]
Logrotate ... [OKAY]
PhpMyAdmin 4.9.1 ... [OKAY]
Adminer 4.7.4 ... [OKAY]
Roundcube 1.3.10 Multilanguage ... [OKAY]
Rainloop 1.13.0 (Community Edition) ... [OKAY]
Quota ... [OKAY]
Apparmor ... [OKAY]
7-zip ... [OKAY]
Hide LTS notice ... [OKAY]
Update message of the day ... [OKAY]
Nano ... [OKAY]
Curl ... [OKAY]
Cron daemon ... [OKAY]

This is what the control panel says regarding both tools
Administración de bases de datos Adminer 4.7.4
Webmail Rainloop 1.13.0

And this is what I see in the terminal
~$ apt-cache policy adminer
adminer:
Installed: (none)
Candidate: 4.6.2-1
Version table:
4.6.2-1 500

rainloop returns nothing.
Zuletzt geändert von lmarcos am Mo 27. Jan 2020, 17:44, insgesamt 1-mal geändert.
lmarcos
Beiträge: 21
Registriert: So 26. Jan 2020, 12:55

Re: Problems after installation on Ubuntu 18

Beitrag von lmarcos » Mo 27. Jan 2020, 10:21

More on the email issue.
netstat -lnpt | grep master
tcp 0 0 0.0.0.0:587 0.0.0.0:* LISTEN 31785/master

So it looks like postfix it's not listening to ports 25 and 465.

Dovecot is listening in all the ports it's supposed to be listening to.

What do you advise me to do? Wipe the server and start again from scratch or try reinstalling rainloop and adminer manually and see if that fixes the issues?
Benutzeravatar
Florian
Keyweb AG
Beiträge: 53
Registriert: Mi 20. Jan 2016, 02:28

Re: Problems after installation on Ubuntu 18

Beitrag von Florian » Mo 27. Jan 2020, 13:41

Hallo,

have you installed Keyhelp on a clean system? That means without any preinstalled services except SSH?

Adminer is not installed via apt-get. It is a package built by our Keyhelp maintainer.
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
**************************************************************
lmarcos
Beiträge: 21
Registriert: So 26. Jan 2020, 12:55

Re: Problems after installation on Ubuntu 18

Beitrag von lmarcos » Mo 27. Jan 2020, 16:39

Yes, I installed the Ubuntu mirror image on Hetzner, updated packages, created a second user besides root (tried to install it using the certificate, but that went wrong and I could only access with a password) and changed ssh port before installing Keyhelp.

So I added the ssh port in Keyhelp firewall page to be able to connect via putty/bitvise and started creating the additional user I need to create the email accounts. The I tried to access the webmail and found I couldn't. And then I checked adminer and the link didn't work.

I have adminer running in another server with a VestaCP, but that was installed separately, maybe not as a package, but maybe a wget.

Anyways, I don't know if the adminer 4.6 was installed via keyhelp or the Ubuntu mirror or why it's not the adminer version specified in the kh panel and it's not shown on the www folder.
Dateianhänge
firewall settings.png
control panel 2020-01-27 164431.png
Zuletzt geändert von lmarcos am Mo 27. Jan 2020, 17:00, insgesamt 1-mal geändert.
Benutzeravatar
Florian
Keyweb AG
Beiträge: 53
Registriert: Mi 20. Jan 2016, 02:28

Re: Problems after installation on Ubuntu 18

Beitrag von Florian » Mo 27. Jan 2020, 16:59

Hello,

if you run apt-cache policy adminer you see the version that is offered by the OS.

But the adminer that is used by Keyhelp is NOT installed by OS packages. It is a version that was built by our maintainers so the version differs to the one that is offered by the OS.

It is the same with PHPmyAdmin, Rainloop and Roundcube.
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
**************************************************************
lmarcos
Beiträge: 21
Registriert: So 26. Jan 2020, 12:55

Re: Problems after installation on Ubuntu 18

Beitrag von lmarcos » Mo 27. Jan 2020, 17:02

lmarcos hat geschrieben:
So 26. Jan 2020, 13:09
And this is what I see in the terminal
~$ apt-cache policy adminer
adminer:
Installed: (none)
Candidate: 4.6.2-1
Version table:
4.6.2-1 500
But adminer is not showing in the www folder of the domain as it does on my other server.
Benutzeravatar
Martin
Keyweb AG
Beiträge: 848
Registriert: Mi 20. Jan 2016, 00:43

Re: Problems after installation on Ubuntu 18

Beitrag von Martin » Mo 27. Jan 2020, 17:07

Hello,

in order to correctly install KeyHelp, the server itself must contain a clean installation. It must not contain any other packages other than SSH and Ubuntu base installation.
Adminer itself will be installed within /home/keyhelp/www/ and can be selected within KeyHelp as database administration tool.
Mit freundlichen Grüßen / Best regards
Martin Dannehl

**************************************************************
Keyweb AG - Die Hosting Marke
Neuwerkstr. 45/46, 99084 Erfurt / Germany
http://www.keyweb.de - http://www.keyhelp.de
**************************************************************
lmarcos
Beiträge: 21
Registriert: So 26. Jan 2020, 12:55

Re: Problems after installation on Ubuntu 18

Beitrag von lmarcos » Mo 27. Jan 2020, 17:14

Both, rainloop and adminer are there, but the redirection isn't working. I changed the url in config, settings, though. Can it be that this is the thing that is not working?
Benutzeravatar
Martin
Keyweb AG
Beiträge: 848
Registriert: Mi 20. Jan 2016, 00:43

Re: Problems after installation on Ubuntu 18  [SOLVED]

Beitrag von Martin » Mo 27. Jan 2020, 17:17

Hello,

when you change the URL, you must ensure that there is software behind on the new URL. Changing the URL is a feature that you allow to link your own software for your customers.

KeyHelp delivered software will work with the default URL.
Mit freundlichen Grüßen / Best regards
Martin Dannehl

**************************************************************
Keyweb AG - Die Hosting Marke
Neuwerkstr. 45/46, 99084 Erfurt / Germany
http://www.keyweb.de - http://www.keyhelp.de
**************************************************************
lmarcos
Beiträge: 21
Registriert: So 26. Jan 2020, 12:55

Re: Problems after installation on Ubuntu 18

Beitrag von lmarcos » Mo 27. Jan 2020, 17:19

Ok. I guess that means I have to wipe out the server and reinstall Ubuntu and Keyhelp.
lmarcos
Beiträge: 21
Registriert: So 26. Jan 2020, 12:55

Re: Problems after installation on Ubuntu 18

Beitrag von lmarcos » Mo 27. Jan 2020, 17:22

I changed now successfully adminer url.

But the ports for email I can't see how to solve.
Benutzeravatar
Martin
Keyweb AG
Beiträge: 848
Registriert: Mi 20. Jan 2016, 00:43

Re: Problems after installation on Ubuntu 18

Beitrag von Martin » Mo 27. Jan 2020, 17:25

Hello,

when install is successful, Postfix should listen on 25 and 587. Listening on 465 is not enabled by default (as this is deprecated).
Mit freundlichen Grüßen / Best regards
Martin Dannehl

**************************************************************
Keyweb AG - Die Hosting Marke
Neuwerkstr. 45/46, 99084 Erfurt / Germany
http://www.keyweb.de - http://www.keyhelp.de
**************************************************************
lmarcos
Beiträge: 21
Registriert: So 26. Jan 2020, 12:55

Re: Problems after installation on Ubuntu 18

Beitrag von lmarcos » Mo 27. Jan 2020, 17:36

Ok. Except for port 25 is working now. The problem lies in the text in the spanish version of KH
Cambiar esto puede ser útil si ha instalado su propia instancia de esta herramienta y desea que la dirección URL apunte a esta ubicación.
This means that changing this might be useful if you have install your own instance.

It should say instead.
No cambie esta URL a menos que haya instalado su propia instancia de esta herramienta y desea que la dirección URL apunte a esta ubicación.
Do not change this URL unless you have installed your own instance of this tool...

In case that helps improve Keyhelp :D
Antworten

Wer ist online?

Mitglieder in diesem Forum: 0 Mitglieder und 1 Gast