# Space won't start - logs not found

**URL:** <https://discuss.huggingface.co/t/space-wont-start-logs-not-found/54149>\
**Category:** Spaces\
**Created:** [September 8, 2023, 6:13pm UTC](https://discuss.huggingface.co/t/space-wont-start-logs-not-found/54149 "2023-09-08T18:13:54Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![155elkhorn](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/155elkhorn/32/19313_2.png) [@155elkhorn](https://discuss.huggingface.co/u/155elkhorn)\
**Post date:** [September 8, 2023, 6:13pm UTC](https://discuss.huggingface.co/t/space-wont-start-logs-not-found/54149/1 "2023-09-08T18:13:54Z")

</div>

Here’s the error I’m seeing for Container logs:

Error: Failed to load logs: Not Found. Logs are persisted for 30 days after the Space stops running.

---

<div class="post-metadata">

**Author:** ![radames](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/radames/32/28246_2.png) [@radames](https://discuss.huggingface.co/u/radames)\
**Post date:** [September 8, 2023, 6:24pm UTC](https://discuss.huggingface.co/t/space-wont-start-logs-not-found/54149/2 "2023-09-08T18:24:27Z")

</div>

hi @155elkhorn could you please share more details? do you have a public Space link to share? thanks

---

<div class="post-metadata">

**Author:** ![155elkhorn](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/155elkhorn/32/19313_2.png) [@155elkhorn](https://discuss.huggingface.co/u/155elkhorn)\
**Post date:** [September 8, 2023, 10:51pm UTC](https://discuss.huggingface.co/t/space-wont-start-logs-not-found/54149/3 "2023-09-08T22:51:21Z")

</div>

The space isn’t public, but here’s the link to the space: [https://huggingface.co/spaces/PikeAndVine/SD-Inpaint-POC](https://huggingface.co/spaces/PikeAndVine/SD-Inpaint-POC)

---

<div class="post-metadata">

**Author:** ![155elkhorn](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/155elkhorn/32/19313_2.png) [@155elkhorn](https://discuss.huggingface.co/u/155elkhorn)\
**Post date:** [September 8, 2023, 10:52pm UTC](https://discuss.huggingface.co/t/space-wont-start-logs-not-found/54149/4 "2023-09-08T22:52:19Z")

</div>

I went ahead and made it public for now in case that helps.

---

<div class="post-metadata">

**Author:** ![radames](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/radames/32/28246_2.png) [@radames](https://discuss.huggingface.co/u/radames)\
**Post date:** [September 8, 2023, 11:04pm UTC](https://discuss.huggingface.co/t/space-wont-start-logs-not-found/54149/5 "2023-09-08T23:04:09Z")

</div>

thanks for sharing, I duplicate your Space for testing purposes and it build and run normally

 ![image](https://us1.discourse-cdn.com/hellohellohello/original/3X/3/1/31b1f4edccbc639b56561a7868f474ee4d969899.png)  
 ![image](https://us1.discourse-cdn.com/hellohellohello/original/3X/8/7/87d307a5cb99498bd53ffa806ad8d7257b65044c.png)

Could you please try a Factory Reboot?

Another tip is, if you’re using the persistent data you set set `HF_HOME` to `/data/.huggingface` So you won’t need to re-download models every new build

 ![image](https://us1.discourse-cdn.com/hellohellohello/original/3X/0/6/068ea7e642bcd846faaa950a04c261b413082d53.jpeg)

---

<div class="post-metadata">

**Author:** ![155elkhorn](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/155elkhorn/32/19313_2.png) [@155elkhorn](https://discuss.huggingface.co/u/155elkhorn)\
**Post date:** [September 8, 2023, 11:09pm UTC](https://discuss.huggingface.co/t/space-wont-start-logs-not-found/54149/6 "2023-09-08T23:09:31Z")

</div>

I’ve done at least 5 factory reboots. I tried another one and here’s the error I’m getting:

# Build error

## Build failed with exit code: 1

Build logs:

```auto
===== Build Queued at 2023-09-08 23:07:41 / Commit SHA: fd2693c =====

--> FROM docker.io/nvidia/cuda:11.3.1-cudnn8-devel-ubuntu18.04@sha256:69cd988555eabe116f76acc754b363eee75f37674c23adb2b523f5fa32543984
DONE 29.1s

--> RUN apt-get update && apt-get install -y git make build-essential libssl-dev zlib1g-dev libbz2-dev libreadline-dev libsqlite3-dev wget curl llvm libncursesw5-dev xz-utils tk-dev libxml2-dev libxmlsec1-dev libffi-dev liblzma-dev git-lfs ffmpeg libsm6 libxext6 cmake libgl1-mesa-glx && rm -rf /var/lib/apt/lists/* && git lfs install

--> ERROR: failed commit on ref "layer-sha256:c89166c8ea49f8e433445b622e665a321cf96442e5a4b86ca0d3d2b2812a8b6d": unexpected commit digest sha256:0f494b781dd9bb64e7fff4a96d5be6526ca5b57377c14a5c2c572edbc3d8f6a4, expected sha256:c89166c8ea49f8e433445b622e665a321cf96442e5a4b86ca0d3d2b2812a8b6d: failed precondition

```

---

<div class="post-metadata">

**Author:** ![radames](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/radames/32/28246_2.png) [@radames](https://discuss.huggingface.co/u/radames)\
**Post date:** [September 8, 2023, 11:12pm UTC](https://discuss.huggingface.co/t/space-wont-start-logs-not-found/54149/7 "2023-09-08T23:12:31Z")

</div>

Sorry, that’s very odd. Did you just duplicated it and got that error? Are you using persistent storage?

---

<div class="post-metadata">

**Author:** ![155elkhorn](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/155elkhorn/32/19313_2.png) [@155elkhorn](https://discuss.huggingface.co/u/155elkhorn)\
**Post date:** [September 8, 2023, 11:18pm UTC](https://discuss.huggingface.co/t/space-wont-start-logs-not-found/54149/8 "2023-09-08T23:18:51Z")

</div>

I just made a copy like you did and it actually started, yay!

Yes, I have persistent storage turned on and I added that HF\_HOME variable like you suggested.

---

<div class="post-metadata">

**Author:** ![radames](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/radames/32/28246_2.png) [@radames](https://discuss.huggingface.co/u/radames)\
**Post date:** [September 8, 2023, 11:19pm UTC](https://discuss.huggingface.co/t/space-wont-start-logs-not-found/54149/9 "2023-09-08T23:19:54Z")

</div>

Sorry, for the issues, next week we could have @chris-rannou to have a look on the infra side thanks

---

<div class="post-metadata">

**Author:** ![155elkhorn](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/155elkhorn/32/19313_2.png) [@155elkhorn](https://discuss.huggingface.co/u/155elkhorn)\
**Post date:** [September 8, 2023, 11:20pm UTC](https://discuss.huggingface.co/t/space-wont-start-logs-not-found/54149/10 "2023-09-08T23:20:28Z")

</div>

I have quite a few scripts pointed at this space via API, so would really prefer to get it running versus moving over to the copy.

---

<div class="post-metadata">

**Author:** ![wholewhale](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/wholewhale/32/20295_2.png) [@wholewhale](https://discuss.huggingface.co/u/wholewhale)\
**Post date:** [October 12, 2023, 9:13pm UTC](https://discuss.huggingface.co/t/space-wont-start-logs-not-found/54149/11 "2023-10-12T21:13:19Z")

</div>

I am getting the same Log error and build failure. [Chat with PDF •&nbsp;OpenAI - a Hugging Face Space by wholewhale](https://huggingface.co/spaces/wholewhale/causewriter-chat-with-pdf-openai?logs=build)

---

<div class="post-metadata">

**Author:** ![radames](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/radames/32/28246_2.png) [@radames](https://discuss.huggingface.co/u/radames)\
**Post date:** [October 12, 2023, 9:30pm UTC](https://discuss.huggingface.co/t/space-wont-start-logs-not-found/54149/12 "2023-10-12T21:30:15Z")

</div>

Apologies, we had some internal issues on our infra, could you please try rebooting/factory rebooting now?

---

<div class="post-metadata">

**Author:** ![wholewhale](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/wholewhale/32/20295_2.png) [@wholewhale](https://discuss.huggingface.co/u/wholewhale)\
**Post date:** [October 12, 2023, 9:32pm UTC](https://discuss.huggingface.co/t/space-wont-start-logs-not-found/54149/13 "2023-10-12T21:32:10Z")

</div>

Getting: " 500

Internal Error - We’re working hard to fix this as soon as possible!"

(TY for the quick reply)

---

<div class="post-metadata">

**Author:** ![radames](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/radames/32/28246_2.png) [@radames](https://discuss.huggingface.co/u/radames)\
**Post date:** [October 12, 2023, 9:39pm UTC](https://discuss.huggingface.co/t/space-wont-start-logs-not-found/54149/14 "2023-10-12T21:39:44Z")

</div>

> [@wholewhale](#):
>
> Getting: " 500
> 
> Internal Error - We’re working hard to fix this as soon as possible!"

Apologies, we’re in recovery mode, I’ll ping when things are back

---

<div class="post-metadata">

**Author:** ![radames](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/radames/32/28246_2.png) [@radames](https://discuss.huggingface.co/u/radames)\
**Post date:** [October 13, 2023, 12:39am UTC](https://discuss.huggingface.co/t/space-wont-start-logs-not-found/54149/15 "2023-10-13T00:39:20Z")

</div>

Apologies for the interruption, it should be back to normal now.

---

<div class="post-metadata">

**Author:** ![SanjanaKannan](https://avatars.discourse-cdn.com/v4/letter/s/ce7236/32.png) [@SanjanaKannan](https://discuss.huggingface.co/u/SanjanaKannan)\
**Post date:** [October 13, 2023, 6:59am UTC](https://discuss.huggingface.co/t/space-wont-start-logs-not-found/54149/16 "2023-10-13T06:59:25Z")

</div>

@radames any idea by when it will be back to normal? I’m still facing the error

---

<div class="post-metadata">

**Author:** ![155elkhorn](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/155elkhorn/32/19313_2.png) [@155elkhorn](https://discuss.huggingface.co/u/155elkhorn)\
**Post date:** [October 14, 2023, 3:11pm UTC](https://discuss.huggingface.co/t/space-wont-start-logs-not-found/54149/17 "2023-10-14T15:11:02Z")

</div>

Spaces would not start for me this morning, but after factory resets they are running.

---

<div class="post-metadata">

**Author:** ![joselobenitezg](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/joselobenitezg/32/22024_2.png) [@joselobenitezg](https://discuss.huggingface.co/u/joselobenitezg)\
**Post date:** [August 27, 2024, 6:12am UTC](https://discuss.huggingface.co/t/space-wont-start-logs-not-found/54149/18 "2024-08-27T06:12:23Z")

</div>

I have the same situation right now! ZeroGPU just freeze in ‘Running’

---

<div class="post-metadata">

**Author:** ![joselobenitezg](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/joselobenitezg/32/22024_2.png) [@joselobenitezg](https://discuss.huggingface.co/u/joselobenitezg)\
**Post date:** [August 27, 2024, 6:17am UTC](https://discuss.huggingface.co/t/space-wont-start-logs-not-found/54149/19 "2024-08-27T06:17:21Z")

</div>

stuck in last commit [Sapiens Demo - a Hugging Face Space by joselobenitezg](https://huggingface.co/spaces/joselobenitezg/sapiens-demo)

---

<div class="post-metadata">

**Author:** ![joselobenitezg](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/joselobenitezg/32/22024_2.png) [@joselobenitezg](https://discuss.huggingface.co/u/joselobenitezg)\
**Post date:** [August 27, 2024, 6:09pm UTC](https://discuss.huggingface.co/t/space-wont-start-logs-not-found/54149/20 "2024-08-27T18:09:49Z")

</div>

@julien-c any idea?

[Next page](https://discuss.huggingface.co/t/space-wont-start-logs-not-found/54149.md?page=2)
