# Error when creating repository

**URL:** <https://kopia.discourse.group/t/error-when-creating-repository/2212>\
**Category:** Support\
**Created:** [August 14, 2023, 5:14pm UTC](https://kopia.discourse.group/t/error-when-creating-repository/2212 "2023-08-14T17:14:29Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jaworek](https://yyz2.discourse-cdn.com/free1/user_avatar/kopia.discourse.group/jaworek/32/753_2.png) [@jaworek](https://kopia.discourse.group/u/jaworek)\
**Post date:** [August 14, 2023, 5:14pm UTC](https://kopia.discourse.group/t/error-when-creating-repository/2212/1 "2023-08-14T17:14:29Z")

</div>

Hi, I’m trying to setup Kopia on a Raspberry Pi using Docker. I was able to setup a container (version 0.13) and connect to Web UI. I have a Synology NAS to which I would like to make backups using WebDAV. I entered address and credentials and it seems that Kopia was able to successfully connect. Then in the next step I was asked to create a repository. I entered password and waited for it to create it. At the end of the process I get:

```auto
Connect Error: INTERNAL: internal server error: connect error: unable to write blobcfg blob: PutBlob() failed for "kopia.blobcfg": unable to complete PutBlob(kopia.blobcfg) despite 10 retries: unable to complete WriteTemporaryFileAndCreateParentDirs despite 10 retries: MOVE kopia.blobcfg.f-573979976699823978: 502

```

I checked backup location on my NAS and I confirmed that some files were created/copied by Kopia.I’m not sure what might be the cause of such error. I checked logs, but I did not find information that could help me resolving this issue.

Do you know what might be the cause? Previously I was able to set Duplicati backups and did not encounter similar issues, so I don’t think there’s something wrong with my NAS or network setup. I’m using Traefik as a reverse proxy. I use ansible to setup container on the device.

 ![image](https://global.discourse-cdn.com/free1/uploads/kopia/original/1X/39b5ec1a385b8d4bc871a33e4fdcf2377d155040.jpeg)

 ![image](https://global.discourse-cdn.com/free1/uploads/kopia/original/1X/b299b38907bbde38d7a595366c2b94b17cb0d9e3.jpeg)

 ![image](https://global.discourse-cdn.com/free1/uploads/kopia/original/1X/3913189257785352909d251accad965ca60c6a9f.jpeg)

---

<div class="post-metadata">

**Author:** ![ChrisA](https://avatars.discourse-cdn.com/v4/letter/c/b77776/32.png) [@ChrisA](https://kopia.discourse.group/u/ChrisA)\
**Post date:** [August 14, 2023, 5:37pm UTC](https://kopia.discourse.group/t/error-when-creating-repository/2212/2 "2023-08-14T17:37:46Z")

</div>

Hi,

have you entered the same password as in “KOPIA\_PASSWORD” ?

Cheers,

---

<div class="post-metadata">

**Author:** ![jaworek](https://yyz2.discourse-cdn.com/free1/user_avatar/kopia.discourse.group/jaworek/32/753_2.png) [@jaworek](https://kopia.discourse.group/u/jaworek)\
**Post date:** [August 14, 2023, 8:25pm UTC](https://kopia.discourse.group/t/error-when-creating-repository/2212/3 "2023-08-14T20:25:21Z")

</div>

Hey! I tested it again with a simpler password to make sure it is correct, but I’m getting the same error.
