image 16 - DadaMail Error: SQL Server Connection

DadaMail Error: SQL Server Connection

After installing DadaMail via Softaculous auto-installer on cPanel the application is not accessible: DadaMail application error log file can be found at as discussed here grep errors.txt cgi-bin/APPLICATION_FOLDER/DADA/Config.pm Inside that error...

drupal - How to check Drupal version from the terminal

How to check Drupal version from the terminal

First go into your application folder and check the following files:

Drupal 8 & Drupal 9

grep VERSION core/lib/Drupal.php

Drupal 7

grep VERSION includes/bootstrap.inc

Drupal 6 and older

grep VERSION modules/system/system.module

cloudlflare zapisi - Migrating DNS records from Cloudflare to cPanel

Migrating DNS records from Cloudflare to cPanel

Both Cloudflare and cpanel store DNS zones in standard BIND files. When moving a DNS zone from cPanel to Cloudflare, Cloudflare checks and inserts DNS entries automatically. But, when transferring DNS from Cloudflare to cPanel we must manually add...

postgre db backup script - Postgres DB backup script

Postgres DB backup script

To export a postgres database We use the pg_dump command: pg_dump -U postgres -v DATABASE -f FILENAME.sql And to import it back we use psql: psql -U postgres -W -d "FILENAME.sql" < FILENAME.sql Now that we know these commands We can easily create a...

image 27 - List all cronjobs for all cPanel users

List all cronjobs for all cPanel users

To list all cronjobs for all users on a cPanel server use the following command for user in $(cut -f1 -d: /etc/passwd); do crontab -u $user -l; done or: cat /var/spool/cron/* To list cronjobs for a single user, navigate to /var/spool and view the...