Category: Simple about IT

Correct file permissions for WordPress

What permissions should I have for the following: root folder storing all the WordPress content wp-admin wp-content wp-includes and then all the files in each of those folders?

Continue reading

TypeError: Argument 1 passed to Carbon\CarbonInterval::setLocalTranslator()

You may encounter the following error after updating through WHMCS v8.0:

Continue reading

PowerShell List Memory Usage by IIS Application Pools

If you need quick overview on RAM usage of you IIS application pools you can use the following Powershell command to retrieve the information:

Continue reading

Zabbix Agent: Active vs. Passive Modes

When it comes to Zabbix agent modes, there is a choice between the active and the passive modes. Each time new items or hosts are added in the front end, you need to choose the item type. This is mandatory as the item type determines how the item will work and collect data. For the Zabbix agent, there is …

Continue reading

Laravel Relation “Attempt to read property on null”

It usually means that the related record is NULL or soft-deleted. There are multiple ways to gracefully handle such a situation, without showing the error to the user. A practical example would be a list of Posts with belongs To relation to Categories. Migration file for Posts:

Continue reading

Cloudmin passthrough CPU information to VM

qemu-pass-cpu-info-to-vm

I have Rocket Chat in VM hosted in Cloudmin that relies on qemu. When I tried to update Rocket Chat to the latest version I got the following error: Your cpu does not support avx or avx2 instructions, which is required to run mongo 5.x, shipped with the next version of this snap.

Continue reading

MariaDB fails to start: Aria engine is not enabled or did not start

After low space condition once happened on a server MariaDB failed to start with :

In /var/log/messages:

Continue reading

Clean and reduce size of Zabbix database

zabbix-reduce-database-size

After some time you may find that you Zabbix database become enormously big and consumes significant amount of disk space. Among really usefull data there is data that may be cleaned up and optimized in Zabbix database in order to reduce size of Zabbix database.

Continue reading

Vicidial access forbidden to the recordings folder

Vicidial-access-forbidden

I got this upon trying to download call recording in Vicidial on the lead’s page. I have Vicibox 11 installed in virtual machine on Cloudmin with Vicidial VERSION: 2.14-899a BUILD: 231109-2027

Continue reading

Difference between BACPAC and DACPAC

A data-tier application (DAC) is a self-contained unit of MS SQL Server database deployment that allows packing SQL Server objects into a portable artifact called a DAC package. It is also known as a DACPAC. BACPAC is simple to export a SQL Server database which will eventually require import to another server or even for …

Continue reading

Load more