Улучшения: по производительности MySQL 8 значительно лучше чем 5.7
В нем используются новые форматы данных хранения файлов (переписана дисковая система) Physical files have been changed. For instance, *.frm, *.TRG, *.TRN, and *.par no longer exist.
День добрый, при попытке обновления (yum clean all && yum update) идет ошибка Cannot find a valid baseurl for repo: remi-php73 Лог ниже.
Обновляю вирт. bitrix-env
[root@portal yum.repos.d]# yum clean all && yum update Loaded plugins: etckeeper, fastestmirror, merge-conf Repository 'remi-php73' is missing name in configuration, using id Cleaning repos: base bitrix epel extras nodesource percona-release-noarch percona-release-x86_64 remi remi-php73 remi-php74 remi-safe updates zabbix : zabbix-non-supported Cleaning up everything Maybe you want: rm -rf /var/cache/yum, to also free up space taken by orphaned data from disabled or removed repos Loaded plugins: etckeeper, fastestmirror, merge-conf Repository 'remi-php73' is missing name in configuration, using id Determining fastest mirrors epel/x86_64/metalink | 31 kB 00:00:00
One of the configured repositories failed (Unknown), and yum doesn't have enough cached data to continue. At this point the only safe thing yum can do is fail. There are a few ways to work "fix" this:
1. Contact the upstream for the repository and get them to fix the problem.
2. Reconfigure the baseurl/etc. for the repository, to point to a working upstream. This is most often useful if you are using a newer distribution release than is supported by the repository (and the packages for the previous distribution release still work).
3. Run the command with the repository temporarily disabled yum --disablerepo=<repoid> ...
4. Disable the repository permanently, so yum won't use it by default. Yum will then just ignore the repository until you permanently enable it again or use --enablerepo for temporary usage:
yum-config-manager --disable <repoid> or subscription-manager repos --disable=<repoid>
5. Configure the failing repository to be skipped, if it is unavailable. Note that yum will try to contact the repo. when it runs most commands, so will have to try and fail each time (and thus. yum will be be much slower). If it is a very temporary problem though, this is often a nice compromise:
TASK [mysql : gathering facts about installed sites] *************************** fatal: [site.ru -> None]: FAILED! => {"changed": false, "module_stderr": "install_driver(mysql) failed: Can't load '/usr/lib64/perl5/vendor_perl/auto/DBD/mysql/mysql.so' for module DBD::mysql: libmysqlclient.so.18: cannot open shared object file: No such file or directory at /usr/lib64/perl5/DynaLoader.pm line 190.\n at (eval 417) line 3.\nCompilation failed in require at (eval 417) line 3.\nPerhaps a required shared library or dll isn't installed where expected\n at /opt/webdir/lib/bxSiteFiles.pm line 225.\n", "module_stdout": "", "msg": "MODULE FAILURE\nSee stdout/stderr for the exact error", "rc": 2} ...ignoring
после обновления веб окружения перестала работать почта на дефолтном сайте, который тут /home/bitrix/www/ зашел в меню в 6. configure pool sites - там пусто решил добавить - не добавляется, ошибку получаю
Скрытый текст
PLAY [bitrix-hosts] ************************************************************
TASK [Gathering Facts] ********************************************************* ok: [site.ru] included: /etc/ansible/inc_vars.yml for site.ru
TASK [web : include variables fr om mysql group] ******************************** ok: [site.ru]
TASK [web : include variables fr om web group] ********************************** ok: [site.ru]
TASK [web : include variables from temporary config] *************************** ok: [site.ru]
TASK [web : additional gathering facts] **************************************** ok: [site.ru] included: /etc/ansible/roles/web/tasks/create_kernel.yml for site.ru included: /etc/ansible/roles/web/tasks/inc_generate_site_vars.yml for site.ru
TASK [web : generate missing variables] **************************************** fatal: [site.ru -> None]: FAILED! => {"changed": false, "module_stderr": "Use of uninitialized value $val in substitution (s///) at /root/.ansible/tmp/ansible-tmp-1617253961.39-117578586192676/AnsiballZ_bx_generate_site_vars line 222, <$fh> line 1.\nUse of uninitialized value $val in substitution (s///) at /root/.ansible/tmp/ansible-tmp-1617253961.39-117578586192676/AnsiballZ_bx_generate_site_vars line 223, <$fh> line 1.\nUse of uninitialized value $val in substitution (s///) at /root/.ansible/tmp/ansible-tmp-1617253961.39-117578586192676/AnsiballZ_bx_generate_site_vars line 222, <$fh> line 1.\nUse of uninitialized value $val in substitution (s///) at /root/.ansible/tmp/ansible-tmp-1617253961.39-117578586192676/AnsiballZ_bx_generate_site_vars line 223, <$fh> line 1.\nUse of uninitialized value $val in substitution (s///) at /root/.ansible/tmp/ansible-tmp-1617253961.39-117578586192676/AnsiballZ_bx_generate_site_vars line 222, <$fh> line 1.\nUse of uninitialized value $val in substitution (s///) at /root/.ansible/tmp/ansible-tmp-1617253961.39-117578586192676/AnsiballZ_bx_generate_site_vars line 223, <$fh> line 1.\nUse of uninitialized value $val in substitution (s///) at /root/.ansible/tmp/ansible-tmp-1617253961.39-117578586192676/AnsiballZ_bx_generate_site_vars line 222, <$fh> line 1.\nUse of uninitialized value $val in substitution (s///) at /root/.ansible/tmp/ansible-tmp-1617253961.39-117578586192676/AnsiballZ_bx_generate_site_vars line 223, <$fh> line 1.\ninstall_driver(mysql) failed: Can't load '/usr/lib64/perl5/vendor_perl/auto/DBD/mysql/mysql.so' for module DBD::mysql: libmysqlclient.so.18: cannot open shared object file: No such file or directory at /usr/lib64/perl5/DynaLoader.pm line 190.\n at (eval 417) line 3.\nCompilation failed in require at (eval 417) line 3.\nPerhaps a required shared library or dll isn't installed wh ere expected\n at /opt/webdir/lib/bxSiteFiles.pm line 225.\n", "module_stdout": "", "msg": "MODULE FAILURE\nSee stdout/stderr for the exact error", "rc": 2}
NO MORE HOSTS LEFT ************************************************************* to retry, use: --lim it @/etc/ansible/web.retry
PLAY RECAP ********************************************************************* site.ru : ok=8 changed=0 unreachable=0 failed=1
[TypeError] call_user_func_array(): Argument #1 ($function) must be a valid callback, non-static method CUserTypeHlblock::GetUserTypeDescription() cannot be called statically (0) /home/bitrix/www/bitrix/modules/main/classes/general/module.php:480
Интересует вопрос, почему для пользователя bitrix используются UID /GID 600 ? Все UID / GID с 201 до 999, по умолчанию, являются системными. Это определяется в /etc/login.defs
Из-за того, что используется UID / GID 600, антивирусный сканер imunifyav игнорирует файлы сайтов принадлежащие пользователю bitrix.
Надеюсь информация будет полезна, если кто-то ещё решит попробовать этот сканер и столкнётся с этой проблемой.