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

                    @mxdevito have hou solved all errors?

                    šŸ’¬ 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
                      yes sir, thanks for the help, and sorry for my errors.

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

                        @mxdevito glad to know and read you solved.

                        šŸ’¬ 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
                        • First post
                          Last post