Installation Error when rebuilding with Discourse Official Plugins (Discourse v2.0.3)

Hi,

I am having trouble installing discourse at the moment and because of plugins. If I install discourse with the only docker_manager.git, it works fine. But if with plugins such as Discourse Solved then I get a blank page after the installation. Even though it’s an official plugin. so any help?

Can you press F12 and search for errors in the console? Please paste those errors here.

3 إعجابات

sorry I didn’t get. F12?

When you are on the white page on your browser, if you press F12 on your keyboard you should have the dev tools with a console tab where errors log messages.

Alternatively can you share the URL of the site presenting this blank page?

إعجابَين (2)

Oh, sorry F12 does not work for me. but the logs are below.
For the domain, is it okay if I send you in private?

[Error] XMLHttpRequest cannot load https://meta.domain.org/message-bus/bb97713eea184b52a8551bafa3da970b/poll due to access control checks.
	send (ember_jquery-27e777857b8c0730dacfe09cb11711365d21a5db4f9ee0b85d494e4259cf6cda.js:3:16695)
	ajax (ember_jquery-27e777857b8c0730dacfe09cb11711365d21a5db4f9ee0b85d494e4259cf6cda.js:3:14212)
	n (vendor-6e59f8d0190b766ab492d48c83983f67bb7a5ecbff9e213f79fa12e4c72a06e6.js:1:19242)
	(anonymous function) (vendor-6e59f8d0190b766ab492d48c83983f67bb7a5ecbff9e213f79fa12e4c72a06e6.js:1:18300)
[Error] undefined is not an object (evaluating 's.Tag.prototype')
r@https://meta.domain.org/assets/plugin-a2003e56e884163f8def93d12ea642c6a781f0b95efe6dc3eba62b8b97b72e87.js:2:6599
initialize@https://meta.domain.org/assets/plugin-a2003e56e884163f8def93d12ea642c6a781f0b95efe6dc3eba62b8b97b72e87.js:2:7667
initialize@https://meta.domain.org/assets/application-ee03db4920a29181383eb53f5ebbac7ce99690aafb1eb878a279bc8eddf96996.js:6:14716
https://meta.domain.org/assets/ember_jquery-27e777857b8c0730dacfe09cb11711365d21a5db4f9ee0b85d494e4259cf6cda.js:8:23856
each@https://meta.domain.org/assets/ember_jquery-27e777857b8c0730dacfe09cb11711365d21a5db4f9ee0b85d494e4259cf6cda.js:8:8775
topsort@https://meta.domain.org/assets/ember_jquery-27e777857b8c0730dacfe09cb11711365d21a5db4f9ee0b85d494e4259cf6cda.js:8:8281
topsort@https://meta.domain.org/assets/ember_jquery-27e777857b8c0730dacfe09cb11711365d21a5db4f9ee0b85d494e4259cf6cda.js:8:7692
_runInitializer@https://meta.domain.org/assets/ember_jquery-27e777857b8c0730dacfe09cb11711365d21a5db4f9ee0b85d494e4259cf6cda.js:8:24032
runInstanceInitializers@https://meta.domain.org/assets/ember_jquery-27e777857b8c0730dacfe09cb11711365d21a5db4f9ee0b85d494e4259cf6cda.js:8:23806
_bootSync@https://meta.domain.org/assets/ember_jquery-27e777857b8c0730dacfe09cb11711365d21a5db4f9ee0b85d494e4259cf6cda.js:8:11272
didBecomeReady@https://meta.domain.org/assets/ember_jquery-27e777857b8c0730dacfe09cb11711365d21a5db4f9ee0b85d494e4259cf6cda.js:8:17109
invokeWithOnError@https://meta.domain.org/assets/ember_jquery-27e777857b8c0730dacfe09cb11711365d21a5db4f9ee0b85d494e4259cf6cda.js:7:19393
flush@https://meta.domain.org/assets/ember_jquery-27e777857b8c0730dacfe09cb11711365d21a5db4f9ee0b85d494e4259cf6cda.js:7:19833
flush@https://meta.domain.org/assets/ember_jquery-27e777857b8c0730dacfe09cb11711365d21a5db4f9ee0b85d494e4259cf6cda.js:7:20599
end@https://meta.domain.org/assets/ember_jquery-27e777857b8c0730dacfe09cb11711365d21a5db4f9ee0b85d494e4259cf6cda.js:7:20944
run@https://meta.domain.org/assets/ember_jquery-27e777857b8c0730dacfe09cb11711365d21a5db4f9ee0b85d494e4259cf6cda.js:7:22014
p@https://meta.domain.org/assets/ember_jquery-27e777857b8c0730dacfe09cb11711365d21a5db4f9ee0b85d494e4259cf6cda.js:2:9026
https://meta.domain.org/assets/ember_jquery-27e777857b8c0730dacfe09cb11711365d21a5db4f9ee0b85d494e4259cf6cda.js:2:9325
	error
	u (ember_jquery-27e777857b8c0730dacfe09cb11711365d21a5db4f9ee0b85d494e4259cf6cda.js:11:30380)
	o (ember_jquery-27e777857b8c0730dacfe09cb11711365d21a5db4f9ee0b85d494e4259cf6cda.js:11:30275)
	invokeWithOnError (ember_jquery-27e777857b8c0730dacfe09cb11711365d21a5db4f9ee0b85d494e4259cf6cda.js:7:19408)
	flush (ember_jquery-27e777857b8c0730dacfe09cb11711365d21a5db4f9ee0b85d494e4259cf6cda.js:7:19834)
	flush (ember_jquery-27e777857b8c0730dacfe09cb11711365d21a5db4f9ee0b85d494e4259cf6cda.js:7:20600)
	end (ember_jquery-27e777857b8c0730dacfe09cb11711365d21a5db4f9ee0b85d494e4259cf6cda.js:7:20945)
	run (ember_jquery-27e777857b8c0730dacfe09cb11711365d21a5db4f9ee0b85d494e4259cf6cda.js:7:22015)
	p (ember_jquery-27e777857b8c0730dacfe09cb11711365d21a5db4f9ee0b85d494e4259cf6cda.js:2:9027)
	(anonymous function) (ember_jquery-27e777857b8c0730dacfe09cb11711365d21a5db4f9ee0b85d494e4259cf6cda.js:2:9326)
