🔴 January 2024 Alert: Forum support inactive!
New forum registration are currently closed.
Use GitHub discussions
.

    UVdesk

    • Login
    • Search
    • Recent

    Solved installation problem

    Technical Help
    5
    6
    1413
    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.
    • S
      sjliu last edited by

      f76de5d4-8250-443b-9ec5-adde1dd97331-image.png

      769b7ceb-812e-460b-a29f-d7799c5eea52-image.png

      Uncaught PHP Exception Doctrine\Persistence\Mapping\MappingException: "Class 'UVDeskCoreFrameworkBundle:SupportRole' does not exist" at C:\Bitnami\wampstack-8.0.18-0\apache2\htdocs\localhost\helpdesk-project\vendor\doctrine\persistence\src\Persistence\Mapping\MappingException.php line 90
      request Hide context Hide trace
      {▼
      C:\Bitnami\wampstack-8.0.18-0\apache2\htdocs\localhost\helpdesk-project\vendor\doctrine\persistence\src\Persistence\Mapping\MappingException.php:90 {▶}
      C:\Bitnami\wampstack-8.0.18-0\apache2\htdocs\localhost\helpdesk-project\vendor\doctrine\persistence\src\Persistence\Mapping\AbstractClassMetadataFactory.php:173 {▶}
      C:\Bitnami\wampstack-8.0.18-0\apache2\htdocs\localhost\helpdesk-project\vendor\doctrine\orm\lib\Doctrine\ORM\EntityManager.php:313 {▶}
      C:\Bitnami\wampstack-8.0.18-0\apache2\htdocs\localhost\helpdesk-project\vendor\doctrine\doctrine-bundle\Repository\ContainerRepositoryFactory.php:40 {▶}
      C:\Bitnami\wampstack-8.0.18-0\apache2\htdocs\localhost\helpdesk-project\vendor\doctrine\orm\lib\Doctrine\ORM\EntityManager.php:816 {▶}
      C:\Bitnami\wampstack-8.0.18-0\apache2\htdocs\localhost\helpdesk-project\var\cache\dev\ContainerEUNmuHw\EntityManager_9a5be93.php:227 {▶}
      C:\Bitnami\wampstack-8.0.18-0\apache2\htdocs\localhost\helpdesk-project\src\Controller\ConfigureHelpdesk.php:291 {▶}
      C:\Bitnami\wampstack-8.0.18-0\apache2\htdocs\localhost\helpdesk-project\vendor\symfony\http-kernel\HttpKernel.php:152 {▶}
      C:\Bitnami\wampstack-8.0.18-0\apache2\htdocs\localhost\helpdesk-project\vendor\symfony\http-kernel\HttpKernel.php:74 {▶}
      C:\Bitnami\wampstack-8.0.18-0\apache2\htdocs\localhost\helpdesk-project\vendor\symfony\http-kernel\Kernel.php:202 {▶}
      C:\Bitnami\wampstack-8.0.18-0\apache2\htdocs\localhost\helpdesk-project\vendor\symfony\runtime\Runner\Symfony\HttpKernelRunner.php:35 {▶}
      C:\Bitnami\wampstack-8.0.18-0\apache2\htdocs\localhost\helpdesk-project\vendor\autoload_runtime.php:35 {▶}
      C:\Bitnami\wampstack-8.0.18-0\apache2\htdocs\localhost\helpdesk-project\public\index.php:5 {▶}
      }
      [▼
      "exception" => Doctrine\Persistence\Mapping\MappingException {#657 ▶}
      ]

      Sanjeev 1 Reply Last reply Reply Quote 0
      • Sanjeev
        Sanjeev developer UVdesk Staff @sjliu last edited by

        @sjliu
        Update your composer.yaml file by below code:

        {
            "type": "project",
            "license": "proprietary",
            "minimum-stability": "stable",
            "prefer-stable": true,
            "require": {
                "php": "^7.2.5 || ^8.0",
                "ext-ctype": "*",
                "ext-iconv": "*",
                "doctrine/annotations": "^1.0",
                "doctrine/doctrine-bundle": "^2.6",
                "doctrine/doctrine-fixtures-bundle": "3.4.1",
                "doctrine/doctrine-migrations-bundle": "^2.2",
                "doctrine/orm": "^2.12",
                "google/recaptcha": "^1.2",
                "knplabs/knp-paginator-bundle": "^5.8",
                "phpdocumentor/reflection-docblock": "^5.3",
                "phpstan/phpdoc-parser": "^1.2",
                "sensio/framework-extra-bundle": "^6.1",
                "symfony/asset": "^5.4",
                "symfony/console": "^5.4",
                "symfony/dotenv": "^5.4",
                "symfony/expression-language": "^5.4",
                "symfony/flex": "^1.17|^2",
                "symfony/form": "^5.4",
                "symfony/framework-bundle": "^5.4",
                "symfony/http-client": "^5.4",
                "symfony/intl": "^5.4",
                "symfony/mailer": "^5.4",
                "symfony/mime": "^5.4",
                "symfony/monolog-bundle": "^3.1",
                "symfony/notifier": "^5.4",
                "symfony/process": "^5.4",
                "symfony/property-access": "^5.4",
                "symfony/property-info": "^5.4",
                "symfony/proxy-manager-bridge": "^5.4",
                "symfony/runtime": "^5.4",
                "symfony/security-bundle": "^5.4",
                "symfony/serializer": "^5.4",
                "symfony/string": "^5.4",
                "symfony/swiftmailer-bundle": "^3.5",
                "symfony/translation": "^5.4",
                "symfony/twig-bundle": "^5.4",
                "symfony/validator": "^5.4",
                "symfony/web-link": "^5.4",
                "symfony/yaml": "^5.4",
                "twig/extra-bundle": "^2.12|^3.0",
                "twig/twig": "^2.12|^3.0",
                "uvdesk/automation-bundle": "^1.1",
                "uvdesk/composer-plugin": "^1.1",
                "uvdesk/core-framework": "^1.1",
                "uvdesk/extension-framework": "^1.1",
                "uvdesk/mailbox-component": "^1.1",
                "uvdesk/support-center-bundle": "^1.1"
            },
            "require-dev": {
                "phpunit/phpunit": "^9.5",
                "symfony/browser-kit": "^5.4",
                "symfony/css-selector": "^5.4",
                "symfony/debug-bundle": "^5.4",
                "symfony/maker-bundle": "^1.0",
                "symfony/phpunit-bridge": "^6.0",
                "symfony/stopwatch": "^5.4",
                "symfony/web-profiler-bundle": "^5.4"
            },
            "config": {
                "allow-plugins": {
                    "composer/package-versions-deprecated": true,
                    "symfony/flex": true,
                    "symfony/runtime": true,
                    "uvdesk/composer-plugin": true
                },
                "optimize-autoloader": true,
                "preferred-install": {
                    "*": "dist"
                },
                "sort-packages": true
            },
            "autoload": {
                "psr-4": {
                    "App\\": "src/"
                }
            },
            "autoload-dev": {
                "psr-4": {
                    "App\\Tests\\": "tests/"
                }
            },
            "replace": {
                "symfony/polyfill-ctype": "*",
                "symfony/polyfill-iconv": "*",
                "symfony/polyfill-php72": "*"
            },
            "scripts": {
                "auto-scripts": {
                    "cache:clear": "symfony-cmd",
                    "assets:install %PUBLIC_DIR%": "symfony-cmd"
                },
                "post-install-cmd": [
                    "@auto-scripts"
                ],
                "post-update-cmd": [
                    "@auto-scripts"
                ]
            },
            "conflict": {
                "symfony/symfony": "*"
            },
            "extra": {
                "symfony": {
                    "allow-contrib": false,
                    "require": "^5.4"
                }
            }
        }
        

        Finally run below command:
        composer update

        And setup again.

        1 Reply Last reply Reply Quote 0
        • Sanjeev
          Sanjeev developer UVdesk Staff @sjliu last edited by

          @sjliu
          Update your composer.yaml file by below code:

          {
              "type": "project",
              "license": "proprietary",
              "minimum-stability": "stable",
              "prefer-stable": true,
              "require": {
                  "php": "^7.2.5 || ^8.0",
                  "ext-ctype": "*",
                  "ext-iconv": "*",
                  "doctrine/annotations": "^1.0",
                  "doctrine/doctrine-bundle": "^2.6",
                  "doctrine/doctrine-fixtures-bundle": "3.4.1",
                  "doctrine/doctrine-migrations-bundle": "^2.2",
                  "doctrine/orm": "^2.12",
                  "google/recaptcha": "^1.2",
                  "knplabs/knp-paginator-bundle": "^5.8",
                  "phpdocumentor/reflection-docblock": "^5.3",
                  "phpstan/phpdoc-parser": "^1.2",
                  "sensio/framework-extra-bundle": "^6.1",
                  "symfony/asset": "^5.4",
                  "symfony/console": "^5.4",
                  "symfony/dotenv": "^5.4",
                  "symfony/expression-language": "^5.4",
                  "symfony/flex": "^1.17|^2",
                  "symfony/form": "^5.4",
                  "symfony/framework-bundle": "^5.4",
                  "symfony/http-client": "^5.4",
                  "symfony/intl": "^5.4",
                  "symfony/mailer": "^5.4",
                  "symfony/mime": "^5.4",
                  "symfony/monolog-bundle": "^3.1",
                  "symfony/notifier": "^5.4",
                  "symfony/process": "^5.4",
                  "symfony/property-access": "^5.4",
                  "symfony/property-info": "^5.4",
                  "symfony/proxy-manager-bridge": "^5.4",
                  "symfony/runtime": "^5.4",
                  "symfony/security-bundle": "^5.4",
                  "symfony/serializer": "^5.4",
                  "symfony/string": "^5.4",
                  "symfony/swiftmailer-bundle": "^3.5",
                  "symfony/translation": "^5.4",
                  "symfony/twig-bundle": "^5.4",
                  "symfony/validator": "^5.4",
                  "symfony/web-link": "^5.4",
                  "symfony/yaml": "^5.4",
                  "twig/extra-bundle": "^2.12|^3.0",
                  "twig/twig": "^2.12|^3.0",
                  "uvdesk/automation-bundle": "^1.1",
                  "uvdesk/composer-plugin": "^1.1",
                  "uvdesk/core-framework": "^1.1",
                  "uvdesk/extension-framework": "^1.1",
                  "uvdesk/mailbox-component": "^1.1",
                  "uvdesk/support-center-bundle": "^1.1"
              },
              "require-dev": {
                  "phpunit/phpunit": "^9.5",
                  "symfony/browser-kit": "^5.4",
                  "symfony/css-selector": "^5.4",
                  "symfony/debug-bundle": "^5.4",
                  "symfony/maker-bundle": "^1.0",
                  "symfony/phpunit-bridge": "^6.0",
                  "symfony/stopwatch": "^5.4",
                  "symfony/web-profiler-bundle": "^5.4"
              },
              "config": {
                  "allow-plugins": {
                      "composer/package-versions-deprecated": true,
                      "symfony/flex": true,
                      "symfony/runtime": true,
                      "uvdesk/composer-plugin": true
                  },
                  "optimize-autoloader": true,
                  "preferred-install": {
                      "*": "dist"
                  },
                  "sort-packages": true
              },
              "autoload": {
                  "psr-4": {
                      "App\\": "src/"
                  }
              },
              "autoload-dev": {
                  "psr-4": {
                      "App\\Tests\\": "tests/"
                  }
              },
              "replace": {
                  "symfony/polyfill-ctype": "*",
                  "symfony/polyfill-iconv": "*",
                  "symfony/polyfill-php72": "*"
              },
              "scripts": {
                  "auto-scripts": {
                      "cache:clear": "symfony-cmd",
                      "assets:install %PUBLIC_DIR%": "symfony-cmd"
                  },
                  "post-install-cmd": [
                      "@auto-scripts"
                  ],
                  "post-update-cmd": [
                      "@auto-scripts"
                  ]
              },
              "conflict": {
                  "symfony/symfony": "*"
              },
              "extra": {
                  "symfony": {
                      "allow-contrib": false,
                      "require": "^5.4"
                  }
              }
          }
          

          Finally run below command:
          composer update

          And setup again.

          1 Reply Last reply Reply Quote 0
          • S
            sjliu last edited by

            Dear Sanjeev,
            thanks for your prompt reply, it can be installed now.👍 😊

            sjliu

            1 Reply Last reply Reply Quote 0
            • Topic has been marked as solved  peopleinside peopleinside 
            • A
              agentm last edited by

              still facing the issue. even after using the above content in composer.json file in Windows.
              please help.

              V 1 Reply Last reply Reply Quote 0
              • V
                vtq @agentm last edited by

                Also seeing the same problem even after running compose update with the new composer.json

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

                  Clear the cache of project using this command:

                  php bin/console c:c

                  in your project root directory. Now try setup again of UVdesk.

                  Try with 2 method: Manual Setup:
                  Make a try once manual setup of UVdesk.
                  Check the below link for the manual setup from here

                  Note: Once you clear the cache of your browser and the project cache.

                  If still facing the error please let us know.

                  Mail your query to us at support@uvdesk.com. Our team will help you.

                  1 Reply Last reply Reply Quote 1
                  • First post
                    Last post