Upgrade don't start

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • asebaste
    Member
    • Jun 2020
    • 53

    Upgrade don't start

    Hi there
    I'm tried to upgrade my EspoCRM. As you can see, it will not start.

    C:\PROGRA~1\APACHE~1\htdocs\QSoft_CRM>php command.php upgrade --file="EspoCRM-upgrade-5.8.4-to-5.8.5.zip"
    Current version is 5.8.4.
    EspoCRM will be upgraded to version 5.8.5 now. Enter [Y] to continue.
    Y
    Upgrading... This may take a while...Der Befehl "C:\Program" ist entweder falsch geschrieben oder
    konnte nicht gefunden werden.

    I think the problem is, that the path contains a " " (blank space). I installed EspoCRM on a Windows machine in the folder "C:\Program Files". This is a folder I can't realy change.
    Please finde in the attachment the corresponding log file.

    Can anyone help? Probably a change in a PHP File? I know, that I can move the hole application to another folder to awoid the blank spaces, but if there is another solution, I would prefer that.

    Thank you.
    Alessandro
    Attached Files
  • Maximus
    Senior Member
    • Nov 2018
    • 2731

    #2
    Hello,
    If your current version is 5.8.4. then you may run only this command to upgrade your system to the next version:
    Code:
    php command.php upgrade
    Read more here https://docs.espocrm.com/administration/upgrading/

    Comment


    • asebaste
      asebaste commented
      Editing a comment
      Hi
      This ist what I tried first.
      C:\Programme\apache_server\htdocs\QSoft_CRM>php command.php upgrade
      Current version is 5.8.4.
      EspoCRM will be upgraded to version 5.8.5 now. Enter [Y] to continue.
      Y
      Downloading...
      Upgrading... This may take a while...Der Befehl "C:\Program" ist entweder falsch geschrieben oder
      konnte nicht gefunden werden.

      Upgrade is complete. Current version is 5.8.4.

      As you can see, it's the same result.
  • Maximus
    Senior Member
    • Nov 2018
    • 2731

    #3
    Please run this command:
    Code:
    php -m
    Check whether you have PDO and pdo_mysql modules in your PHP CLI.

    Comment


    • asebaste
      asebaste commented
      Editing a comment
      Yes, I have PDO and pdo_mysql
      [PHP Modules]
      bcmath
      calendar
      Core
      ctype
      curl
      date
      dom
      exif
      fileinfo
      filter
      gd
      hash
      iconv
      imap
      intl
      json
      libxml
      mbstring
      mysqli
      mysqlnd
      openssl
      pcre
      PDO
      pdo_mysql
      Phar
      readline
      Reflection
      session
      SimpleXML
      SPL
      standard
      tokenizer
      xml
      xmlreader
      xmlrpc
      xmlwriter
      Zend OPcache
      zip
      zlib

      [Zend Modules]
      Zend OPcache

      What about the blank space in the path? Do you think, that this is no problem?
      Thank you
  • esforim
    Active Community Member
    • Jan 2020
    • 2204

    #4
    It look like it can only go to this pathway? "C:\Program" which is obviously incorrect. The space may pose an issue but when it is in " " it shouldn't matter.

    Might be a silly thing to do but there 3 way I would try to fix this:

    1) Install using admin GUI.
    2) Move the folder, upgrade, move the folder back (if deem necessary).
    3) Symbolic hard link the folder to a workable path.

    I also notice that it is written in German(?), not sure if somehow the word Programme and Program is translated and that why it might froze after that.

    Comment

    • asebaste
      Member
      • Jun 2020
      • 53

      #5
      I installed using the GUI and it worked fine. :-)

      Before that I tried option 2, moving to another folder. But this didn't work. I received the same response.

      Thank you for the help.

      I realy like EspoCRM.
      Thanks for the work.

      Have a nice day.
      Kind regards, Alessandro

      Comment


      • esforim
        esforim commented
        Editing a comment
        Good to hear it fixed. I think Windows server user like you is a rare breed.
    • asebaste
      Member
      • Jun 2020
      • 53

      #6
      Oh, I don't use a Windows Server, I use Apache on a Win10 pro machine. I know, that is not the common way to use it. But I'm the only one in my company (at the moment) and I installed all required tools on a single laptop. It's i kind of proof of concept. As soon as we will be more people I will install it on a linux server so everyone has access on it. Windows is ok, but......

      Comment


      • esforim
        esforim commented
        Editing a comment
        I run a couple of off-line server before, but even with tools such as XAMPP I always mess it up somehow. In term of server (Linux), I leave it to the pro and use Shared Hosting.
    Working...