[Error] undefined is not an object (evaluating 's.Tag.prototype')
r@https://meta.domain.org/assets/plugin-a2003e56e884163f8def93d12ea642c6a781f0b95efe6dc3eba62b8b97b72e87.js:2:6599
initialize@https://meta.domain.org/assets/plugin-a2003e56e884163f8def93d12ea642c6a781f0b95efe6dc3eba62b8b97b72e87.js:2:7667
initialize@https://meta.domain.org/assets/application-ee03db4920a29181383eb53f5ebbac7ce99690aafb1eb878a279bc8eddf96996.js:6:14716
https://meta.domain.org/assets/ember_jquery-27e777857b8c0730dacfe09cb11711365d21a5db4f9ee0b85d494e4259cf6cda.js:8:23856
each@https://meta.domain.org/assets/ember_jquery-27e777857b8c0730dacfe09cb11711365d21a5db4f9ee0b85d494e4259cf6cda.js:8:8775
topsort@https://meta.domain.org/assets/ember_jquery-27e777857b8c0730dacfe09cb11711365d21a5db4f9ee0b85d494e4259cf6cda.js:8:8281
topsort@https://meta.domain.org/assets/ember_jquery-27e777857b8c0730dacfe09cb11711365d21a5db4f9ee0b85d494e4259cf6cda.js:8:7692
_runInitializer@https://meta.domain.org/assets/ember_jquery-27e777857b8c0730dacfe09cb11711365d21a5db4f9ee0b85d494e4259cf6cda.js:8:24032
runInstanceInitializers@https://meta.domain.org/assets/ember_jquery-27e777857b8c0730dacfe09cb11711365d21a5db4f9ee0b85d494e4259cf6cda.js:8:23806
_bootSync@https://meta.domain.org/assets/ember_jquery-27e777857b8c0730dacfe09cb11711365d21a5db4f9ee0b85d494e4259cf6cda.js:8:11272
didBecomeReady@https://meta.domain.org/assets/ember_jquery-27e777857b8c0730dacfe09cb11711365d21a5db4f9ee0b85d494e4259cf6cda.js:8:17109
invokeWithOnError@https://meta.domain.org/assets/ember_jquery-27e777857b8c0730dacfe09cb11711365d21a5db4f9ee0b85d494e4259cf6cda.js:7:19393
flush@https://meta.domain.org/assets/ember_jquery-27e777857b8c0730dacfe09cb11711365d21a5db4f9ee0b85d494e4259cf6cda.js:7:19833
flush@https://meta.domain.org/assets/ember_jquery-27e777857b8c0730dacfe09cb11711365d21a5db4f9ee0b85d494e4259cf6cda.js:7:20599
end@https://meta.domain.org/assets/ember_jquery-27e777857b8c0730dacfe09cb11711365d21a5db4f9ee0b85d494e4259cf6cda.js:7:20944
run@https://meta.domain.org/assets/ember_jquery-27e777857b8c0730dacfe09cb11711365d21a5db4f9ee0b85d494e4259cf6cda.js:7:22014
p@https://meta.domain.org/assets/ember_jquery-27e777857b8c0730dacfe09cb11711365d21a5db4f9ee0b85d494e4259cf6cda.js:2:9026
https://meta.domain.org/assets/ember_jquery-27e777857b8c0730dacfe09cb11711365d21a5db4f9ee0b85d494e4259cf6cda.js:2:9325
	error
	u (ember_jquery-27e777857b8c0730dacfe09cb11711365d21a5db4f9ee0b85d494e4259cf6cda.js:11:30380)
	o (ember_jquery-27e777857b8c0730dacfe09cb11711365d21a5db4f9ee0b85d494e4259cf6cda.js:11:30275)
	i (ember_jquery-27e777857b8c0730dacfe09cb11711365d21a5db4f9ee0b85d494e4259cf6cda.js:14:28458)
	trigger (ember_jquery-27e777857b8c0730dacfe09cb11711365d21a5db4f9ee0b85d494e4259cf6cda.js:19:5889)
	(anonymous function) (ember_jquery-27e777857b8c0730dacfe09cb11711365d21a5db4f9ee0b85d494e4259cf6cda.js:19:7873)
	invokeWithOnError (ember_jquery-27e777857b8c0730dacfe09cb11711365d21a5db4f9ee0b85d494e4259cf6cda.js:7:19394)
	flush (ember_jquery-27e777857b8c0730dacfe09cb11711365d21a5db4f9ee0b85d494e4259cf6cda.js:7:19834)
	flush (ember_jquery-27e777857b8c0730dacfe09cb11711365d21a5db4f9ee0b85d494e4259cf6cda.js:7:20600)
	end (ember_jquery-27e777857b8c0730dacfe09cb11711365d21a5db4f9ee0b85d494e4259cf6cda.js:7:20945)
	run (ember_jquery-27e777857b8c0730dacfe09cb11711365d21a5db4f9ee0b85d494e4259cf6cda.js:7:22015)
	p (ember_jquery-27e777857b8c0730dacfe09cb11711365d21a5db4f9ee0b85d494e4259cf6cda.js:2:9027)
	(anonymous function) (ember_jquery-27e777857b8c0730dacfe09cb11711365d21a5db4f9ee0b85d494e4259cf6cda.js:2:9326)
