# Can't download assets

**URL:** <https://forums.screenly.io/t/cant-download-assets/1083>\
**Category:** Anthias\
**Created:** [April 3, 2023, 3:44pm UTC](https://forums.screenly.io/t/cant-download-assets/1083 "2023-04-03T15:44:13Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![pepeu](https://avatars.discourse-cdn.com/v4/letter/p/f04885/32.png) [@pepeu](https://forums.screenly.io/u/pepeu)\
**Post date:** [April 3, 2023, 3:44pm UTC](https://forums.screenly.io/t/cant-download-assets/1083/1 "2023-04-03T15:44:13Z")

</div>

Pretty much the title. I always get: The operation failed. Please reload the page and try again.  
This is on both images and movieclips. On both Pi 3 and 4. And no, reloading the page doesn’t help. This is not a major issue, just something I noticed.

---

<div class="post-metadata">

**Author:** ![nicomiguelino](https://avatars.discourse-cdn.com/v4/letter/n/e56c9b/32.png) [@nicomiguelino](https://forums.screenly.io/u/nicomiguelino)\
**Post date:** [April 12, 2023, 5:40pm UTC](https://forums.screenly.io/t/cant-download-assets/1083/2 "2023-04-12T17:40:35Z")

</div>

Hello, @pepeu. I’ve already fixed the issue in [Screenly/Anthias#1792](https://github.com/Screenly/Anthias/pull/1792).

The issue has something to do with the download data not being JSON-serializable because `content` is in bytes. This was caused by the Python 2 to 3 migration as well.

You can try running `./bin/upgrade_containers.sh` again and let’s see what will happen.  
I’d love to hear back from you.

Thank you for your patience! ☺

---

<div class="post-metadata">

**Author:** ![pepeu](https://avatars.discourse-cdn.com/v4/letter/p/f04885/32.png) [@pepeu](https://forums.screenly.io/u/pepeu)\
**Post date:** [April 14, 2023, 11:00am UTC](https://forums.screenly.io/t/cant-download-assets/1083/3 "2023-04-14T11:00:40Z")

</div>

I did, it took about two eternities. (O: It said some time-out errors occured, and said something about that I needed to:  
docker compose build anthias-server anthias-websocket redis anthias-viewer  
It’s up and running again, but I still can’t download images. Trying the docker compose blabla… (I have no idea what that is or what it does) now. Any idea how long it will take? It’s still running though.

---

<div class="post-metadata">

**Author:** ![pepeu](https://avatars.discourse-cdn.com/v4/letter/p/f04885/32.png) [@pepeu](https://forums.screenly.io/u/pepeu)\
**Post date:** [April 14, 2023, 11:17am UTC](https://forums.screenly.io/t/cant-download-assets/1083/4 "2023-04-14T11:17:21Z")

</div>

```auto
[+] Building 129.0s (2/2)
 => [internal] load .dockerignore 48.4s
 => => transferring context: 405B 23.5s
 => [internal] load build definition from Dockerfile.redis 34.5s
 => => transferring dockerfile: 2B 15.2s
[+] Building 132.5s (2/2) FINISHED
 => [internal] load build definition from Dockerfile.server 41.0s
 => => transferring dockerfile: 2B 15.1s
 => [internal] load .dockerignore 52.0s
 => => transferring context: 405B 23.4s
failed to run Build function: failed to read dockerfile: open /var/lib/docker/tmp/buildkit-mount4225287617/Dockerfile.server: no such file or directory

```

---

<div class="post-metadata">

**Author:** ![pepeu](https://avatars.discourse-cdn.com/v4/letter/p/f04885/32.png) [@pepeu](https://forums.screenly.io/u/pepeu)\
**Post date:** [April 14, 2023, 11:40am UTC](https://forums.screenly.io/t/cant-download-assets/1083/5 "2023-04-14T11:40:04Z")

</div>

I still can’t download assets though.

---

<div class="post-metadata">

**Author:** ![nicomiguelino](https://avatars.discourse-cdn.com/v4/letter/n/e56c9b/32.png) [@nicomiguelino](https://forums.screenly.io/u/nicomiguelino)\
**Post date:** [April 14, 2023, 4:49pm UTC](https://forums.screenly.io/t/cant-download-assets/1083/6 "2023-04-14T16:49:07Z")

</div>

Hello, @pepeu. At the moment, you can’t run the `docker compose build` command.  
Running `./bin/upgrade_containers.sh` should work and pull the latest Docker images from Docker Hub. For instance, you can take a look at this [screenly/anthias-server](https://hub.docker.com/r/screenly/anthias-server/tags?page=1&name=latest-pi3) image.

Have you checked the console output for the `anthias-viewer` and `anthias-server` containers? Try running the following commands:

```bash
cd ~/screenly

docker compose ps -a # show all running and stopped containers

docker compose logs -f anthias-server
docker compose logs -f anthias-viewer

```

Kindly let me know once you’ve got `anthias-server` and `anthias-viewer` logs.

---

<div class="post-metadata">

**Author:** ![nicomiguelino](https://avatars.discourse-cdn.com/v4/letter/n/e56c9b/32.png) [@nicomiguelino](https://forums.screenly.io/u/nicomiguelino)\
**Post date:** [April 14, 2023, 5:29pm UTC](https://forums.screenly.io/t/cant-download-assets/1083/7 "2023-04-14T17:29:31Z")

</div>

If running the commands above won’t work, you can download backup files (for later) and re-run the install script:

#### Part 1 - Download the backup file

- Go to the Anthias web UI.
- Click **_Settings_** in the nav bar.
- Scroll down to the **_Backup_** section.
- Click the **_Get Backup_** button.
- You should be able to download a `.tar.gz` archive file (for instance, `screenly-backup-[timestamp].tar.gz`).

Kindly refer to the screenshot below for reference:

 ![image](https://canada1.discourse-cdn.com/flex029/uploads/screenly/original/1X/7b14e4a0f3adc6c6b654fe88ee3f1947b064a205.png)

#### Part 2 - Re-run the install script

Run the following commands:

```bash
cd ~/screenly
bash <(curl -sL https://install-anthias.srly.io)

```

Do take note that the same command is being used for upgrading Anthias, just in case running `./bin/upgrade_containers.sh` doesn’t work.

If running the command above won’t work, try re-flashing the micro-SD card with Raspberry Pi OS Lite, and then re-installing Anthias from scratch. (Just make sure that you’ve downloaded a backup file.)
