docker-discourse
docker-discourse copied to clipboard
[BUG] Fails to compile assets
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
- 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
You can try SHOW_OUTPUT=TRUE that might give some insight.
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: @.***>
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: @.***>
Also you can try DEBUG_MODE=TRUE
Does the same thing. If may ask, does the container work with docker swarm?
Not sure. Theoretically it should - but everyone's environment could be different in terms of things like volumes, network overlays, etc.
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: @.***>
Yes, running and handling duties for a couple hundred users without issue..
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: @.***>
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: @.***>
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..
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