start button on install page not working

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • kent
    Junior Member
    • Jul 2024
    • 6

    start button on install page not working

    EspoCRM-8.2.4
    Virtualbox, ubuntu 20.14
    I do not know php. I have not installed espocrm before.
    Thank you for your consideration!
  • esforim
    Active Community Member
    • Jan 2020
    • 2204

    #2
    You need to have apache of some kind. Sorry I dont use ubuntu to help you.

    I think Linux it use LAMPS?

    Comment

    • kent
      Junior Member
      • Jul 2024
      • 6

      #3
      Apache is loaded and working. Php and installed and working....mysql is setup...I googled the error and what i'm reading is this is a jquery issue...does espoCRM use jquery?

      Comment

      • kent
        Junior Member
        • Jul 2024
        • 6

        #4
        Here is the steps I'm taking...if anyone is willing to review..)
        Note: this is in a virtualbox VM ubuntu 20.04 running on a windows OS.

        #1: setup apache #############################################

        sudo apt install apache2
        sudo systemctl enable apache2

        sudo nano /etc/apache2/apache2.conf
        ServerName localhost

        sudo systemctl status apache2

        #2: setup domain and espocrm folders

        sudo mkdir -p /var/www/mybiz357/public

        sudo cp /etc/apache2/sites-available/000-default.conf /etc/apache2/sites-available/mybiz357.conf
        sudo nano /etc/apache2/sites-available/mybiz357.conf

        #apache conf values......................

        <VirtualHost *:80>

        ServerName mybiz357.com
        ServerAlias www.mybiz357.com
        ServerAdmin admin@mybiz357.com
        DocumentRoot /var/www/mybiz357/public

        <Directory /var/www/mybiz357/>
        Options FollowSymLinks MultiViews
        AllowOverride All
        Order allow,deny
        allow from all
        </Directory>

        alias /espocrm /var/www/espocrm/public

        <Directory /var/www/espocrm/public>
        AllowOverride All
        </Directory>

        </VirtualHost>

        #setup up index file for domain &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
        sudo nano /var/www/mybiz357/public/index.html

        <html>
        <head>
        <title> html: Welcome to mybiz357!</title>
        </head>
        <body>
        <h1>Success! html: The mybiz123_ virtual host is working!</h1>
        </body>
        </html>

        #setup up index/folders for espoCRM &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
        sudo mkdir -p /var/www/espocrm/public
        sudo nano /var/www/espocrm/public/index.html

        <html>
        <head>
        <title>html: Welcome to espocrm!</title>
        </head>
        <body>
        <h1>html: Success! The espocrm virtual host is working!</h1>
        </body>
        </html>


        sudo systemctl reload apache2
        sudo systemctl restart apache2
        sudo apache2ctl configtest


        2: setup php ##################################################
        sudo apt install php libapache2-mod-php
        sudo apt-get install php-mysql
        sudo apt-get install php-gd
        sudo apt-get install openssl
        sudo apt-get install php-zip
        sudo apt-get install php-mbstring
        sudo apt-get install php-iconv
        sudo apt-get install php-curl
        sudo apt-get install php-xml
        sudo apt-get install php-xmlwriter
        sudo apt-get install php-exif
        sudo apt-get install php-bcmath

        sudo service apache2 restart

        #create php files to validate php install
        sudo nano /var/www/mybiz357/public/thisone.php
        /*
        <?php
        echo 'php mybiz357';
        echo phpinfo();
        ?>
        */
        sudo nano /var/www/espocrm/public/thisone.php
        <?php
        echo 'php mybiz357/espocrm';
        echo phpinfo();
        ?>

        #set ownership and permissions
        cd /var/www
        sudo chown -R www-data:www-data .;
        sudo chmod -R 755 /var/www


        #test your results &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&






        #3:setup mariadb #############################################
        sudo apt install mariadb-server
        sudo systemctl enable mariadb
        sudo systemctl start mariadb
        sudo systemctl status mariadb
        mariadb --version

        #Configuring MariaDB for espoCRM
        sudo mysql_secure_installation
        sudo mysql -u root -p

        CREATE DATABASE espocrm;
        CREATE USER espocrmadminI DENTIFIED BY 'aCleverPassword';
        GRANT ALL PRIVILEGES ON espoCRM.* TO 'espocrmadmin'@'%' WITH GRANT OPTION;
        FLUSH PRIVILEGES;
        EXIT;

        #4: setup espnext ##################################################
        cd ~/Downloads
        wget https://www.espocrm.com/downloads/EspoCRM-8.2.4.zip

        rm -r /var/www/espocrm
        sudo unzip ~/Downloads/EspoCRM-8.2.4.zip -d /var/www/
        #rename EspoCRM824 to espocrm....

        #setup folder permissions ###################################
        cd /var/www/espocrm

        #a: change owner to www-data for new folders/files
        sudo chown -R www-data:www-data .;


        #need to log in as www-data 1st:
        su (prompted for password)
        su -s /bin/bash www-data
        cd /var/www/espocrm

        find . -type d -exec chmod 755 {} + && find . -type f -exec chmod 644 {} +;
        find data custom client/custom -type d -exec chmod 775 {} + && find data custom client/custom -type f -exec chmod 664 {} +;
        chmod 775 application/Espo/Modules client/modules;
        chmod 754 bin/command;

        Comment


        • esforim
          esforim commented
          Editing a comment
          Hi kent, sorry can't help. I'm not proficiency enough with Linux system. Best of luck.

          I can only suggest install something else to see if it EspoCRM or your apache setup that is causing the issue.
      Working...