Known issues

There are few known issues, some partially related to the project itself (to be solved at some point).

Php xml extension

note

This might happen when trying to install packages from composer

  • Follow this guide
    • or simply call this commands:
      • sudo apt-get install php-xml
      • sudo service apache2 restart

Php Apcu extension

note

This might happen when trying to rebuild the cache via ache:clear and cache:warmup

  • Call this commands:
  • sudo apt install php-apcu,
  • sudo nano /etc/php/7.4/mods-available/apcu.ini

Now this should be the content of the apcu.ini, and if it's not then add it to the file:

extension=apcu.so
apc.enabled=1
apc.write_lock=1
apc.shm_size=100M
apc.slam_defense=0apc.enable_cli=1
  • now call sudo service apache2 restart

Can't login/sql_mode

note

You might be unable to login (without any errors - due to debugging off), but You need to turn off full_group_by. You need to turn it off anyway otherwise sqls in repositories won't work and dashboard will crash.

  • Follow this guide
    • or shortly, follow this information:
      • edit my.cnf
      • If on the end there is no section [mysqld] then add it and below add what they write, for example it might be:
      • sql_mode=STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION
  • Restart MySQL server sudo service mysql restart

Access denied

note

Might happen when running schema update. You need to create new user and give him full privileges.

  • Follow this guide
    • Or simply call this SQLs:
      • CREATE USER 'newuser'@'localhost' IDENTIFIED BY 'user_password'
      • GRANT ALL PRIVILEGES ON database_name.* TO 'database_user'@'localhost'
  • Add created user/password to the .env