VTiger

Common Troubleshooting Procedures with VtigerCRM

HOW TO SET A CRON JOB AFTER VTIGER INSTALLATION

===========================================================

HOW TO RESOLVE SYNTAX ERROR AND EMPTY  WORKFLOW PAGE AFTER VTIGER INSTALLATION

 
 
 
 
Common Troubleshooting Procedures with VtigerCRM.docx

CREATING A VTIGER INSTANCE ON PROXMOX

 

 
  1. Log on the proxmox server via putty
  2. Gain root rights: sudo -i
  1. You will be required to provide your password
  1. Create a configuration file for the virtual host
  1. There are samples in /etc/apache2/sites-available
  2. Copy an existing one and adjust it: cp <sample.conf> <your new file.conf>
  1. When you have created the config, run: a2ensite <name of config file>
  2. Go into the virtual hosts directory: cd /srv/www 
  1. Note /var/www that is for the default site and not the virtual hosts.
  1. Create a directory for the new host: mkdir <directory name>
  1. Follow the naming convention of existing directories
  1. Download the Vtiger file: wget <vtiger link>
  2. Extract the vtiger file: tar xvzf <file.tar.gz>
  3. Rename the vtiger folder to html: mv <vtiger folder> html
  4. Run: chown -R www-data:www-data html
  5. Log into mysql: mysql --user root -p
  6. The password is !mysql@delaphone.2018!
  7. Create a database for the new host: create database <database name>;
  8. Assign privileges: grant all on <database name>.* to <user>@localhost identified by '<password>';
  9. Then: quit
  10. Restart apache: systemctl restart apache2
  11. In your browser log into the Dreamhost panel
  12. Under the domains tab to the left select Manage Domains
  13. Under the delaphonegh.com domain select DNS
  14. Select Add Record Now!
  1. Name - Maintain the name used in the Virtual Config File
  2. Type - A
  3. Value - The server IP (196.44.101.69)
  4. This may take a few minutes to allow access via the web
 
 
CREATING A VTIGER INSTANCE ON PROXMOX.docx

How to mount a disk on Proxmox

 
1- USING SSH (putty):
 
find out if the disk is connected:
#lsblk

 

here our disk was sdb
with one partition sdb1 was ntfs formatted
 
format the disk ext4 filesystem and label it with bkphd
 
#mkfs.ext4 -L bkphd /dev/sdb1
 
mount the drive:
mkdir -p /mnt/bkphdd
nano /etc/fstab
 
add the following line:
LABEL=bkphd /mnt/bkphdd ext4 defaults 0 2
 
ctrl+o then enter then ctrl+x
 
mount -a
 
then we create a folder for backup inside the new mounted hd
 
mkdir -p /mnt/bkphdd/backup/
 
 
2- USING GUI:
Datacenter-> Storage-> Add -> Directory
set the following:
ID: bkphd
Directory: /mnt/bkphdd/backup/
Content: VZDump backup file
Nodes: select node
enabled: checked
shared: checked
max backups: 2
 
 
After that we can schedule backups from datacenter-> backups.
 
 
Done!
 
How to mount a disk on Proxmox.docx

Clone and Configure a New vTiger Instance

1. Clone the vTiger Demo VM

2. Change the Hostname

3. Update the /etc/hosts File

4. Change the IP Address

5. Update Apache Configuration

a. Update 000-default-le-ssl.conf:

bash
sudo nano 000-default-le-ssl.conf

b. Update 000-default.conf:

bash
sudo nano 000-default.conf

6. Obtain a New SSL Certificate

7. Update vTiger Configuration

8. Clear the Cache

9. Restart Apache