<p>This was a permissions problem, I fixed it by going nuclear and setting the files owner and group to root.</p>

<pre><code>config.vm.synced_folder ".", "/vagrant",
:owner =&gt; 'root',
:group =&gt; 'root',
:mount_options =&gt; ['dmode=777,fmode=666']
</code></pre>

CC BY-SA 3.0
2014-10-07T22:36:13.650Z
2014-10-07T22:36:13.650Z
Curtis
<p>We were experiencing this issue, as well as the randomly logging out issue.</p>

<p>As <a href="https://craftcms.stackexchange.com/a/6876/2246">I answered on that question</a>, we fixed both these issues by switching session.auto_start to Off</p>

<pre><code>session.auto_start = 0
</code></pre>

CC BY-SA 3.0
2015-01-30T14:34:09.060Z
2015-01-30T14:34:09.060Z
2017-04-13T12:51:00.200Z
OddEssay
<p>Try deleting your entire <code>craft/storage/runtime</code> folder. If something got out of sync with your session data, this will allow it to "start from scratch".</p>

CC BY-SA 3.0
2014-09-25T05:32:25.373Z
2014-09-25T05:32:25.373Z
Lindsey D
<p>Every minute or so I get the "Your session has ended" popup in the admin. Entering my password just pops the message back up. If I reload the page I'm still logged in.</p>

<p>I'm running Craft in vagrant so maybe it's a permissions problem?</p>

<p>It could be related to <a href="https://craftcms.stackexchange.com/questions/952/craft-constantly-logging-out-from-admin-area">this question</a> since I had that exact problem but setting the permissions in vagrant fixed that particular problem.</p>

<p>I've tried the requireUserAgentAndIpForSession, overridePHPSessionLocation, and userSessionDuration config settings, but none of them seem to solve the popup.</p>

CC BY-SA 3.0
2014-09-27T20:02:14.270Z
Hey Curtis, I am having the same problem too (and I'm the one who posted the question you linked to). Any luck? Also if you don't mind sharing – what permissions settings in Vagrant solved that other problem?
Jason D
CC BY-SA 3.0
2014-10-07T22:40:03.390Z
Yeah I wound up setting owner/group to root. None of Craft's config settings did anything. I'm sure there is a correct owner/group but I didn't find it. Maybe try vagrant/www-data
Curtis
<users><control-panel><config><error-message>
Getting "Session Ended" popup in admin
# Getting "Session Ended" popup in admin

(Asked by: username_0 on 2014-09-24)

Every minute or so I get the "Your session has ended" popup in the admin. Entering my password just pops the message back up. If I reload the page I'm still logged in.

I'm running Craft in vagrant so maybe it's a permissions problem?

It could be related to [this question](https://craftcms.stackexchange.com/questions/952/craft-constantly-logging-out-from-admin-area) since I had that exact problem but setting the permissions in vagrant fixed that particular problem.

I've tried the requireUserAgentAndIpForSession, overridePHPSessionLocation, and userSessionDuration config settings, but none of them seem to solve the popup.

**Tags:** users, control-panel, config, error-message

> **Comments:**
> **username_1**: Hey username_0, I am having the same problem too (and I'm the one who posted the question you linked to). Any luck? Also if you don't mind sharing – what permissions settings in Vagrant solved that other problem?  
> **username_0**: Yeah I wound up setting owner/group to root. None of Craft's config settings did anything. I'm sure there is a correct owner/group but I didn't find it. Maybe try vagrant/www-data  

---

## 3 answers

### Answer by username_0 on 2014-10-07. Score: 1 | Accepted answer

This was a permissions problem, I fixed it by going nuclear and setting the files owner and group to root.
config.vm.synced_folder ".", "/vagrant",
:owner => 'root',
:group => 'root',
:mount_options => ['dmode=777,fmode=666']


---

### Answer by username_2 on 2015-01-30. Score: 4

We were experiencing this issue, as well as the randomly logging out issue.
As I answered on that question, we fixed both these issues by switching session.auto_start to Off
session.auto_start = 0


---

### Answer by username_3 on 2014-09-25. Score: 2

Try deleting your entire `craft/storage/runtime` folder. If something got out of sync with your session data, this will allow it to "start from scratch".


---

