# \[SOLVED\] Clone cockpit to other server

**URL:** <https://discourse.getcockpit.com/t/solved-clone-cockpit-to-other-server/1314>\
**Category:** Support\
**Created:** [April 2, 2020, 1:11pm UTC](https://discourse.getcockpit.com/t/solved-clone-cockpit-to-other-server/1314 "2020-04-02T13:11:44Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![alessandro92](https://avatars.discourse-cdn.com/v4/letter/a/0ea827/32.png) [@alessandro92](https://discourse.getcockpit.com/u/alessandro92)\
**Post date:** [April 2, 2020, 1:11pm UTC](https://discourse.getcockpit.com/t/solved-clone-cockpit-to-other-server/1314/1 "2020-04-02T13:11:44Z")

</div>

Hello,  
i am trying to move my installation to another server but without success.

My installation uses SQLlite and I read that it was enough to copy all the files and move but it doesn’t work.

The login screen always gives me {ERROR}

Why does it do this?

 ![Annotazione 2020-04-02 151123](https://canada1.discourse-cdn.com/flex030/uploads/getcockpit/original/1X/10ed9b15701e2bf4487d61dd68cd10d969a9f3e3.png)

---

<div class="post-metadata">

**Author:** ![raffaelj](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.getcockpit.com/raffaelj/32/331_2.png) [@raffaelj](https://discourse.getcockpit.com/u/raffaelj)\
**Post date:** [April 2, 2020, 4:43pm UTC](https://discourse.getcockpit.com/t/solved-clone-cockpit-to-other-server/1314/2 "2020-04-02T16:43:22Z")

</div>

We need some more information…

Is it a shared host? Did you try to adjust some constants via `defines.php` to fix wrong path detections?

Due to the placeholder `{ ERROR }` I’m sure, that the required scripts couldn’t be loaded. Have a look at the network tab of your browser dev console. The assets point to a wrong location.

---

<div class="post-metadata">

**Author:** ![alessandro92](https://avatars.discourse-cdn.com/v4/letter/a/0ea827/32.png) [@alessandro92](https://discourse.getcockpit.com/u/alessandro92)\
**Post date:** [April 3, 2020, 8:03am UTC](https://discourse.getcockpit.com/t/solved-clone-cockpit-to-other-server/1314/3 "2020-04-03T08:03:25Z")

</div>

Hi,  
I solved the import of the files.

In order not to go crazy in case even those with the same problem.

I found the error by creating the .zip folder from my Windows PC, noting that decompression on the server was putting incorrect permissions.

I have done compression from staging hosting and imported to other server and everything is working properly.

I ask if anyone knows how to do it even makes a simple folder on the pc

---

<div class="post-metadata">

**Author:** ![raffaelj](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.getcockpit.com/raffaelj/32/331_2.png) [@raffaelj](https://discourse.getcockpit.com/u/raffaelj)\
**Post date:** [April 4, 2020, 10:49am UTC](https://discourse.getcockpit.com/t/solved-clone-cockpit-to-other-server/1314/4 "2020-04-04T10:49:35Z")

</div>

Ah, I see. I had these Windows problems, too. My workaround is to do as much as possible server side. I clone/download cockpit and all addons via ssh and then I copy only the config and storage folders. This saves a lot of time, because SFTP is very slow and it resolves the Windows permission problems on the fly.
