# Keep getting returned to log-in screen after any upgrade

**URL:** <https://forum.mautic.org/t/keep-getting-returned-to-log-in-screen-after-any-upgrade/11362>\
**Category:** Product Support\
**Created:** [October 11, 2019, 9:17pm UTC](https://forum.mautic.org/t/keep-getting-returned-to-log-in-screen-after-any-upgrade/11362 "2019-10-11T21:17:22Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![Taz](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/taz/32/865_2.png) [@Taz](https://forum.mautic.org/u/Taz)\
**Post date:** [October 11, 2019, 9:17pm UTC](https://forum.mautic.org/t/keep-getting-returned-to-log-in-screen-after-any-upgrade/11362/1 "2019-10-11T21:17:22Z")

</div>

**Your software**  
My Mautic version is: 2.15.1  
My PHP version is: 7.2.2

**Your problem**  
I’m having trouble upgrading from 2.15.1 to 2.15.3 (or 2.15.2). After performing the upgrade, everything appears to work fine. Then, after I log out, I am no longer able to log back in. I’ll enter my correct username and password, but I’ll keep getting returned to the log-in screen with no errors displayed. I simply can’t get past that screen.

**Steps I have tried to fix the problem:**

- Installing the upgrade via different methods (UI, command line, manual upload/copy) Performed most troubleshooting items suggested here: [https://johnlinhart.com/blog/uh-oh-mautic-upgrade-was-not-successful](https://johnlinhart.com/blog/uh-oh-mautic-upgrade-was-not-successful).
- Downgraded PHP to 7.1.
- Checked folder permissions.

I have everything backed up, so I’m able to return to the previous working state after each attempt. Nothing seems to work.

After extensive googling, I’ve found that others have had this problem, but I don’t see any solutions that pertain to my situation. Does anyone have any suggestions? I’ll be the first to admit, I’m not a server or code whiz. I learned just enough to get Mautic installed and working a while back – and it’s been great so far.

Thanks for the help!

_I edited the post for formatting and clarity._

---

<div class="post-metadata">

**Author:** ![bizcrony](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/bizcrony/32/409_2.png) [@bizcrony](https://forum.mautic.org/u/bizcrony)\
**Post date:** [October 12, 2019, 1:35am UTC](https://forum.mautic.org/t/keep-getting-returned-to-log-in-screen-after-any-upgrade/11362/2 "2019-10-12T01:35:23Z")

</div>

Check https or http

and also check the error logs

Try this

[https://www.mautic.org/docs/en/tips/troubleshooting.html](https://www.mautic.org/docs/en/tips/troubleshooting.html)

---

<div class="post-metadata">

**Author:** ![Taz](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/taz/32/865_2.png) [@Taz](https://forum.mautic.org/u/Taz)\
**Post date:** [October 12, 2019, 9:33pm UTC](https://forum.mautic.org/t/keep-getting-returned-to-log-in-screen-after-any-upgrade/11362/3 "2019-10-12T21:33:08Z")

</div>

Thanks for the reply!

I’ve already tried all of those things as well. No luck. No errors or warnings in the Mautic or server logs. I don’t have access to SQL logs, but can get them from Dreamhost tech support if necessary (it doesn’t seem like a database error to me). I’m happy to share the Mautic logs here if that would help!

http automatically reroutes to https as it always has. Proper SSL certificate is in place.

I did spot a new file in the Mautic root called “upgrade\_errors.txt”. It contained only one line: “The file containing the list of deleted files was not found, could not process the deleted file list.”

The most frustrating thing is the fact that it works perfectly prior to the upgrade, and appears to work immediately after the upgrade. It’s just once I’m logged out, I’m out for good.

Any other thoughts? Thanks for your time!

---

<div class="post-metadata">

**Author:** ![virgilwashere](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/virgilwashere/32/554_2.png) [@virgilwashere](https://forum.mautic.org/u/virgilwashere)\
**Post date:** [October 14, 2019, 6:30am UTC](https://forum.mautic.org/t/keep-getting-returned-to-log-in-screen-after-any-upgrade/11362/4 "2019-10-14T06:30:51Z")

</div>

> [@Taz](#):
>
> The most frustrating thing is the fact that it works perfectly prior to the upgrade, and appears to work immediately after the upgrade. It’s just once I’m logged out, I’m out for good.

Have you cleared cache?  
Hard cleared? ie

```bash
rm -rf app/cache/prod
console cache:clear

```

Also, if it’s working for you immediately after the upgrade, create a new admin level user before you log out.

---

<div class="post-metadata">

**Author:** ![Taz](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/taz/32/865_2.png) [@Taz](https://forum.mautic.org/u/Taz)\
**Post date:** [October 14, 2019, 10:12am UTC](https://forum.mautic.org/t/keep-getting-returned-to-log-in-screen-after-any-upgrade/11362/5 "2019-10-14T10:12:46Z")

</div>

Hi Virgil! Thank you for jumping in. I appreciate it.

> Have you cleared cache?  
> Hard cleared? ie

Sadly, yes, I’ve tried clearing the cache (hard clearing as well). When all else failed, I even trashed the entire folder via FTP.

> Also, if it’s working for you immediately after the upgrade, create a new admin-level user before you log out.

I’ve tried that as well. Forgot to post the odd results of that. After entering a new user’s name and admin credentials, I’ll click the usual **Save & Close** or **Apply**. At that point, the page simply reloads and the new user is not saved. It’s the same odd behavior I experience on the login page – a page refresh with no errors and no results.

As you might imagine, I’m pulling out my last remaining hairs trying to figure this out. Just for kicks, I’ve tried updating the database schema and run migrations. I’ve examined the permissions of every file and folder. I’ve sniffed my way through the .htaccess file. I’m stumped. And it’s making me CRAZY. ☹

---

<div class="post-metadata">

**Author:** ![Taz](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/taz/32/865_2.png) [@Taz](https://forum.mautic.org/u/Taz)\
**Post date:** [October 16, 2019, 3:49am UTC](https://forum.mautic.org/t/keep-getting-returned-to-log-in-screen-after-any-upgrade/11362/6 "2019-10-16T03:49:41Z")

</div>

After beating my head against the wall for over a week, I bit the bullet and rebuilt my Mautic install from scratch. Such a pain. But, at least it’s finally running 2.15.3 smoothly… almost. Having trouble with Zapier but I’ll post about that separately.

---

<div class="post-metadata">

**Author:** ![silavapi](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/silavapi/32/7424_2.png) [@silavapi](https://forum.mautic.org/u/silavapi)\
**Post date:** [October 16, 2019, 12:32pm UTC](https://forum.mautic.org/t/keep-getting-returned-to-log-in-screen-after-any-upgrade/11362/7 "2019-10-16T12:32:12Z")

</div>

Hi @taz and welcome to the Mautic Community Forums!

The only other thing I would suggest is try logging in using an incognito window, and/or clearing your _browser_ cache.

I’ve sometimes seen redirection issues happen where something gets stuck in the Chrome (which I find to be especially prone to this kind of issue) cache. Removing the cache in the browser has often fixed things for me!

---

<div class="post-metadata">

**Author:** ![Taz](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/taz/32/865_2.png) [@Taz](https://forum.mautic.org/u/Taz)\
**Post date:** [October 17, 2019, 3:10am UTC](https://forum.mautic.org/t/keep-getting-returned-to-log-in-screen-after-any-upgrade/11362/8 "2019-10-17T03:10:32Z")

</div>

@silavapi Holy smokes! I’m thrilled (and slightly stunned) to say that your suggestion of using an incognito window did the trick! Thank you. I’m adding this trick to my list of standard troubleshooting procedures. Thank you again! You are a rockstar!

---

<div class="post-metadata">

**Author:** ![silavapi](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/silavapi/32/7424_2.png) [@silavapi](https://forum.mautic.org/u/silavapi)\
**Post date:** [October 17, 2019, 9:28am UTC](https://forum.mautic.org/t/keep-getting-returned-to-log-in-screen-after-any-upgrade/11362/9 "2019-10-17T09:28:47Z")

</div>

Hooray! I’ve had that catch me out with CMS updates in the past, so it doesn’t surprise me! I expect that somewhere there’s a cached redirect that is misbehaving.

You can turn off the cache entirely on Chrome by opening developer tools and looking just at the top of the window on one of the tabs, there’s a box that says disable cache. I can’t recall which tab you have to be in but will check when I’m on my computer.

Glad you got to the bottom of it!

---

<div class="post-metadata">

**Author:** ![Taz](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/taz/32/865_2.png) [@Taz](https://forum.mautic.org/u/Taz)\
**Post date:** [October 17, 2019, 8:55pm UTC](https://forum.mautic.org/t/keep-getting-returned-to-log-in-screen-after-any-upgrade/11362/10 "2019-10-17T20:55:54Z")

</div>

Hi @silavapi! The incognito window was the missing element (since I had already cleared and disabled my cache). I don’t think I ever would have tried the incognito solution without your suggestion. Thank you again! 😀