[Warning] The resource https://meta.domain.org/assets/fontawesome-webfont-2adefcbc041e7d18fcf2d417879dc5a09997aa64d675b7a3c4b6ce33da13f3fe.woff2?http://meta.domain.org&2&v=4.7.0 was preloaded using link preload but not used within a few seconds from the window's load event. Please make sure it wasn't preloaded for nothing.
إعجاب واحد (1)

@Falco I commented out everyone plugin even the discourse solved, and then;

  1. reinstalled discourse
  2. restored the previous backup

Everything works smooth.

  1. uncommented the official plugins
  2. sudo ./launcher rebuild app

Again same blank page. So its confusing that why official plugins are blanking out the forum.

Can you please provide me a way to install the old version of discourse docker. I am not sure why am I getting this error.

DISCOURSE DOCTOR Wed Aug 15 22:26:31 UTC 2018
OS: 


Found containers/app.yml

==================== YML SETTINGS ====================
DISCOURSE_HOSTNAME=meta.domain.org
SMTP_ADDRESS=1.1.1.1
DEVELOPER_EMAILS=REDACTED 
SMTP_PASSWORD=REDACTED 
SMTP_PORT=587
SMTP_USER_NAME=smtp@domain.org
LETSENCRYPT_ACCOUNT_EMAIL=REDACTED 

