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

    UVdesk

    • Login
    • Search
    • Recent

    Solved Converting mail issue

    Technical Help
    3
    23
    3706
    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.
    • M
      mxdevito last edited by

      Hi, can i have support for this error?
      Thanks!

      1. Processing uvdesk mailbox configuration.

      2. Opening imap stream...

      3. IMAP stream opened.

      4. Fetching Email collection since 17 January 2022.

      5. Total fetched email -> 13

      6. Starting to convert Emails into Tickets ->
        =============================================
        =============================================

      Converting email 1 out of 13.

      Error -> No route found for "POST /uvdesk/public/mailbox/listener" (404 Not Found)
      administrator@uvdesk:/var/www/uvdesk$

      peopleinside 2 Replies Last reply Reply Quote 0
      • peopleinside
        peopleinside EX helping member @mxdevito last edited by

        @mxdevito thank you for your message! Please allow some time for developers to reply to your request.

        šŸ’¬ 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
        • peopleinside
          peopleinside EX helping member @mxdevito last edited by peopleinside

          @mxdevito Sorry for the delay, keep waiting please. Developers has been notified and soon a reply should be posted here from a developer member.
          Thank you for your patience.

          For this kind of issue you can try to look at this topic:
          https://forums.uvdesk.com/topic/2006/not-create-the-ticket-from-email
          where you will find the main reason of issues fetching emails.

          šŸ’¬ 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
          • Sanjeev
            Sanjeev developer UVdesk Staff last edited by

            @mxdevito

            Please share your site_url in uvdesk.yaml or add /index.php at the end after public.

            and make a try again.

            M 1 Reply Last reply Reply Quote 0
            • Topic has been marked as solved  peopleinside peopleinside 
            • M
              mxdevito @Sanjeev last edited by

              @sanjeev

              parameters:
              app_locales: en|fr|it

              # Default Assets
              assets_default_agent_profile_image_path: 'bundles/uvdeskcoreframework/images/uv-avatar-batman.png'
              assets_default_customer_profile_image_path: 'bundles/uvdeskcoreframework/images/uv-avatar-ironman.png'
              assets_default_helpdesk_profile_image_path: 'bundles/uvdeskcoreframework/images/uv-avatar-uvdesk.png'
              
              uvdesk_site_path.member_prefix: member
              uvdesk_site_path.knowledgebase_customer_prefix: customer
              
              # File uploads constraints
              # @TODO: Set these parameters via compilers
              max_post_size: 8388608
              max_file_uploads: 20
              upload_max_filesize: 2097152
              

              uvdesk:
              site_url: '172.16.130.129/uvdesk/public'
              upload_manager:
              id: Webkul\UVDesk\CoreFrameworkBundle\FileSystem\UploadManagers\Localhost

              support_email:
                  id: support@xxx.it
                  name: UVDesk Ticket
                  mailer_id: Office 365
              
              # Default resources
              default:
                  ticket:
                      type: support
                      status: open
                      priority: low
                  templates:
                      email: mail.html.twig
              

              thanks

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

                @mxdevito said in Converting mail issue:

                site_url: '172.16.130.129/uvdesk/public'

                update your site_url as below and make a try again.

                site_url: '172.16.130.129/uvdesk/public/index.php'

                M 1 Reply Last reply Reply Quote 0
                • M
                  mxdevito @Sanjeev last edited by

                  @sanjeev
                  I update uvdesk.yalm
                  $php bin/console c:c
                  $service apache2 restart

                  no change, same error

                  1. Processing uvdesk mailbox configuration.

                  2. Opening imap stream...

                  3. IMAP stream opened.

                  4. Fetching Email collection since 18 January 2022.

                  5. Total fetched email -> 3

                  6. Starting to convert Emails into Tickets ->
                    =============================================
                    =============================================

                  Converting email 1 out of 3.

                  Error -> No route found for "POST /uvdesk/public/index.php/mailbox/listener" (404 Not Found)
                  administrator@uvdesk:/var/www/uvdesk$

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

                    @mxdevito

                    We are attaching two screenshot add a dump in controller and directly hit a URL from postman.

                    If it will print then flow is ok.

                    f0a84676-eeb5-4f86-984e-80f8cb66a675-image.png

                    In your case:

                    Request URl will be from postman:
                    172.16.130.129/uvdesk/public/mailbox/listener
                    or
                    172.16.130.129/uvdesk/public/index.php/mailbox/listener

                    589d7830-72e6-43fc-a12e-2f4ef1990c2a-image.png

                    1 Reply Last reply Reply Quote 0
                    • peopleinside
                      peopleinside EX helping member @mxdevito last edited by

                      @mxdevito is your site URL reachable by the browser? I'm asking if the issue can be the site URL address that I cannot reach by the browser. Usually I use my public domain and not the server IP, don't know if you are using an IP with restrict access and this may cause issues.

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

                      M 1 Reply Last reply Reply Quote 0
                      • M
                        mxdevito @peopleinside last edited by mxdevito

                        @peopleinside
                        thanks, the error has changed now. I have a problem with permission, now i'm checking.

                        The stream or file "/var/www/uvdesk/helpdesk-project/var/log/dev.log" could not be opened in append mode: failed to open stream: Pe
                        rmission denied

                        i have set permission like that:
                        For .env file – chmod 775 -R path of .env file of UVdesk project

                        For var folder -chmod 775 -R path of var folder of UVdesk project

                        For config folder – chmod 775 -R path of config folder of UVdesk project

                        and after i receive this error:

                        1. Processing uvdesk mailbox configuration.

                        2. Opening imap stream...

                        3. IMAP stream opened.

                        4. Fetching Email collection since 18 January 2022.

                        5. Total fetched email -> 1

                        6. Starting to convert Emails into Tickets ->
                          =============================================
                          =============================================

                        Converting email 1 out of 1.

                        Error ->

                        peopleinside 1 Reply Last reply Reply Quote 0
                        • peopleinside
                          peopleinside EX helping member @mxdevito last edited by

                          @mxdevito do you get any error when you try to clear cache?
                          SSH command inside root UVdesk folder: $ php bin/console c:c

                          Maybe you run the cron for fetch email from root and this can cause issue, maybe.
                          Check the group assigned to the folder var/cache/prod if you are in prod r dev if you are on dev.

                          Seems you may be in dev mode.
                          Be sure there are no wrong folders group assigned.

                          If files are assigned to a normal user the fetching email cron job should be run by the normal user, not root or this can change the prod or dev folder group permission and give errors.

                          Is just a supposition, I'm not sure about the issue you are facing.
                          You can also check the content inside the indicated (in the error message) log file.

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

                          M 1 Reply Last reply Reply Quote 0
                          • M
                            mxdevito @peopleinside last edited by

                            @peopleinside
                            this is error when i try to configure new swiftmailer

                            Symfony\Component\DependencyInjection\Exception
                            ServiceNotFoundException
                            in /var/www/uvdesk/helpdesk-project/vendor/symfony/dependency-injection/ContainerBuilder.php (line 996)
                            in /var/www/uvdesk/helpdesk-project/vendor/symfony/dependency-injection/ContainerBuilder.php -> getDefinition (line 1028)
                            in /var/www/uvdesk/helpdesk-project/vendor/symfony/swiftmailer-bundle/DependencyInjection/Compiler/RegisterPluginsPass.php -> findDefinition (line 27)
                            in /var/www/uvdesk/helpdesk-project/vendor/symfony/dependency-injection/Compiler/Compiler.php -> process (line 82)
                            in /var/www/uvdesk/helpdesk-project/vendor/symfony/dependency-injection/ContainerBuilder.php -> compile (line 757)
                            in /var/www/uvdesk/helpdesk-project/vendor/symfony/http-kernel/Kernel.php -> compile (line 596)
                            in /var/www/uvdesk/helpdesk-project/vendor/symfony/http-kernel/Kernel.php -> initializeContainer (line 136)
                            in /var/www/uvdesk/helpdesk-project/vendor/symfony/http-kernel/Kernel.php -> boot (line 196)
                            Kernel->handle()
                            in /var/www/uvdesk/helpdesk-project/public/index.php (line 25)
                            Request::setTrustedHosts([$trustedHosts]);}$kernel = new Kernel($_SERVER['APP_ENV'], (bool) $_SERVER['APP_DEBUG']);$request = Request::createFromGlobals();$response = $kernel->handle($request);$response->send();$kernel->terminate($request, $response);

                            peopleinside 1 Reply Last reply Reply Quote 0
                            • peopleinside
                              peopleinside EX helping member @mxdevito last edited by

                              @mxdevito A screenshot with the error evidence can be useful.
                              What version of PHP are you using? Are you on Apache?
                              What version of UVdesk are you using, a recent one version?

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

                              M 1 Reply Last reply Reply Quote 0
                              • M
                                mxdevito @peopleinside last edited by

                                @peopleinside i try to reinstall all machine

                                peopleinside 1 Reply Last reply Reply Quote 0
                                • peopleinside
                                  peopleinside EX helping member @mxdevito last edited by

                                  @mxdevito šŸ‘

                                  • Be sure to use the correct public site_url where the help desk can be reached by the browser.
                                  • Be sure to use a compatible and supported PHP version.
                                  • Prefer the setup wizard by web and be sure mail pharse is present. The setup wizard by the web interface should show a green check.
                                  • Try to not run the cron job from root but use the normal user instead.

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

                                  M 1 Reply Last reply Reply Quote 0
                                  • M
                                    mxdevito @peopleinside last edited by peopleinside

                                    @peopleinside

                                    @peopleinside

                                    hi, i have reinstall all. Php version is correct and the project running well. I configurated the mailbox and the swift mailer correctly. When i try to update the mail i recive this error. I made sure the permissions are correct.
                                    I can't find the error

                                    Thanks
                                    Max


                                    administrator@uvdesk:/var/www/uvdesk/helpdesk-project$ sudo chown -R www-data:www-data /var/www/uvdesk
                                    administrator@uvdesk:/var/www/uvdesk/helpdesk-project$ php bin/console uvdesk:refresh-mailbox [... email address removed ...]

                                    In StreamHandler.php line 146:

                                    The stream or file "/var/www/uvdesk/helpdesk-project/var/log/dev.log" could not be opened in append mode: failed to open stream: Pe
                                    rmission denied

                                    uvdesk:refresh-mailbox [-t|--timestamp TIMESTAMP] [-h|--help] [-q|--quiet] [-v|vv|vvv|--verbose] [-V|--version] [--ansi] [--no-ansi] [-n|--no-interaction] [-e|--env ENV] [--no-debug] [--] <command> [<emails>...]

                                    administrator@uvdesk:/var/www/uvdesk/helpdesk-project$

                                    peopleinside 1 Reply Last reply Reply Quote 0
                                    • peopleinside
                                      peopleinside EX helping member @mxdevito last edited by peopleinside

                                      @mxdevito did you run the cron job as root?
                                      php bin/console uvdesk:refresh-mailbox xxx@xxxx

                                      Seems yes as I see administrator@ before the command line.
                                      If you run the mail command as administrator you can get errors so again you need maybe to check if the dev folder is under admin or under normal user account group.

                                      If you go under /uvdesk/var/cache/ by ssh than you run the following command:
                                      ls -l dev

                                      what do you see?

                                      Seems you have server file or folder permission issue.
                                      If you search on Google the error "could not be opened in append mode: failed to open stream: Permission denied" you will maybe see what can be wrong.

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

                                      M 1 Reply Last reply Reply Quote 0
                                      • M
                                        mxdevito @peopleinside last edited by

                                        @peopleinside
                                        it's not permission problems, just for test, i set permission 777 for only var/log folder. "administrator" is normal user with the administrator name. I have a message with error -> and nothing more.

                                        1. Processing uvdesk mailbox configuration.

                                        2. Opening imap stream...

                                        3. IMAP stream opened.

                                        4. Fetching Email collection since 19 January 2022.

                                        5. Total fetched email -> 1

                                        6. Starting to convert Emails into Tickets ->
                                          =============================================
                                          =============================================

                                        Converting email 1 out of 1.

                                        Error ->


                                        Permission folder for var/cache

                                        administrator@uvdesk:/var/www/uvdesk/helpdesk-project/var/cache$ ls -l dev/
                                        total 1552
                                        -rwxrwxrwx 1 www-data www-data 98 Jan 20 10:30 annotations.map
                                        -rwxrwxrwx 1 www-data www-data 5292 Jan 20 10:21 annotations.php
                                        drwxrwxrwx 2 www-data www-data 4096 Jan 20 10:29 Container3MgqZ4w
                                        -rwxrwxrwx 1 www-data www-data 0 Jan 20 10:30 Container3MgqZ4w.legacy
                                        drwxrwxrwx 2 www-data www-data 4096 Jan 20 10:30 ContainerXp2MXx0
                                        drwxrwxrwx 3 www-data www-data 4096 Jan 20 10:21 doctrine
                                        drwxrwxrwx 9 www-data www-data 4096 Jan 20 10:22 pools
                                        drwxrwxrwx 114 www-data www-data 4096 Jan 20 11:07 profiler
                                        -rwxrwxrwx 1 www-data www-data 100 Jan 20 10:21 serialization.php
                                        -rwxrwxrwx 1 www-data www-data 436896 Jan 20 10:30 srcApp_KernelDevDebugContainerCompiler.log
                                        -rwxrwxrwx 1 www-data www-data 43137 Jan 20 10:30 srcApp_KernelDevDebugContainerDeprecations.log
                                        -rwxrwxrwx 1 www-data www-data 785 Jan 20 10:30 srcApp_KernelDevDebugContainer.php
                                        -rwxrwxrwx 1 www-data www-data 0 Jan 20 10:30 srcApp_KernelDevDebugContainer.php.lock
                                        -rwxrwxrwx 1 www-data www-data 44029 Jan 20 10:30 srcApp_KernelDevDebugContainer.php.meta
                                        -rwxrwxrwx 1 www-data www-data 60238 Jan 20 10:30 srcApp_KernelDevDebugContainer.preload.php
                                        -rwxrwxrwx 1 www-data www-data 692312 Jan 20 10:30 srcApp_KernelDevDebugContainer.xml
                                        -rwxrwxrwx 1 www-data www-data 44029 Jan 20 10:30 srcApp_KernelDevDebugContainer.xml.meta
                                        drwxrwxrwx 2 www-data www-data 12288 Jan 20 10:21 translations
                                        drwxrwxrwx 190 www-data www-data 4096 Jan 20 10:21 twig
                                        -rwxrwxrwx 1 www-data www-data 65694 Jan 20 10:30 url_generating_routes.php
                                        -rwxrwxrwx 1 www-data www-data 8655 Jan 20 10:30 url_generating_routes.php.meta
                                        -rwxrwxrwx 1 www-data www-data 71279 Jan 20 10:30 url_matching_routes.php
                                        -rwxrwxrwx 1 www-data www-data 8655 Jan 20 10:30 url_matching_routes.php.meta
                                        -rwxrwxrwx 1 www-data www-data 29486 Jan 20 10:21 validation.php

                                        peopleinside 1 Reply Last reply Reply Quote 0
                                        • peopleinside
                                          peopleinside EX helping member @mxdevito last edited by

                                          @mxdevito to mee looks your problem is a folder / group server permission issue but I'm not a developer. I think is your server permission files issue because of what I can find on Google about the error "could not be opened in append mode: failed to open stream: Permission denied" that you get.. as you can see on the web is not an error relative to UVdesk but of any applications if there are folders and file group permission.

                                          Anyway you can try to wait a reply from developers.
                                          @Sanjeev any suggestion to give to @mxdevito ?

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

                                          M 1 Reply Last reply Reply Quote 0
                                          • M
                                            mxdevito @peopleinside last edited by mxdevito

                                            @peopleinside
                                            i update uvdesk.yalm, i replaced "localhost:8000" with the ip address

                                            thanks

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