docker-discourse icon indicating copy to clipboard operation
docker-discourse copied to clipboard

[BUG] Fails to compile assets

Open Supernova3339 opened this issue 2 years ago • 12 comments

Summary

Fails to compile assets It's been 2 hours, and it still hasn't finished. I think something must've gone wrong.

Steps to reproduce

  1. Execute the image

What is the expected correct behavior?

Should compile assets

Relevant logs and/or screenshots

Environment

  • Image version / tag: tiredofit/discourse:3.1.0
  • Host OS: Ubuntu 22
Any logs | docker-compose.yml

Possible fixes

Supernova3339 avatar Jan 05 '23 19:01 Supernova3339

You can try SHOW_OUTPUT=TRUE that might give some insight.

tiredofit avatar Jan 05 '23 20:01 tiredofit

I'll give it a shot, thanks!

On Thu, Jan 5, 2023 at 8:06 PM Dave Conroy @.***> wrote:

You can try SHOW_OUTPUT=TRUE that might give some insight.

— Reply to this email directly, view it on GitHub https://github.com/tiredofit/docker-discourse/issues/1#issuecomment-1372678158, or unsubscribe https://github.com/notifications/unsubscribe-auth/APESZJXYSLW6IOCEQH25SOLWQ4SV7ANCNFSM6AAAAAATSKM5LM . You are receiving this because you authored the thread.Message ID: @.***>

Supernova3339 avatar Jan 06 '23 04:01 Supernova3339

Doesn't even show logs now.

On Fri, Jan 6, 2023 at 4:43 AM Owen Bonneville @.***> wrote:

I'll give it a shot, thanks!

On Thu, Jan 5, 2023 at 8:06 PM Dave Conroy @.***> wrote:

You can try SHOW_OUTPUT=TRUE that might give some insight.

— Reply to this email directly, view it on GitHub https://github.com/tiredofit/docker-discourse/issues/1#issuecomment-1372678158, or unsubscribe https://github.com/notifications/unsubscribe-auth/APESZJXYSLW6IOCEQH25SOLWQ4SV7ANCNFSM6AAAAAATSKM5LM . You are receiving this because you authored the thread.Message ID: @.***>

Supernova3339 avatar Jan 06 '23 05:01 Supernova3339

Also you can try DEBUG_MODE=TRUE

tiredofit avatar Jan 06 '23 07:01 tiredofit

Does the same thing. If may ask, does the container work with docker swarm?

Supernova3339 avatar Jan 17 '23 00:01 Supernova3339

Not sure. Theoretically it should - but everyone's environment could be different in terms of things like volumes, network overlays, etc.

tiredofit avatar Jan 17 '23 00:01 tiredofit

Had no luck sadly. Does the image work for you?

On Tue, Jan 17, 2023 at 12:45 AM Dave Conroy @.***> wrote:

Not sure. Theoretically it should - but everyone's environment could be different in terms of things like volumes, network overlays, etc.

— Reply to this email directly, view it on GitHub https://github.com/tiredofit/docker-discourse/issues/1#issuecomment-1384703494, or unsubscribe https://github.com/notifications/unsubscribe-auth/APESZJS44YGOJ3LVXHVRBDLWSXTSDANCNFSM6AAAAAATSKM5LM . You are receiving this because you authored the thread.Message ID: @.***>

Supernova3339 avatar Jan 17 '23 01:01 Supernova3339

Yes, running and handling duties for a couple hundred users without issue..

tiredofit avatar Jan 17 '23 01:01 tiredofit

I'll try building it from scratch, and I'll let you know how it goes. Been wanting to get it added to easypanel https://easypanel.io for awhile now. Already got freescout added, your images are awesome :)

On Tue, Jan 17, 2023 at 1:44 AM Dave Conroy @.***> wrote:

Yes, running and handling duties for a couple hundred users without issue..

— Reply to this email directly, view it on GitHub https://github.com/tiredofit/docker-discourse/issues/1#issuecomment-1384734521, or unsubscribe https://github.com/notifications/unsubscribe-auth/APESZJUUOJV7YZPIOHJV7NLWSX2PPANCNFSM6AAAAAATSKM5LM . You are receiving this because you authored the thread.Message ID: @.***>

Supernova3339 avatar Jan 17 '23 01:01 Supernova3339

Still the same issue sadly, even if I've built it myself. Do you happen to know any alternatives?

On Tue, Jan 17, 2023 at 1:47 AM Owen Bonneville @.***> wrote:

I'll try building it from scratch, and I'll let you know how it goes. Been wanting to get it added to easypanel https://easypanel.io for awhile now. Already got freescout added, your images are awesome :)

On Tue, Jan 17, 2023 at 1:44 AM Dave Conroy @.***> wrote:

Yes, running and handling duties for a couple hundred users without issue..

— Reply to this email directly, view it on GitHub https://github.com/tiredofit/docker-discourse/issues/1#issuecomment-1384734521, or unsubscribe https://github.com/notifications/unsubscribe-auth/APESZJUUOJV7YZPIOHJV7NLWSX2PPANCNFSM6AAAAAATSKM5LM . You are receiving this because you authored the thread.Message ID: @.***>

Supernova3339 avatar Jan 17 '23 02:01 Supernova3339

I don't actually - It was a real pain for me to build this a couple years ago and I spent a day or so in December getting it modernized and its been running quite well on my infrastructure. I'm not sure what else to say unless I had access to the environment in question although that would require some sort of private support and time to schedule that work in as I'm quite booked up these days. I just fired up a sample install (based on the example) and it worked without issue on a amd64 system and was quite speedy - I'm really not sure what is happening on that end..

tiredofit avatar Jan 17 '23 02:01 tiredofit

Having the same issue, it just freezes (may be doing nothing at all)

discourse-app  | 2023-06-30.21:00:59 [NOTICE] ** [discourse] Enabling Plugin: Presence
discourse-app  | 2023-06-30.21:00:59 [NOTICE] ** [discourse] Enabling Plugin: Style Guide
discourse-app  | 2023-06-30.21:01:00 [INFO] ** [discourse] Migrating Database - This may take a bit..
discourse-app  | /assets/functions/00-container: line 960:  2656 Aborted                 "$@" > /dev/null 2>&1
discourse-app  | 2023-06-30.21:01:14 [INFO] ** [discourse] Precompiling Assets - This may take a bit..

With DEBUG_MODE=true this is where it stops forever.

discourse-app  | + print_info 'Migrating Database - This may take a bit..'
discourse-app  | + output_off
discourse-app  | + '[' true = true ']'
discourse-app  | + set +x
discourse-app  | 2023-06-30.21:25:44 [INFO] /etc/cont-init.d/20-discourse ** [discourse] Migrating Database - This may take a bit..
discourse-app  | + cd /app
discourse-app  | + silent bundle exec rake db:migrate
discourse-app  | + '[' TRUE = true ']'
discourse-app  | + '[' true = true ']'
discourse-app  | + bundle exec rake db:migrate

monim67 avatar Jul 01 '23 09:07 monim67