You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
=> [10/13] RUN chmod -R 775 /var/www/uvdesk/var /var/www/uvdesk/config /var/www/uvdesk/public /var/www/uvdesk/migrations; chown -R uvde 46.3s 0.3s
=> ERROR [12/13] RUN cd /var/www/uvdesk/ && composer install --no-dev --optimize-autoloader 3.2s
------
> [12/13] RUN cd /var/www/uvdesk/ && composer install --no-dev --optimize-autoloader:
0.426 The repository at "/var/www/uvdesk" does not have the correct ownership and git refuses to use it:
0.426
0.426 fatal: detected dubious ownership in repository at '/var/www/uvdesk'
0.426 To add an exception for this directory, call:
0.426
0.426 git config --global --add safe.directory /var/www/uvdesk
0.426
0.493 Installing dependencies from lock file
0.495 Verifying lock file contents can be installed on current platform.
0.990 Package operations: 0 installs, 0 updates, 34 removals
0.990 - Removing theseer/tokenizer (1.2.3)
0.992 - Removing symfony/web-profiler-bundle (v5.4.48)
0.993 - Removing symfony/phpunit-bridge (v7.2.0)
0.993 - Removing symfony/maker-bundle (v1.50.0)
0.995 - Removing symfony/dom-crawler (v5.4.48)
0.996 - Removing symfony/debug-bundle (v5.4.45)
0.997 - Removing symfony/css-selector (v5.4.45)
0.998 - Removing symfony/browser-kit (v5.4.45)
0.999 - Removing sebastian/version (3.0.2)
1.000 - Removing sebastian/type (3.2.1)
1.002 - Removing sebastian/resource-operations (3.0.4)
1.002 - Removing sebastian/recursion-context (4.0.5)
1.002 - Removing sebastian/object-reflector (2.0.4)
1.002 - Removing sebastian/object-enumerator (4.0.4)
1.002 - Removing sebastian/lines-of-code (1.0.4)
1.002 - Removing sebastian/global-state (5.0.7)
1.002 - Removing sebastian/exporter (4.0.6)
1.002 - Removing sebastian/environment (5.1.5)
1.003 - Removing sebastian/diff (4.0.6)
1.003 - Removing sebastian/complexity (2.0.3)
1.003 - Removing sebastian/comparator (4.0.8)
1.003 - Removing sebastian/code-unit-reverse-lookup (2.0.3)
1.003 - Removing sebastian/code-unit (1.0.8)
1.003 - Removing sebastian/cli-parser (1.0.2)
1.003 - Removing phpunit/phpunit (9.6.22)
1.003 - Removing phpunit/php-timer (5.0.3)
1.003 - Removing phpunit/php-text-template (2.0.4)
1.004 - Removing phpunit/php-invoker (3.1.1)
1.004 - Removing phpunit/php-file-iterator (3.0.6)
1.004 - Removing phpunit/php-code-coverage (9.2.32)
1.004 - Removing phar-io/version (3.2.1)
1.004 - Removing phar-io/manifest (2.0.4)
1.004 - Removing nikic/php-parser (v4.19.4)
1.004 - Removing myclabs/deep-copy (1.12.1)
1.118 0/24 [>---------------------------] 0%
1.199 10/24 [===========>----------------] 41%
1.306 24/24 [============================] 100%
1.320 Package intervention/imagecache is abandoned, you should avoid using it. No replacement was suggested.
1.320 Package sensio/framework-extra-bundle is abandoned, you should avoid using it. Use Symfony instead.
1.320 Package swiftmailer/swiftmailer is abandoned, you should avoid using it. Use symfony/mailer instead.
1.320 Package symfony/swiftmailer-bundle is abandoned, you should avoid using it. Use symfony/mailer instead.
1.320 Generating optimized autoload files
3.003 composer/package-versions-deprecated: Generating version class...
3.004 composer/package-versions-deprecated: ...done generating version class
3.005 92 packages you are using are looking for funding.
3.005 Use the `composer fund` command to find out more!
3.009
3.009 Run composer recipes at any time to see the status of your Symfony recipes.
3.009
3.014 Executing script cache:clear [KO]
3.135 [KO]
3.135 Script cache:clear returned with error code 255
3.135 !! Symfony\Component\ErrorHandler\Error\ClassNotFoundError {#85
3.135 !! #message: """
3.135 !! Attempted to load class "WebProfilerBundle" from namespace "Symfony\Bundle\WebProfilerBundle".\n
3.135 !! Did you forget a "use" statement for another namespace?
3.135 !! """
3.135 !! #code: 0
3.135 !! #file: "./vendor/symfony/framework-bundle/Kernel/MicroKernelTrait.php"
3.135 !! #line: 132
3.135 !! trace: {
3.135 !! ./vendor/symfony/framework-bundle/Kernel/MicroKernelTrait.php:132 { …}
3.135 !! ./vendor/symfony/http-kernel/Kernel.php:386 { …}
3.135 !! ./vendor/symfony/http-kernel/Kernel.php:788 { …}
3.135 !! ./vendor/symfony/http-kernel/Kernel.php:128 { …}
3.135 !! ./vendor/symfony/framework-bundle/Console/Application.php:168 { …}
3.135 !! ./vendor/symfony/framework-bundle/Console/Application.php:74 { …}
3.135 !! ./vendor/symfony/console/Application.php:171 { …}
3.135 !! ./vendor/symfony/runtime/Runner/Symfony/ConsoleApplicationRunner.php:54 { …}
3.135 !! ./vendor/autoload_runtime.php:35 { …}
3.135 !! ./bin/console:15 {
3.135 !! ›
3.135 !! › require_once dirname(__DIR__).'/vendor/autoload_runtime.php';
3.135 !! ›
3.135 !! arguments: {
3.135 !! "/var/www/uvdesk/vendor/autoload_runtime.php"
3.135 !! }
3.135 !! }
3.135 !! }
3.135 !! }
3.135 !! 2025-03-22T05:50:59+00:00 [info] User Deprecated: Method "Symfony\Component\HttpKernel\Bundle\Bundle::getContainerExtension()" might add "?ExtensionInterface" as a native return type declaration in the future. Do the same in child class "Webkul\UVDesk\CoreFrameworkBundle\UVDeskCoreFrameworkBundle" now to avoid errors or add an explicit @return annotation to suppress this message.
3.135 !! 2025-03-22T05:50:59+00:00 [info] User Deprecated: Method "Symfony\Component\HttpKernel\Bundle\Bundle::getContainerExtension()" might add "?ExtensionInterface" as a native return type declaration in the future. Do the same in child class "Webkul\UVDesk\AutomationBundle\UVDeskAutomationBundle" now to avoid errors or add an explicit @return annotation to suppress this message.
3.135 !! 2025-03-22T05:50:59+00:00 [info] User Deprecated: Method "Symfony\Component\HttpKernel\Bundle\Bundle::getContainerExtension()" might add "?ExtensionInterface" as a native return type declaration in the future. Do the same in child class "Webkul\UVDesk\ExtensionFrameworkBundle\UVDeskExtensionFrameworkBundle" now to avoid errors or add an explicit @return annotation to suppress this message.
3.135 !! 2025-03-22T05:50:59+00:00 [info] User Deprecated: Method "Symfony\Component\HttpKernel\Bundle\Bundle::getContainerExtension()" might add "?ExtensionInterface" as a native return type declaration in the future. Do the same in child class "Webkul\UVDesk\MailboxBundle\UVDeskMailboxBundle" now to avoid errors or add an explicit @return annotation to suppress this message.
3.135 !! 2025-03-22T05:50:59+00:00 [info] User Deprecated: Method "Symfony\Component\HttpKernel\Bundle\Bundle::getContainerExtension()" might add "?ExtensionInterface" as a native return type declaration in the future. Do the same in child class "Webkul\UVDesk\SupportCenterBundle\UVDeskSupportCenterBundle" now to avoid errors or add an explicit @return annotation to suppress this message.
3.135 !! 2025-03-22T05:50:59+00:00 [info] User Deprecated: Method "Symfony\Component\HttpKernel\Bundle\Bundle::getContainerExtension()" might add "?ExtensionInterface" as a native return type declaration in the future. Do the same in child class "Webkul\UVDesk\ApiBundle\UVDeskApiBundle" now to avoid errors or add an explicit @return annotation to suppress this message.
3.135 !! 2025-03-22T05:50:59+00:00 [critical] Uncaught Error: Class "Symfony\Bundle\WebProfilerBundle\WebProfilerBundle" not found
3.135 !!
3.135 Script @auto-scripts was called via post-install-cmd
------
Dockerfile:90
--------------------
88 |
89 | # Install Composer dependencies
90 | >>> RUN cd /var/www/uvdesk/ && composer install --no-dev --optimize-autoloader
91 |
92 | # Ensure correct ownership for www-data user
--------------------
ERROR: failed to solve: process "/bin/sh -c cd /var/www/uvdesk/ && composer install --no-dev --optimize-autoloader" did not complete successfully: exit code: 255
View build details: docker-desktop://dashboard/build/remote-server/remote-server/tux5gjti2oyuyv8gasm10r1vz
The text was updated successfully, but these errors were encountered:
Bug report
Title
Docker image build failed with uvdesk instructions.
Issue Description
When I try to build a docker image using the steps in https://github.com/uvdesk/community-skeleton/wiki/Docker-Persistent-Container, the build fails.
Preconditions
I run this build on an Ubuntu 22 host.
I downloaded https://cdn.uvdesk.com/uvdesk/downloads/opensource/uvdesk-community-current-stable.zip on 2025-03-22
Steps to reproduce
docker build -t myregistry/uvdesk:1.1.7 .
Expected result
The build should be successful
Actual result
It builds until this step
The text was updated successfully, but these errors were encountered: