White screen after upgrade


(Ankhamax) #1

I upgraded my site to the newest version of the discourse and I installed topic list preview plugin 4 days ago. There was also an upgrade available in the topic list preview. I upgraded the site using
cd /div/discourse
./launcher rebuild app

Everything went fine without any errors.

When I visit my site on any major browser, all I see is just white screen.

I don’t understand what seems to be causing this issue.

Please note that I can only access the site using the following url

www.mysite.com/admin/upgrade

Here is the log of the site.

RegexpError (premature end of char-class: /Search hel[help/i) /var/www/discourse/lib/i18n/backend/discourse_i18n.rb:49:in `block in search'
5 Apr 10:53 am
2		
Invalid favicon_url http://mysite.com/uploads/default/original/1X/c8471e5dd181b9e5490ebf95e6e57de7f20b76f1.ico: 404 Not Found ["/usr/local/lib/ruby/2.0.0/open-uri.rb:353:in `open_http'", "/usr/local/lib
6 Apr 4:10 pm
TypeError: undefined is not an object (evaluating 'r.getResponseHeader') Url: http://mysite.com/assets/application-cf67bcdd20cfac7f0b3e233a7207876f.js Line: 1 Column: 608 Window Location: http://topic.m
8 Apr 11:37 am
RegexpError (target of repeat operator is not specified: /+ more/i) /var/www/discourse/lib/i18n/backend/discourse_i18n.rb:49:in `block in search'
2:17 pm
2		
SyntaxError: missing ) in parenthetical Url: http://mysite.com/assets/application-a418b72a034c2a4ae1364e26bf472626.js Line: 1 Column: 12 Window Location: http://mysite.com/
6:27 pm
Uncaught SyntaxError: Unexpected token { Url: http://mysite.com/admin Line: 3 Column: 13 Window Location: http://mysite.com/admin
7:14 pm
Uncaught SyntaxError: Unexpected token { Url: http:/mysite.com/admin/backups Line: 3 Column: 13 Window Location: http://mysite.com/admin/backups
7:35 pm
12		
Uncaught SyntaxError: Unexpected token { Url: http://mysite.com/ Line: 3 Column: 13 Window Location: http://mysite.com/
7:35 pm
3		
Discourse::InvalidAccess (Discourse::InvalidAccess) /var/www/discourse/plugins/docker_manager/app/controllers/docker_manager/application_controller.rb:20:in `ensure_admin'
7:36 pm
SyntaxError: Unexpected token '{'. Expected ')' to end a compound expression. Url: http://mysite.com/assets/ember_jquery-37c15254b70c40ceb7888cb7248c79d6.js Line: 3 Column: 69962 Window Location: http:/
7:45 pm
SyntaxError: Unexpected token '{'. Expected ')' to end a compound expression. Url: http://mysite.com/assets/ember_jquery-37c15254b70c40ceb7888cb7248c79d6.js Line: 3 Column: 69962 Window Location: http:/
7:45 pm
SyntaxError: Unexpected token '{'. Expected ')' to end a compound expression. Url: http://mysite.com/assets/ember_jquery-37c15254b70c40ceb7888cb7248c79d6.js Line: 3 Column: 69962 Window Location: http:/
7:45 pm
SyntaxError: Unexpected token '{'. Expected ')' to end a compound expression. Url: http://mysite.com/assets/ember_jquery-37c15254b70c40ceb7888cb7248c79d6.js Line: 3 Column: 69962 Window Location: http:/
8:10 pm
SyntaxError: Unexpected token '{'. Expected ')' to end a compound expression. Url: http://mysite.com/assets/ember_jquery-37c15254b70c40ceb7888cb7248c79d6.js Line: 3 Column: 69962 Window Location: http:/
8:12 pm
SyntaxError: Unexpected token '{'. Expected ')' to end a compound expression. Url: http://mysite.com/assets/ember_jquery-37c15254b70c40ceb7888cb7248c79d6.js Line: 3 Column: 69962 Window Location: http:/
8:16 pm
20		
SyntaxError: Unexpected token '{'. Expected ')' to end a compound expression. Url: http://mysite.com/assets/ember_jquery-37c15254b70c40ceb7888cb7248c79d6.js Line: 3 Column: 69962 Window Location: http:/
8:18 pm
7		
SyntaxError: Unexpected token '{'. Expected ')' to end a compound expression. Url: http://mysite.com/assets/ember_jquery-37c15254b70c40ceb7888cb7248c79d6.js Line: 3 Column: 69962 Window Location: http:/
8:20 pm
4		
Uncaught SyntaxError: Unexpected token { Url: http://mysite.com/login Line: 3 Column: 13 Window Location: http://mysite.com/login
8:42 pm
3		
SyntaxError: Unexpected token '{'. Expected ')' to end a compound expression. Url: http://mysite.com/assets/application-a418b72a034c2a4ae1364e26bf472626.js Line: 2 Column: 31441 Window Location: http://
8:43 pm
SyntaxError: Unexpected token '{'. Expected ')' to end a compound expression. Url: http://mysite.com/assets/application-a418b72a034c2a4ae1364e26bf472626.js Line: 2 Column: 31441 Window Location: http://
8:45 pm

Thanks


Disk usage continues to increase when site is loading a blank page, what is happening?
(Ankhamax) #2

It has displayed this error in the log.

hostname	mysite-com-app
process_id	[130, 114]
application_version	cc25716e475e6eed70532c8526d9e612899d61d8
HTTP_HOST	mysite.com
REQUEST_URI	/logs/report_js_error
REQUEST_METHOD	POST
HTTP_USER_AGENT	Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11) AppleWebKit/601.1.56 (KHTML, like Gecko) Version/9.0 Safari/601.1.56
HTTP_ACCEPT	*/*
HTTP_REFERER	http://mysite.com/
HTTP_X_FORWARDED_FOR	150.129.141.4
HTTP_X_REAL_IP	150.129.141.4
params	
message	SyntaxError: Unexpected token '{'. Expected ')' to end a compound expression. Url: http://mysite.com/as
url	http://mysite.com/assets/application-cd9745fc880544c7c2b725a9c0999a09.js
line	2
column	31441
window_location	http://mysite.com/

What could be causing this issue?

Any help is really appreciated as I am just stuck at this point.

Any help from support team that I could get.


(Sam Saffron) #3

Cloudflare issue, disable auto minification


(Jeff Atwood) #4