uvdesk / community-skeleton

UVdesk Opensource Community Helpdesk Project built for all to make a Full Ticketing Support System along with many more other features.
https://www.uvdesk.com
MIT License
7.18k stars 448 forks source link

301 Moved Permanently Error #641

Closed bigzolly closed 1 year ago

bigzolly commented 1 year ago

Hi hello everybody!

I would like to get help from you if that is possible as I cannot narrow it down anywhere now. The error itself comes up, when I try to convert emails to tickets. Everything seems fine, it opens the imap stream reads the email, recognizes that it is new and tries to convert it, but whenever it does it threws at the end a 301 Error - Moved permanently.

Here is the full cycle:

1. Processing uvdesk mailbox configuration.

  1. Opening imap stream...

  2. IMAP stream opened.

  3. Fetching Email collection since 19 January 2023.

  4. Total fetched email -> 1

  5. Starting to convert Emails into Tickets ->

    =============================================

    Converting email 1 out of 1.

    Error -> 301 Moved Permanently

It just happened from one day to another without changing anything.

What I have already tried:

Does any1 of you has any idea, what I am missing, or why did it just stopped working? Thanks for your time/effort in advance! bigzolly

komal-sh-27 commented 1 year ago

Can you please share your screenshots of the swiftmailer, mailbox, and email settings option. Also, let us know which version of uvdesk you are using.

bigzolly commented 1 year ago

Hi hello! Sorry for the late reply.

First of all, it's UVDesk 1.1.0

I attached what you requested, I have removed the whole pack, with it's db dropped, everything cleared, even I purged anything that is connected to php and reconfigured completely with 8.1, but still not working. I'm out of any ideas. Completely.

The support from their ticketing sent me a code: composer require uvdesk/mailbox-component

Well.. that was not working at all. Threw out a whole bunch of error messages, that some of the items requiring php7.4 and other stuff, so I tried to do a

composer update

That was successfull, and now the whole email module has changed, however now I am facing with an another issue... which you can see on 6.png.

I tried to narrow it down where might be in the issue in the code, but I was not able to find it.

I am kinda curious if you guys have any idea, what's going on, as now it seems it is a code problem (huge amount of deprecation messages next to it)

1 2 3 4 5 6

komal-sh-27 commented 1 year ago

@bigzolly

I would suggest you to re-setup the helpdesk project using the latest development release (v1.2.x-dev) using the following command:

$ composer create-project uvdesk/community-skeleton:dev-master;

The new development release has moved away from the swiftmailer package, and has centralised the mailbox configurations all in one place making it much more convenient to manage your settings. So you shouldn't be encountering this issue anymore after moving to the latest development release.

We have checked your ticket is created on our support tickets system.

Now, we are closing this issue if you are facing the same error then reply on the same ticket id: 29279