# When i rebuild it stoped on get acme.sh script

**URL:** https://meta.discourse.org/t/when-i-rebuild-it-stoped-on-get-acme-sh-script/387131
**Category:** Self-hosting
**Created:** [October 30, 2025, 2:11am UTC](https://meta.discourse.org/t/when-i-rebuild-it-stoped-on-get-acme-sh-script/387131 "2025-10-30T02:11:21Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![aksoforever](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/aksoforever/32/502615_2.png) [@aksoforever](https://meta.discourse.org/u/aksoforever)
#### Post date: [October 30, 2025, 2:11am UTC](https://meta.discourse.org/t/when-i-rebuild-it-stoped-on-get-acme-sh-script/387131/1 "2025-10-30T02:11:21Z")

</div>

hello, discourse

when i rebuild, it stop on curl [https://raw.githubusercontent.com/acmesh-official/acme.sh/3.0.6/acme.sh](https://raw.githubusercontent.com/acmesh-official/acme.sh/3.0.6/acme.sh) \> /opt/acme.sh  
my server is in chinese,  
how can i do on this with my server.

 ![image](https://global.discourse-cdn.com/meta/original/4X/a/6/5/a65df2791c57215053770c529a3c9555e30f261f.png)

---

<div class="post-metadata">

### Author: ![aksoforever](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/aksoforever/32/502615_2.png) [@aksoforever](https://meta.discourse.org/u/aksoforever)
#### Post date: [October 30, 2025, 2:26am UTC](https://meta.discourse.org/t/when-i-rebuild-it-stoped-on-get-acme-sh-script/387131/2 "2025-10-30T02:26:36Z")

</div>

two problem：this precompile file is also take more time in my chinese server, is it possible skip it and make core build directoly

 ![image](https://global.discourse-cdn.com/meta/original/4X/b/0/2/b029c667b4f2153575fb211a623420d3465f9f7c.png)

---

<div class="post-metadata">

### Author: ![pangbo](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pangbo/32/538562_2.png) [@pangbo](https://meta.discourse.org/u/pangbo)
#### Post date: [October 30, 2025, 7:45am UTC](https://meta.discourse.org/t/when-i-rebuild-it-stoped-on-get-acme-sh-script/387131/3 "2025-10-30T07:45:46Z")

</div>

You may need a proxy when rebuilding on a server in mainland China.

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [October 30, 2025, 3:29pm UTC](https://meta.discourse.org/t/when-i-rebuild-it-stoped-on-get-acme-sh-script/387131/4 "2025-10-30T15:29:36Z")

</div>

> [@aksoforever](#):
>
> is it possible skip it and make core build directoly

Here’s the announcement about the precompiled assets

> [@Introducing pre-compiled JS assets for self-hosters](https://meta.discourse.org/t/introducing-pre-compiled-js-assets-for-self-hosters/376700/1):
>
> ### Can I opt out?
> 
> Yes! If you prefer to build your own assets and have a sufficiently powerful server, set `DISCOURSE_DOWNLOAD_PRE_BUILT_ASSETS: 0` in your `app.yml` file.

As suggested, you’ll likely need a proxy or some other way to get acme. If necessary, you could fork or otherwise modify web.letsencrypt.ssl.template.yml to retrieve acme.sh from somewhere else.

> <https://github.com/discourse/discourse_docker/blob/main/templates/web.letsencrypt.ssl.template.yml#L7>

---

<div class="post-metadata">

### Author: ![aksoforever](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/aksoforever/32/502615_2.png) [@aksoforever](https://meta.discourse.org/u/aksoforever)
#### Post date: [October 31, 2025, 2:20am UTC](https://meta.discourse.org/t/when-i-rebuild-it-stoped-on-get-acme-sh-script/387131/5 "2025-10-31T02:20:53Z")

</div>

yes, this two works perfect, thanks very much.🌹  
ssl: i change it to a proxy:  
curl [https://ghfast.top/https://raw.githubusercontent.com/acmesh-official/acme.sh/3.0.6/acme.sh](https://ghfast.top/https://raw.githubusercontent.com/acmesh-official/acme.sh/3.0.6/acme.sh) \> /opt/acme.sh  
pre-compiled: DISCOURSE\_DOWNLOAD\_PRE\_BUILT\_ASSETS this works very well.

 ![image](https://global.discourse-cdn.com/meta/original/4X/d/4/0/d407e0fa5cf5091d86ed40298c699aa4db10333d.png)

 ![image](https://global.discourse-cdn.com/meta/original/4X/a/3/6/a3691918e27af221538464519f2855dd612b7a19.png)

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [October 31, 2025, 3:25pm UTC](https://meta.discourse.org/t/when-i-rebuild-it-stoped-on-get-acme-sh-script/387131/6 "2025-10-31T15:25:44Z")

</div>

Glad that worked!

There’s some better way to add the proxy.

You are likely to get an error the next time that template changes and when it does a git pull. You can do a ‘git stash’ to steam your change

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [November 30, 2025, 3:26pm UTC](https://meta.discourse.org/t/when-i-rebuild-it-stoped-on-get-acme-sh-script/387131/7 "2025-11-30T15:26:25Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