==================== DOCKER INFO ====================
DOCKER VERSION: Docker version 18.06.0-ce, build 0ffa825

DOCKER PROCESSES (docker ps -a)

CONTAINER ID        IMAGE                 COMMAND             CREATED             STATUS              PORTS                   NAMES
127a88112a64        local_discourse/app   "/sbin/boot"        7 minutes ago       Up 7 minutes        0.0.0.0:25654->80/tcp   app


Discourse container app is running


==================== PLUGINS ====================
          - git clone https://github.com/discourse/docker_manager.git
          - git clone https://github.com/discourse/discourse-chat-integration.git
          - git clone https://github.com/discourse/discourse-spoiler-alert.git
          - git clone https://github.com/discourse/discourse-solved.git
          - git clone https://github.com/discourse/discourse-adplugin.git
          - git clone https://github.com/discourse/discourse-bbcode-color.git 

WARNING:
You have what appear to be non-official plugins.
If you are having trouble, you should disable them and try rebuilding again.

See https://github.com/discourse/discourse/blob/master/lib/plugin/metadata.rb for the official list.

========================================
Discourse version at meta.domain.org: Discourse 2.0.3 
Discourse version at localhost: Discourse 2.0.3 


==================== MEMORY INFORMATION ====================
OS: Linux
RAM (MB): 1882

              total        used        free      shared  buff/cache   available
Mem:           1838        1002          70          86         765         523
Swap:          2047         138        1909

==================== DISK SPACE CHECK ====================
---------- OS Disk Space ----------
Filesystem      Size  Used Avail Use% Mounted on
/dev/vda1        50G   11G   37G  23% /

---------- Container Disk Space ----------
Filesystem      Size  Used Avail Use% Mounted on
overlay          50G   11G   37G  23% /
/dev/vda1        50G   11G   37G  23% /shared
/dev/vda1        50G   11G   37G  23% /var/log

==================== DISK INFORMATION ====================

Disk /dev/vda: 53.7 GB, 53687091200 bytes, 104857600 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk label type: gpt
Disk identifier: 21A753F2-L951-271D-9C48-10A8CV206760


#         Start          End    Size  Type            Name
 1         4096    104855551     50G  Linux filesyste primary
15         2048         4095      1M  BIOS boot       bios_grub

==================== END DISK INFORMATION ====================

==================== MAIL TEST ====================
For a robust test, get an address from http://www.mail-tester.com/
Sending mail to REDACTED  . . 


==================== DONE! ====================

The problem is that discourse-spoiler-alert only works on latest Discourse.

Your choices:

  • Move to a more recent branch

  • Remove discourse-spoiler-alert

  • Install an old version of discourse-spoiler-alert (not recommended, because it will probably bit rot there.)

إعجابَين (2)

@Falco Oh my -___-

Thank you very much!!!

إعجاب واحد (1)