Announcement

Collapse
No announcement yet.

Blank page and url /install after try to upgrade my espo crm

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Blank page and url /install after try to upgrade my espo crm

    I try to upgarde to 3.0 to 3.1.. I have an error to upgrade so i can't... and after logout i can't go to my espo crm. I'm redirect to the url /install and i have a blank page. What's the problem ?
    My php is 5.6

    Thx to help me

  • #2
    hello
    Check log files, please. (espo and apache error)

    Comment


    • #3
      No error is writing on my apache log.
      In folder log of espo the espo log file is empty.

      ErrorLog /var/log/apache2/int.espo-error.log
      CustomLog /var/log/apache2/int.espo-access.log combined

      On my browser that's go to


      But my espo is install since a lot of version... That's bug because i try to upgrade 3.0 to 3.1 and try to clear cache on my admin setting espo

      If i comment on index.php

      // header("Location: install/");
      // exit;


      I have this error :

      case 200:
      Espo.Ui.error(self.language.translate('Bad server response'));
      console.error('Bad server response: ' + xhr.responseText);
      break;

      I try to restart my mysql admin - impossible and i can't acces to my phpmyadmin now...it's possible my mysql is not start or restart...

      janv. 23 11:12:49 xxxxx.net systemd[1]: Unit mysql.service entered failed state.
      janv. 23 11:13:01 xxxxx.net CRON[22871]: pam_unix(cron:session): session opened for user www-data by (uid=0)
      janv. 23 11:13:01 xxxxx.net CRON[22872]: (www-data) CMD (/usr/bin/php -f /var/www/espo/int/cron.php > /dev/null 2>&1)
      janv. 23 11:13:01 xxxxx.net CRON[22871]: pam_unix(cron:session): session closed for user www-data

      var/www/espo/int/cron.php is my Espo CRM
      Do u know why ?

      Very very strange
      Last edited by kamy; 01-23-2017, 10:17 AM.

      Comment


      • #4
        Please check if in data/config.php is set the option
        PHP Code:
        'isInstalled' => true
        ?
        cron.php runs Scheduled jobs in EspoCRM (e.g. check emails). Scheduled jobs cannot damage your MySQL. The problem should be different.
        Job Offers and Requests

        Comment


        • #5
          To clarify the details. Do you want to upgrade from 4.3.0 to 4.3.1 or from 3.0.0?
          Job Offers and Requests

          Comment


          • #6
            EspoCRM-upgrade-4.3.0-to-4.3.1

            Comment


            • #7
              I tried to upgrade my local instance. All works well. Perhaps, you had some issues with file permissions while upgrade. Try to login via command line, go to EspoCRM directory and run:
              Code:
              php rebuild.php
              or upgrade
              Code:
              php upgrade.php EspoCRM-upgrade-4.3.0-to-4.3.1.zip
              Job Offers and Requests

              Comment


              • #8
                My database mysql is actually OK: my vps is was full and espocrm bug come maybe since that.
                But now I have always my bug : ((

                My file data/config.php:
                <?php
                return 1;
                ?>

                > php rebuild.php cmd line don't change my bug... i have always a page blank and a redirect to go to folder install when i want to access to my espo crm

                > php.upgrade.php EspoCRM-upgrade-4.3.0-to-4.3.1.zip..where i deposit the zip to this command ?

                MY LOG ESPOCRM TODAY

                Code:
                [2017-01-25 09:42:01] Espo.ERROR: Uncaught Exception Exception: "No database driver specified." at /var/www/example/int/application/Espo/ORM/EntityManager.php line 64 {"exception":"[object] (Exception(code: 0): No database driver specified. at /var/www/example/int/application/Espo/ORM/EntityManager.php:64)"} []
                [2017-01-25 09:43:02] Espo.ERROR: Uncaught Exception Exception: "No database driver specified." at /var/www/example/int/application/Espo/ORM/EntityManager.php line 64 {"exception":"[object] (Exception(code: 0): No database driver specified. at /var/www/example/int/application/Espo/ORM/EntityManager.php:64)"} []
                [2017-01-25 09:44:01] Espo.ERROR: Uncaught Exception Exception: "No database driver specified." at /var/www/skyjooy/int/application/Espo/ORM/EntityManager.php line 64 {"exception":"[object] (Exception(code: 0): No database driver specified. at /var/www/example/int/application/Espo/ORM/EntityManager.php:64)"} []
                [2017-01-25 09:44:06] Espo.ERROR: Uncaught Exception Exception: "No database driver specified." at /var/www/skyjooy/int/application/Espo/ORM/EntityManager.php line 64 {"exception":"[object] (Exception(code: 0): No database driver specified. at /var/www/example/int/application/Espo/ORM/EntityManager.php:64)"} []
                [2017-01-25 09:44:10] Espo.ERROR: Uncaught Exception Exception: "No database driver specified." at /var/www/skyjooy/int/application/Espo/ORM/EntityManager.php line 64 {"exception":"[object] (Exception(code: 0): No database driver specified. at /var/www/example/int/application/Espo/ORM/EntityManager.php:64)"} []
                [2017-01-25 09:45:01] Espo.ERROR: Uncaught Exception Exception: "No database driver specified." at /var/www/skyjooy/int/application/Espo/ORM/EntityManager.php line 64 {"exception":"[object] (Exception(code: 0): No database driver specified. at /var/www/example/int/application/Espo/ORM/EntityManager.php:64)"} []
                [2017-01-25 09:45:13] Espo.ERROR: Uncaught Exception Exception: "No database driver specified." at /var/www/skyjooy/int/application/Espo/ORM/EntityManager.php line 64 {"exception":"[object] (Exception(code: 0): No database driver specified. at /var/www/example/int/application/Espo/ORM/EntityManager.php:64)"} []
                [2017-01-25 09:45:15] Espo.ERROR: Uncaught Exception Exception: "No database driver specified." at /var/www/example/int/application/Espo/ORM/EntityManager.php line 64 {"exception":"[object] (Exception(code: 0): No database driver specified. at /var/www/example/int/application/Espo/ORM/EntityManager.php:64)"} []
                [2017-01-25 09:45:59] Espo.WARNING: E_WARNING: Cannot use a scalar value as an array {"code":2,"message":"Cannot use a scalar value as an array","file":"/var/www/example/int/application/Espo/Core/Utils/Config.php","line":175,"context":{"values":{"cacheTimestamp":1485337559},"removeData":null,"data":1,"value":1485337559,"key":"cacheTimestamp"}} []
                [2017-01-25 09:46:00] Espo.WARNING: E_WARNING: Cannot use a scalar value as an array {"code":2,"message":"Cannot use a scalar value as an array","file":"/var/www/example/int/application/Espo/Core/Utils/Config.php","line":175,"context":{"values":{"cacheTimestamp":1485337560},"removeData":null,"data":1,"value":1485337560,"key":"cacheTimestamp"}} []
                [2017-01-25 09:46:00] Espo.ERROR: Fault to rebuild database schema. Details: No database driver specified. [] []
                [2017-01-25 09:46:00] Espo.ERROR: Uncaught Exception Espo\Core\Exceptions\Error: "Error while rebuilding database. See log file for details." at /var/www/example/int/application/Espo/Core/DataManager.php line 98 {"exception":"[object] (Espo\\Core\\Exceptions\\Error(code: 500): Error while rebuilding database. See log file for details. at /var/www/example/int/application/Espo/Core/DataManager.php:98)"} []
                [2017-01-25 09:46:01] Espo.ERROR: Uncaught Exception Exception: "No database driver specified." at /var/www/example/int/application/Espo/ORM/EntityManager.php line 64 {"exception":"[object] (Exception(code: 0): No database driver specified. at /var/www/example/int/application/Espo/ORM/EntityManager.php:64)"} []
                [2017-01-25 09:46:09] Espo.ERROR: Uncaught Exception Exception: "No database driver specified." at /var/www/example/int/application/Espo/ORM/EntityManager.php line 64 {"exception":"[object] (Exception(code: 0): No database driver specified. at /var/www/example/int/application/Espo/ORM/EntityManager.php:64)"} []
                [2017-01-25 09:46:46] Espo.WARNING: E_WARNING: Cannot use a scalar value as an array {"code":2,"message":"Cannot use a scalar value as an array","file":"/var/www/example/int/application/Espo/Core/Utils/Config.php","line":175,"context":{"values":{"cacheTimestamp":1485337606},"removeData":null,"data":1,"value":1485337606,"key":"cacheTimestamp"}} []
                [2017-01-25 09:46:46] Espo.WARNING: E_WARNING: Cannot use a scalar value as an array {"code":2,"message":"Cannot use a scalar value as an array","file":"/var/www/example/int/application/Espo/Core/Utils/Config.php","line":175,"context":{"values":{"cacheTimestamp":1485337606},"removeData":null,"data":1,"value":1485337606,"key":"cacheTimestamp"}} []
                [2017-01-25 09:46:46] Espo.ERROR: Fault to rebuild database schema. Details: No database driver specified. [] []
                [2017-01-25 09:46:46] Espo.ERROR: Uncaught Exception Espo\Core\Exceptions\Error: "Error while rebuilding database. See log file for details." at /var/www/example/int/application/Espo/Core/DataManager.php line 98 {"exception":"[object] (Espo\\Core\\Exceptions\\Error(code: 500): Error while rebuilding database. See log file for details. at /var/www/example/int/application/Espo/Core/DataManager.php:98)"} []
                [2017-01-25 09:46:59] Espo.ERROR: Uncaught Exception Exception: "No database driver specified." at /var/www/example/int/application/Espo/ORM/EntityManager.php line 64 {"exception":"[object] (Exception(code: 0): No database driver specified. at /var/www/example/int/application/Espo/ORM/EntityManager.php:64)"} []
                [2017-01-25 09:47:02] Espo.ERROR: Uncaught Exception Exception: "No database driver specified." at /var/www/example/int/application/Espo/ORM/EntityManager.php line 64 {"exception":"[object] (Exception(code: 0): No database driver specified. at /var/www/example/int/application/Espo/ORM/EntityManager.php:64)"} []
                [2017-01-25 09:48:01] Espo.ERROR: Uncaught Exception Exception: "No database driver specified." at /var/www/example/int/application/Espo/ORM/EntityManager.php line 64 {"exception":"[object] (Exception(code: 0): No database driver specified. at /var/www/example/int/application/Espo/ORM/EntityManager.php:64)"} []
                [2017-01-25 09:49:01] Espo.ERROR: Uncaught Exception Exception: "No database driver specified." at /var/www/example/int/application/Espo/ORM/EntityManager.php line 64 {"exception":"[object] (Exception(code: 0): No database driver specified. at /var/www/example/int/application/Espo/ORM/EntityManager.php:64)"} []
                [2017-01-25 09:50:01] Espo.ERROR: Uncaught Exception Exception: "No database driver specified." at /var/www/example/int/application/Espo/ORM/EntityManager.php line 64 {"exception":"[object] (Exception(code: 0): No database driver specified. at /var/www/example/int/application/Espo/ORM/EntityManager.php:64)"} []
                [2017-01-25 09:51:01] Espo.ERROR: Uncaught Exception Exception: "No database driver specified." at /var/www/example/int/application/Espo/ORM/EntityManager.php line 64 {"exception":"[object] (Exception(code: 0): No database driver specified. at /var/www/example/int/application/Espo/ORM/EntityManager.php:64)"} []
                [2017-01-25 09:52:02] Espo.ERROR: Uncaught Exception Exception: "No database driver specified." at /var/www/example/int/application/Espo/ORM/EntityManager.php line 64 {"exception":"[object] (Exception(code: 0): No database driver specified. at /var/www/example/int/application/Espo/ORM/EntityManager.php:64)"} []
                [2017-01-25 09:53:01] Espo.ERROR: Uncaught Exception Exception: "No database driver specified." at /var/www/example/int/application/Espo/ORM/EntityManager.php line 64 {"exception":"[object] (Exception(code: 0): No database driver specified. at /var/www/example/int/application/Espo/ORM/EntityManager.php:64)"} []
                MY HTACCESS
                Code:
                <ifModule mod_headers.c>
                  Header always set Access-Control-Allow-Methods "POST, GET, PUT, PATCH, DELETE"
                </ifModule>
                
                DirectoryIndex index.php index.html
                
                <IfModule mod_rewrite.c>
                  RewriteEngine On
                
                  # PROTECTED DIRECTORIES
                  RewriteCond %{REQUEST_FILENAME} -d
                  RewriteRule ^/?(data|api)/ - [F]
                
                  RewriteRule ^/?data/config\.php$ - [F]
                  RewriteRule ^/?data/logs/ - [F]
                  RewriteRule ^/?data/cache/ - [F]
                  RewriteRule ^/?data/upload/ - [F]
                  RewriteRule ^/?data/\.backup/ - [F]
                  RewriteRule ^/?application/ - [F]
                  RewriteRule ^/?custom/ - [F]
                  RewriteRule ^/?vendor/ - [F]
                  #END PROTECTED DIRECTORIES
                
                  RewriteRule .* - [E=HTTP_ESPO_CGI_AUTH:%{HTTP:Authorization}]
                
                  RewriteRule reset/?$ reset.html [QSA,L]
                </IfModule>
                Last edited by kamy; 01-25-2017, 10:01 AM.

                Comment


                • #9
                  Hi

                  Delete data/config,php. After that espo redirect you to the installation. Before that I recommend you to create a dump of database.
                  After installation admin has to change the password of all users.

                  Comment


                  • #10
                    I reinstall and dump the database. That's work now ! Thanks a lot

                    Comment

                    Working...
                    X