ESPO is not building up after Update from 8.4.2 to 9.0.8

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • TKopp
    Junior Member
    • Apr 2025
    • 10

    #1

    ESPO is not building up after Update from 8.4.2 to 9.0.8

    I updated the test environment via argo the last week from 8.4.2 to 9.0.8 without problems.

    Today I tried to update the production environment but the pod is stuck in rebuilding.

    I used the identical manifest, the only difference might be the amounts of data.

    I only receive the following logs:

    info: Run "upgrade" action.
    info: Start upgrading from version 8.4.2.
    Could not open input file: command.php
    info: Start upgrading from version 8.4.2.
    Could not open input file: command.php
    info: Start upgrading from version 8.4.2.
    Could not open input file: command.php
    info: Start upgrading from version 8.4.2.
    Could not open input file: command.php
    info: Start upgrading from version 8.4.2.
    Could not open input file: command.php
    info: Start upgrading from version 8.4.2.
    Could not open input file: command.php
    info: Start upgrading from version 8.4.2.
    Could not open input file: command.php
    info: Start upgrading from version 8.4.2.
    Could not open input file: command.php
    info: Start upgrading from version 8.4.2.
    Could not open input file: command.php
    info: Start upgrading from version 8.4.2.
    Could not open input file: command.php
    info: Start upgrading from version 8.4.2.
    Could not open input file: command.php
    info: Start upgrading from version 8.4.2.
    Could not open input file: command.php
    info: Start upgrading from version 8.4.2.
    Could not open input file: command.php
    info: Start upgrading from version 8.4.2.
    Could not open input file: command.php
    info: Start upgrading from version 8.4.2.
    Could not open input file: command.php
    info: Start upgrading from version 8.4.2.
    Could not open input file: command.php
    info: Start upgrading from version 8.4.2.
    Could not open input file: command.php
    info: Start upgrading from version 8.4.2.
    Could not open input file: command.php
    info: Start upgrading from version 8.4.2.
    Could not open input file: command.php
    info: Start upgrading from version 8.4.2.
    Could not open input file: command.php
    error: The MAX_UPGRADE_COUNT exceed. The upgrading process has been stopped.
    chown: changing ownership of '/var/www/html': Operation not permitted

    Could someone help me please?
  • lazovic
    Super Moderator
    • Jan 2022
    • 1019

    #2
    Hi TKopp,

    It looks like your permissions and/or ownership for the EspoCRM directory are wrong; that's why the command.php file can't open. Check them: https://docs.espocrm.com/administrat...-based-systems.

    Comment

    • TKopp
      Junior Member
      • Apr 2025
      • 10

      #3
      Hi Iazovic,

      unfortunately I am not very experienced in the past I could run commands as described in the link via the terminal in argo. But now the pod is degraded and I can't enter the commands for the permission there. Is there a different way to reach the terminal? We published the manifest in visual studio code and transfer it from bitbucket to argo.

      Comment

      • TKopp
        Junior Member
        • Apr 2025
        • 10

        #4
        I had some help now to put the pod in sleep and entered the commands listed there, unfortunately I received the same logs. Do you have any other suggestions that might cause the permission/ownership problems?

        Comment

        • lazovic
          Super Moderator
          • Jan 2022
          • 1019

          #5
          TKopp,

          Permissions and ownership can also be configured through your hosting UI if you deploy an instance of EspoCRM on it. Otherwise, you need access to the terminal.

          Comment

          • TKopp
            Junior Member
            • Apr 2025
            • 10

            #6
            Thank you Iazovic! We found out that the pvc might not had enough storage, only 1 GB. The php files (command.php etc.) are missing. We now struggle to find a solution, we do not have a backup. So no permission/ownership issue. The only option we can think of is to manually ad the files in production that are missing and retry the upgrade. Do you have any other ideas?

            Comment

            Working...