# After an unsuccesful database import to localhost all databases stopped working

**URL:** <https://community.localwp.com/t/after-an-unsuccesful-database-import-to-localhost-all-databases-stopped-working/9103>\
**Category:** Support\
**Created:** [October 27, 2018, 2:08pm UTC](https://community.localwp.com/t/after-an-unsuccesful-database-import-to-localhost-all-databases-stopped-working/9103 "2018-10-27T14:08:42Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![kevinmamaqi](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/kevinmamaqi/32/4446_2.png) [@kevinmamaqi](https://community.localwp.com/u/kevinmamaqi)\
**Post date:** [October 27, 2018, 2:08pm UTC](https://community.localwp.com/t/after-an-unsuccesful-database-import-to-localhost-all-databases-stopped-working/9103/1 "2018-10-27T14:08:42Z")

</div>

I receive the following message in all my sites:

```
Warning: session_regenerate_id(): write failed: No space left on device (28) in /etc/scripts/local-adminer.php on line *571*

Warning: session_regenerate_id(): Session write failed. ID: files (path: ) in /etc/scripts/local-adminer.php on line *571*

```

Do you know how to solve this issue? - It has blocked me completely.

 ![31](https://us1.discourse-cdn.com/flex019/uploads/lwpforums/original/2X/5/5f3dc51b1f8c4b2ed5e466dce8c90bab7ee61b57.png)

---

<div class="post-metadata">

**Author:** ![jamieschmid](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/jamieschmid/32/8420_2.png) [@jamieschmid](https://community.localwp.com/u/jamieschmid)\
**Post date:** [September 19, 2019, 6:25pm UTC](https://community.localwp.com/t/after-an-unsuccesful-database-import-to-localhost-all-databases-stopped-working/9103/2 "2019-09-19T18:25:37Z")

</div>

> [@kevinmamaqi](#):
>
> session\_regenerate\_id(): write failed: No space left on device

It means the server/VM has run out of disk space. Maybe you have too many sites in Local or they have huge databases? According to [this post](https://localbyflywheel.com/community/t/critical-error-when-stopping-a-site-now-local-has-completely-stopped-working/6521/2), as of April 2017, Local defaults the VM disk size to 120GB. So if you exceed that in total of all your sites you can get this error. Try the script here to fix the issue, changing the amount on line 10 to fit your situation.

---

<div class="post-metadata">

**Author:** ![system](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/system/32/1_2.png) [@system](https://community.localwp.com/u/system)\
**Post date:** [August 25, 2020, 6:35pm UTC](https://community.localwp.com/t/after-an-unsuccesful-database-import-to-localhost-all-databases-stopped-working/9103/3 "2020-08-25T18:35:39Z")

</div>


