UVdesk

    • Register
    • Login
    • Search
    • Recent

    Solved An unexpected error fetching email

    Technical Help
    2
    14
    66
    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
      mikem72 last edited by

      Re: An unexpected error fetching email

      I am having the exact same issue; and have found no solution yet in the forums. There are references to mailparse; but it is present and enabled.

      [2023-05-18T07:36:07.945968-04:00] php.CRITICAL: Uncaught Error: Call to a member function getTicket() on null {"exception":"[object] (Error(code: 0): Call to a member function getTicket() on null at /var/www/html/uvdesk/vendor/uvdesk/mailbox-component/Services/MailboxService.php:413)"} []

      This is new install of Debian 11 and new install of PHP 7.4 with clean install of UVDesk running in prod mode.

      peopleinside 1 Reply Last reply Reply Quote 0
      • peopleinside
        peopleinside community specialist mod admin @mikem72 last edited by

        @mikem72 your post is awaiting a reply from UVdesk staff.
        Sounds important to me made evidence in this discussion that using PHP 7.4 can be a security issue as PHP 7.4 is old and no more supported.

        You can find more info at: https://www.php.net/supported-versions.php

        UVdesk passionate | Community moderator | External consultant

        If you need help with the community you can visit https://helpdesk.peopleinside.it/it/blog/uv
        You can always get in touch also with the UVdesk team
        https://support.uvdesk.com/en/

        1 Reply Last reply Reply Quote 0
        • M
          mikem72 last edited by

          I don't want to compicate the diagnosis - I have tried this also before with PHP 8.1 and had the same trouble. Either way, I am using the latest mailparse extension.

          System => Linux uvdesk.journalroot.local 5.10.0-23-amd64 #1 SMP Debian 5.10.179-1 (2023-05-12) x86_64
          Build Date => Feb 22 2023 20:07:47
          Server API => Command Line Interface
          Virtual Directory Support => disabled
          Configuration File (php.ini) Path => /etc/php/7.4/cli
          Loaded Configuration File => /etc/php/7.4/cli/php.ini
          Scan this dir for additional .ini files => /etc/php/7.4/cli/conf.d
          Additional .ini files parsed => /etc/php/7.4/cli/conf.d/10-mysqlnd.ini,
          /etc/php/7.4/cli/conf.d/10-opcache.ini,
          /etc/php/7.4/cli/conf.d/10-pdo.ini,
          /etc/php/7.4/cli/conf.d/15-xml.ini,
          /etc/php/7.4/cli/conf.d/20-bcmath.ini,
          /etc/php/7.4/cli/conf.d/20-calendar.ini,
          /etc/php/7.4/cli/conf.d/20-ctype.ini,
          /etc/php/7.4/cli/conf.d/20-curl.ini,
          /etc/php/7.4/cli/conf.d/20-dom.ini,
          /etc/php/7.4/cli/conf.d/20-exif.ini,
          /etc/php/7.4/cli/conf.d/20-ffi.ini,
          /etc/php/7.4/cli/conf.d/20-fileinfo.ini,
          /etc/php/7.4/cli/conf.d/20-ftp.ini,
          /etc/php/7.4/cli/conf.d/20-gd.ini,
          /etc/php/7.4/cli/conf.d/20-gettext.ini,
          /etc/php/7.4/cli/conf.d/20-iconv.ini,
          /etc/php/7.4/cli/conf.d/20-imap.ini,
          /etc/php/7.4/cli/conf.d/20-intl.ini,
          /etc/php/7.4/cli/conf.d/20-json.ini,
          /etc/php/7.4/cli/conf.d/20-mbstring.ini,
          /etc/php/7.4/cli/conf.d/20-mysqli.ini,
          /etc/php/7.4/cli/conf.d/20-pdo_mysql.ini,
          /etc/php/7.4/cli/conf.d/20-phar.ini,
          /etc/php/7.4/cli/conf.d/20-posix.ini,
          /etc/php/7.4/cli/conf.d/20-readline.ini,
          /etc/php/7.4/cli/conf.d/20-shmop.ini,
          /etc/php/7.4/cli/conf.d/20-simplexml.ini,
          /etc/php/7.4/cli/conf.d/20-sockets.ini,
          /etc/php/7.4/cli/conf.d/20-sysvmsg.ini,
          /etc/php/7.4/cli/conf.d/20-sysvsem.ini,
          /etc/php/7.4/cli/conf.d/20-sysvshm.ini,
          /etc/php/7.4/cli/conf.d/20-tokenizer.ini,
          /etc/php/7.4/cli/conf.d/20-xmlreader.ini,
          /etc/php/7.4/cli/conf.d/20-xmlwriter.ini,
          /etc/php/7.4/cli/conf.d/20-xsl.ini,
          /etc/php/7.4/cli/conf.d/20-zip.ini,
          /etc/php/7.4/cli/conf.d/25-mailparse.ini

          php -ini

          curl

          cURL support => enabled
          cURL Information => 7.74.0
          Age => 7
          Features
          AsynchDNS => Yes
          CharConv => No
          Debug => No

          imap

          IMAP c-Client Version => 2007f
          SSL Support => enabled
          Kerberos Support => enabled

          Directive => Local Value => Master Value
          imap.enable_insecure_rsh => Off => Off

          mailparse

          mailparse support => enabled
          Extension Version => 3.1.4

          Directive => Local Value => Master Value
          mailparse.def_charset => us-ascii => us-ascii

          mbstring

          Multibyte Support => enabled
          Multibyte string engine => libmbfl
          HTTP input encoding translation => disabled
          libmbfl version => 1.3.2

          mbstring extension makes use of "streamable kanji code filter and converter", which is distributed under the GNU Lesser General Public License version 2.1.

          Multibyte (japanese) regex support => enabled
          Multibyte regex (oniguruma) version => 6.9.6

          Directive => Local Value => Master Value
          mbstring.detect_order => no value => no value
          mbstring.encoding_translation => Off => Off
          mbstring.func_overload => 0 => 0
          mbstring.http_input => no value => no value
          mbstring.http_output => no value => no value
          mbstring.http_output_conv_mimetypes => ^(text/|application/xhtml+xml) => ^(text/|application/xhtml+xml)
          mbstring.internal_encoding => no value => no value
          mbstring.language => neutral => neutral
          mbstring.regex_retry_limit => 1000000 => 1000000
          mbstring.regex_stack_limit => 100000 => 100000
          mbstring.strict_detection => Off => Off
          mbstring.substitute_character => no value => no value

          1 Reply Last reply Reply Quote 0
          • M
            mikem72 last edited by

            This is the error in prod mode - same error in dev mode, but it stops after first email.

            Screenshot 2023-05-18 083341.jpg

            1 Reply Last reply Reply Quote 0
            • M
              mikem72 last edited by

              As a note, I have installed PHP 8.1 - all features customized so far are working as before, but same error with fetching mail.

              peopleinside 1 Reply Last reply Reply Quote 1
              • peopleinside
                peopleinside community specialist mod admin @mikem72 last edited by

                @mikem72 thanks for the update, let's wait a UVdesk staff reply. It can take longer than mine 🙂 but should arrive.

                UVdesk passionate | Community moderator | External consultant

                If you need help with the community you can visit https://helpdesk.peopleinside.it/it/blog/uv
                You can always get in touch also with the UVdesk team
                https://support.uvdesk.com/en/

                M 1 Reply Last reply Reply Quote 0
                • peopleinside
                  peopleinside community specialist mod admin last edited by

                  @Komal-Sharma

                  UVdesk passionate | Community moderator | External consultant

                  If you need help with the community you can visit https://helpdesk.peopleinside.it/it/blog/uv
                  You can always get in touch also with the UVdesk team
                  https://support.uvdesk.com/en/

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

                    @peopleinside thanks people....

                    This has potential for good open source product but my concern is how much support for downloaded software when they now offer SaaS. We see how it goes.

                    Mike

                    peopleinside 1 Reply Last reply Reply Quote 1
                    • peopleinside
                      peopleinside community specialist mod admin @mikem72 last edited by peopleinside

                      @mikem72 said in An unexpected error fetching email:

                      SaaS

                      Yes maube software update are Frozen to 2022 for now. Open source has not been updated anymore in 2023 but maybe It will be 🙂 we hope 🙂

                      For the reply to your post sorry for the delay, i tagged a staff member.

                      UVdesk passionate | Community moderator | External consultant

                      If you need help with the community you can visit https://helpdesk.peopleinside.it/it/blog/uv
                      You can always get in touch also with the UVdesk team
                      https://support.uvdesk.com/en/

                      M 1 Reply Last reply Reply Quote 0
                      • peopleinside
                        peopleinside community specialist mod admin last edited by

                        @mikem72 if you have urgency to try to resolve you can try to install the project by using FTP downloading from https://cdn.uvdesk.com/uvdesk/downloads/opensource/uvdesk-community-current-stable.zip

                        Then follow the wizard.
                        How did you installed UVdesk?

                        I use UVdesk on PHP 8.1 as PHP 8,2 is not yet supported.
                        Maybe if you installed UVdesk from Docker or other platform the package can have this error you are facing.

                        If you dont wanna try a parallel new install to see if the error is solved please hold on for a UVdesk team reply 🙂

                        I'm sorry to be unable to provide a reply to your specific error 🙂

                        UVdesk passionate | Community moderator | External consultant

                        If you need help with the community you can visit https://helpdesk.peopleinside.it/it/blog/uv
                        You can always get in touch also with the UVdesk team
                        https://support.uvdesk.com/en/

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

                          @peopleinside I first installed with composer and php 7.4 - mailer worked and imap worked. Problem I had then was converting project to prod mode and permissions issues.

                          I then installed with composer and PHP 8.1 - this problem started. Reverted back to PHP 7.4 - same problem.

                          Then I did clean install using ZIP file and PHP 7.4 - same trouble - same permissions trouble also in prod mode.

                          Now I build new VM - installed Debian 11 clean with repository 7.4 PHP - same as original build that worked. Same trouble.

                          Now I have again installed PHP 8.1 because of security advisement. Same troouble still.

                          peopleinside M 2 Replies Last reply Reply Quote 0
                          • peopleinside
                            peopleinside community specialist mod admin @mikem72 last edited by

                            @mikem72 I'm sorry to hear that.
                            Can you see if this topic with some permission suggestion cal help?
                            https://forums.uvdesk.com/topic/2002/file-permissions-in-the-case-you-have-throbles-installing-uvdesk

                            UVdesk passionate | Community moderator | External consultant

                            If you need help with the community you can visit https://helpdesk.peopleinside.it/it/blog/uv
                            You can always get in touch also with the UVdesk team
                            https://support.uvdesk.com/en/

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

                              @mikem72 Thanks people - I will check into it; but want to keep this default as much as possible until mailer and imap work. I will wait to hear from these support people on the original issue, as still unresolved.

                              peopleinside 1 Reply Last reply Reply Quote 1
                              • peopleinside
                                peopleinside community specialist mod admin @mikem72 last edited by

                                @mikem72 I'm mark this topic as solved as no replies seems has come from UVdesk staff. If you still need help you can try to reach UVdesk by opening a ticket https://support.uvdesk.com/en/customer/create-ticket/

                                I'm sad to see no reply was made to this topic.

                                UVdesk passionate | Community moderator | External consultant

                                If you need help with the community you can visit https://helpdesk.peopleinside.it/it/blog/uv
                                You can always get in touch also with the UVdesk team
                                https://support.uvdesk.com/en/

                                1 Reply Last reply Reply Quote 0
                                • Topic has been marked as solved  peopleinside peopleinside 
                                • First post
                                  Last post