[ZBX-20314] One click Zabbix server deployment doesn't work for DigitalOcean Created: 2021 Dec 03 Updated: 2023 Nov 06 Resolved: 2023 Nov 06 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | None |
Affects Version/s: | None |
Fix Version/s: | None |
Type: | Incident report | Priority: | Trivial |
Reporter: | Oleg Ivanivskyi | Assignee: | Aleksandre Sebiskveradze |
Resolution: | Unsupported version | Votes: | 0 |
Labels: | None | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified | ||
Environment: |
"Basic" DigitalOcean plan / Zabbix server 5.0.6 |
Description |
Steps to reproduce:
Result: 5339:20211203:212343.039 using configuration file: /etc/zabbix/zabbix_server.conf 5339:20211203:212343.047 cannot use database "zabbix": its "users" table is empty (is this the Zabbix proxy database?) Frontend error: Database error Unable to determine current Zabbix database version: the table "dbversion" was not found. Expected: |
Comments |
Comment by Alexey Pustovalov [ 2021 Dec 04 ] |
Could you try more powerful droplet? |
Comment by Oleg Ivanivskyi [ 2021 Dec 04 ] |
Thanks for the prompt reply. DB schema was populated for the bigger droplet (1CPU/2GB/10$). It would be great to have a note, that 1CPU/1GB/5$ droplet isn't supported. Also, I found several other issues with the droplet's default message: Zabbix frontend credentials: Username: Admin Password: replace_password To learn about available professional services, including technical suppport and training, please visit https://www.zabbix.com/services Official Zabbix documentation available at https://www.zabbix.com/documentation/current/ Note! Do not forget to change timezone PHP variable in /etc/php.d/99-zabbix.ini file. 1. "Admin / replace_password" Frontend credentials doesn't work |
Comment by Alexey Pustovalov [ 2021 Dec 04 ] |
Please wait a bit longer. It must appear. Regarding the second issue, agreed. The correct file is /etc/php-fpm.d/zabbix.conf. Will be fixed soon. Thank you! |
Comment by Oleg Ivanivskyi [ 2021 Dec 05 ] |
Redeployed DO droplet with Zabbix "one-click installation". The credentials still don't work even after several hours. The md5 hash looks wrong: mysql> select userid,alias,passwd from users where alias = 'Admin'; +--------+-------+----------------------------------+ | userid | alias | passwd | +--------+-------+----------------------------------+ | 1 | Admin | 58abd30f8084d7483e6a3c1fbd3a96c0 | +--------+-------+----------------------------------+ Should it be "cd2025c61a8c7f625c583ea689f4492c" for "replace_password" password? Is it possible that deployment script generate a random Admin password? |
Comment by Alexey Pustovalov [ 2021 Dec 06 ] |
Please attach /var/log/cloudinit-output.log. |
Comment by Edgar Akhmetshin [ 2021 Dec 10 ] |
Why not use ZRAM technology for images? Fedora 35 for example has limitation for the installer with 512MB RAM and to be able to work ZRAM is used: Upstream package: Also https://www.zabbix.com/documentation/current/en/manual/installation/requirements:
Here is example from local VM: [root@ws]# free -m total used free shared buff/cache available Mem: 1954 173 1165 3 615 1753 Swap: 1953 0 1953 [root@ws]# swapon -s Filename Type Size Used Priority /dev/zram0 partition 2000892 0 100 To test just mount tmpfs with size to exceed limits: mount -t tmpfs -o size=3072M tmpfs /mnt/tmp dd if=/dev/sda of /mnt/tmp bs=1M count=2944 oflag=direct |