UVdesk

    • Register
    • Login
    • Search
    • Recent

    Solved Installation Error

    Technical Help
    3
    11
    393
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • T
      ty_kel last edited by

      Hi all,

      Trying to install UVDesk on Ubuntu 20.04 hosted on GCP. Followed instructions from this guide. When I get to the install portion of setup, I get the following exemption:

      Class 'UVDeskCoreFrameworkBundle:SupportRole' does not exist
      

      Logs:

      14:16:53.079 critical	Uncaught PHP Exception Doctrine\Persistence\Mapping\MappingException: "Class 'UVDeskCoreFrameworkBundle:SupportRole' does not exist" at /var/www/uvdesk/helpdesk-project/vendor/doctrine/persistence/src/Persistence/Mapping/MappingException.php line 90
      request Hide context Hide trace
      {▼
        /var/www/uvdesk/helpdesk-project/vendor/doctrine/persistence/src/Persistence/Mapping/MappingException.php:90 {▶}
        /var/www/uvdesk/helpdesk-project/vendor/doctrine/persistence/src/Persistence/Mapping/AbstractClassMetadataFactory.php:191 {▶}
        /var/www/uvdesk/helpdesk-project/vendor/doctrine/orm/lib/Doctrine/ORM/EntityManager.php:318 {▶}
        /var/www/uvdesk/helpdesk-project/vendor/doctrine/doctrine-bundle/Repository/ContainerRepositoryFactory.php:40 {▶}
        /var/www/uvdesk/helpdesk-project/vendor/doctrine/orm/lib/Doctrine/ORM/EntityManager.php:821 {▶}
        /var/www/uvdesk/helpdesk-project/var/cache/dev/ContainerX5MVCD5/EntityManager_9a5be93.php:227 {▶}
        /var/www/uvdesk/helpdesk-project/src/Controller/ConfigureHelpdesk.php:291 {▶}
        /var/www/uvdesk/helpdesk-project/vendor/symfony/http-kernel/HttpKernel.php:152 {▶}
        /var/www/uvdesk/helpdesk-project/vendor/symfony/http-kernel/HttpKernel.php:74 {▶}
        /var/www/uvdesk/helpdesk-project/vendor/symfony/http-kernel/Kernel.php:202 {▶}
        /var/www/uvdesk/helpdesk-project/vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php:35 {▶}
        /var/www/uvdesk/helpdesk-project/vendor/autoload_runtime.php:35 {▶}
        /var/www/uvdesk/helpdesk-project/public/index.php:5 {▶}
      }
      [▼
        "exception" => Doctrine\Persistence\Mapping\MappingException {#657 ▶}
      ]
      

      Any help is appreciated.

      Best,

      peopleinside 1 Reply Last reply Reply Quote 0
      • Komal Sharma
        Komal Sharma UVdesk Staff last edited by Komal Sharma

        @ty_kel

        The latest version of "doctrine/doctrine-fixtures-bundle" is not compatible with uvdesk.

        You can fix this issue by changing the version in composer.json in uvdesk:

        "doctrine/doctrine-fixtures-bundle": "^3.4",
         **TO**
        "doctrine/doctrine-fixtures-bundle": "3.4.1",
        

        After Updating the changes in composer.json. Simply, run the composer update command in your project root directory.

        I Hope, This will resolve your issue.

        If you have still faced the error let us know.

        T 1 Reply Last reply Reply Quote 0
        • peopleinside
          peopleinside community specialist mod admin @ty_kel last edited by

          @ty_kel Hi, welcome in the UVdesk forum!

          What method are you using for installing UVdesk?
          SSH?
          Docker?
          Composer?
          FTP?

          Please see: https://forums.uvdesk.com/topic/1925/installing-and-setup-uvdesk-for-the-first-time

          UVdesk passionate | Community moderator | External consultant

          If you need help with the community you can visit https://helpdesk.peopleinside.it/it/blog/uv
          You can always get in touch also with the UVdesk team
          https://support.uvdesk.com/en/

          T 1 Reply Last reply Reply Quote 0
          • T
            ty_kel @peopleinside last edited by

            @peopleinside Using composer. The link did not go through in the first post, but this is the guide I followed. https://geekrewind.com/how-to-install-uvdesk-on-ubuntu/

            peopleinside 1 Reply Last reply Reply Quote 0
            • peopleinside
              peopleinside community specialist mod admin @ty_kel last edited by

              @ty_kel said in Installation Error:

              The link did not go through in the first post, but this is the guide I followed. https://geekrewind.com/how-to-install-uvdesk-on-ubuntu/

              This is not a UVdesk official guide.
              You can look at the link I gived or also here: https://www.uvdesk.com/en/blog/installation-open-source-helpdesk-uvdesk/

              UVdesk passionate | Community moderator | External consultant

              If you need help with the community you can visit https://helpdesk.peopleinside.it/it/blog/uv
              You can always get in touch also with the UVdesk team
              https://support.uvdesk.com/en/

              T 1 Reply Last reply Reply Quote 0
              • T
                ty_kel @peopleinside last edited by

                @peopleinside It looks like I have found the solution; however, when I try to do this, I get the following error. Any thoughts?

                In JsonFile.php line 181:
                                                                                                
                  file_put_contents(./composer.lock): failed to open stream: Permission denied
                
                peopleinside 1 Reply Last reply Reply Quote 0
                • peopleinside
                  peopleinside community specialist mod admin @ty_kel last edited by

                  @ty_kel sorry, I have no idea. I'm not a developer just a passionate user that try to help on the forum 🙂 for a UVdesk staff reply you need maybe wait more time.

                  UVdesk passionate | Community moderator | External consultant

                  If you need help with the community you can visit https://helpdesk.peopleinside.it/it/blog/uv
                  You can always get in touch also with the UVdesk team
                  https://support.uvdesk.com/en/

                  T 1 Reply Last reply Reply Quote 0
                  • T
                    ty_kel @peopleinside last edited by

                    @peopleinside No worries! I appreciate your help and passion for UVdesk. I will await a dev.

                    peopleinside 1 Reply Last reply Reply Quote 0
                    • peopleinside
                      peopleinside community specialist mod admin @ty_kel last edited by

                      @ty_kel I think you get errors because you are not maybe installing from FTP or SSH

                      UVdesk passionate | Community moderator | External consultant

                      If you need help with the community you can visit https://helpdesk.peopleinside.it/it/blog/uv
                      You can always get in touch also with the UVdesk team
                      https://support.uvdesk.com/en/

                      1 Reply Last reply Reply Quote 0
                      • Komal Sharma
                        Komal Sharma UVdesk Staff last edited by Komal Sharma

                        @ty_kel

                        The latest version of "doctrine/doctrine-fixtures-bundle" is not compatible with uvdesk.

                        You can fix this issue by changing the version in composer.json in uvdesk:

                        "doctrine/doctrine-fixtures-bundle": "^3.4",
                         **TO**
                        "doctrine/doctrine-fixtures-bundle": "3.4.1",
                        

                        After Updating the changes in composer.json. Simply, run the composer update command in your project root directory.

                        I Hope, This will resolve your issue.

                        If you have still faced the error let us know.

                        T 1 Reply Last reply Reply Quote 0
                        • T
                          ty_kel @Komal Sharma last edited by

                          @komal-sharma Thank you for the reply! I was able to locate the composer.json file and update to version 3.4.1, however, when I run the composer update command in the project root directory, I get the following error:

                          file_put_contents(./composer.lock): failed to open stream: Permission denied

                          Please advise.

                          Best,

                          T 1 Reply Last reply Reply Quote 0
                          • T
                            ty_kel @ty_kel last edited by

                            @ty_kel I was able to resolve the issue by changing permissions. You can close this ticket!

                            1 Reply Last reply Reply Quote 1
                            • Topic has been marked as solved  T ty_kel 
                            • Topic has been marked as unsolved  peopleinside peopleinside 
                            • Topic has been marked as solved  peopleinside peopleinside 
                            • First post
                              Last post