šŸ”“ January 2024 Alert: Forum support inactive!
New forum registration are currently closed.
Use GitHub discussions
.

    UVdesk

    • Login
    • Search
    • Recent

    Solved Installation Error

    Technical Help
    3
    11
    2053
    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 mod 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 EX helping member @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

          šŸ’¬ You can also ask help on GitHub Discussions
          šŸ”“ I am no more active on Uvdesk
          šŸ”“ Forum support is inactive!

          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 EX helping member @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/

              šŸ’¬ You can also ask help on GitHub Discussions
              šŸ”“ I am no more active on Uvdesk
              šŸ”“ Forum support is inactive!

              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 EX helping member @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.

                  šŸ’¬ You can also ask help on GitHub Discussions
                  šŸ”“ I am no more active on Uvdesk
                  šŸ”“ Forum support is inactive!

                  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 EX helping member @ty_kel last edited by

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

                      šŸ’¬ You can also ask help on GitHub Discussions
                      šŸ”“ I am no more active on Uvdesk
                      šŸ”“ Forum support is inactive!

                      1 Reply Last reply Reply Quote 0
                      • Komal Sharma
                        Komal Sharma UVdesk Staff mod 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