<p>i'm developing on a dedicated root server and all works fine. 
The whole installation (database and all files except <code>/craft/storage</code>) is then pushed to an git repository and will be deployed to the production server from there.</p>

<p>The production server is a cloud server and i can not log in the CP on this server. I can load the admin page, but if i try to login, nothing happens.
The XHR-Request gives back following error:</p>

<pre><code>Server Error
session_regenerate_id(): Session object destruction failed
</code></pre>

<p>I found this <a href="https://github.com/yiisoft/yii/issues/2376" rel="nofollow">https://github.com/yiisoft/yii/issues/2376</a> but i think a custom fix to the yii framework is not the right solution for me.</p>

<p>Any suggestions?</p>

<p>thanks and brgrds 
Stephan</p>

CC BY-SA 3.0
2015-08-13T18:15:25.927Z
If you're on the latest version of Craft, then the fix you linked to is already in place. Does your cloud based service allow file system write access?
Brad Bell
CC BY-SA 3.0
2015-08-14T11:59:27.823Z
Hi Brad, sounds good, i didn't make the last update yet. Due to security issues i can't make the update on the production server (no wirte perrmissions to the app directory). Just to be sure, is there any problem if i update the development server and then transfer the changes via git to the production server?
phaetons
CC BY-SA 3.0
2015-08-14T15:27:23.940Z
Nope... that's a pretty common workflow.
Brad Bell
CC BY-SA 3.0
2015-08-20T17:58:58.857Z
Sounds like more of a server issue than craft issue.
Matteo
CC BY-SA 3.0
2015-08-21T08:41:01.500Z
After the update everything works fine. Thank you
phaetons
<control-panel><error-message><login>
Login Problem on Cloud Server
# Login Problem on Cloud Server

(Asked by: username_0 on 2015-08-13)

i'm developing on a dedicated root server and all works fine. 
The whole installation (database and all files except /craft/storage) is then pushed to an git repository and will be deployed to the production server from there.
The production server is a cloud server and i can not log in the CP on this server. I can load the admin page, but if i try to login, nothing happens.
The XHR-Request gives back following error:
Server Error
session_regenerate_id(): Session object destruction failed

I found this https://github.com/yiisoft/yii/issues/2376 but i think a custom fix to the yii framework is not the right solution for me.
Any suggestions?
thanks and brgrds 
Stephan

**Tags:** control-panel, error-message, login

> **Comments:**
> **username_1**: If you're on the latest version of Craft, then the fix you linked to is already in place. Does your cloud based service allow file system write access?  
> **username_0**: Hi Brad, sounds good, i didn't make the last update yet. Due to security issues i can't make the update on the production server (no wirte perrmissions to the app directory). Just to be sure, is there any problem if i update the development server and then transfer the changes via git to the production server?  
> **username_1**: Nope... that's a pretty common workflow.  
> **username_2**: Sounds like more of a server issue than craft issue.  
> **username_0**: After the update everything works fine. Thank you  

---

## 0 answers

