Downgraded from latest to stable and getting error about site_texts missing


(Andrew Lombardi) #1

Recently downgraded back to the stable branch and am getting errors for folks who haven’t logged in, and a 500 error is showing. The errors shown after typing ./launcher logs app

2016-01-14 00:28:30 UTC [133-1] discourse@discourse ERROR:  relation "site_texts" does not exist at character 323
2016-01-14 00:28:30 UTC [133-2] discourse@discourse STATEMENT:                SELECT a.attname, format_type(a.atttypid, a.atttypmod),
	                     pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod
	                FROM pg_attribute a LEFT JOIN pg_attrdef d
	                  ON a.attrelid = d.adrelid AND a.attnum = d.adnum
	               WHERE a.attrelid = '"site_texts"'::regclass
	                 AND a.attnum > 0 AND NOT a.attisdropped
	               ORDER BY a.attnum

2016-01-14 00:28:32 UTC [133-3] discourse@discourse ERROR:  relation "site_texts" does not exist at character 323
2016-01-14 00:28:32 UTC [133-4] discourse@discourse STATEMENT:                SELECT a.attname, format_type(a.atttypid, a.atttypmod),
	                     pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod
	                FROM pg_attribute a LEFT JOIN pg_attrdef d
	                  ON a.attrelid = d.adrelid AND a.attnum = d.adnum
	               WHERE a.attrelid = '"site_texts"'::regclass
	                 AND a.attnum > 0 AND NOT a.attisdropped
	               ORDER BY a.attnum

2016-01-14 00:28:33 UTC [133-5] discourse@discourse ERROR:  relation "site_texts" does not exist at character 323
2016-01-14 00:28:33 UTC [133-6] discourse@discourse STATEMENT:                SELECT a.attname, format_type(a.atttypid, a.atttypmod),
	                     pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod
	                FROM pg_attribute a LEFT JOIN pg_attrdef d
	                  ON a.attrelid = d.adrelid AND a.attnum = d.adnum
	               WHERE a.attrelid = '"site_texts"'::regclass
	                 AND a.attnum > 0 AND NOT a.attisdropped
	               ORDER BY a.attnum

2016-01-14 00:28:34 UTC [133-7] discourse@discourse ERROR:  relation "site_texts" does not exist at character 323
2016-01-14 00:28:34 UTC [133-8] discourse@discourse STATEMENT:                SELECT a.attname, format_type(a.atttypid, a.atttypmod),
	                     pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod
	                FROM pg_attribute a LEFT JOIN pg_attrdef d
	                  ON a.attrelid = d.adrelid AND a.attnum = d.adnum
	               WHERE a.attrelid = '"site_texts"'::regclass
	                 AND a.attnum > 0 AND NOT a.attisdropped
	               ORDER BY a.attnum

2016-01-14 00:28:34 UTC [133-9] discourse@discourse ERROR:  relation "site_texts" does not exist at character 323
2016-01-14 00:28:34 UTC [133-10] discourse@discourse STATEMENT:                SELECT a.attname, format_type(a.atttypid, a.atttypmod),
	                     pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod
	                FROM pg_attribute a LEFT JOIN pg_attrdef d
	                  ON a.attrelid = d.adrelid AND a.attnum = d.adnum
	               WHERE a.attrelid = '"site_texts"'::regclass
	                 AND a.attnum > 0 AND NOT a.attisdropped
	               ORDER BY a.attnum

2016-01-14 00:28:36 UTC [133-11] discourse@discourse ERROR:  relation "site_texts" does not exist at character 323
2016-01-14 00:28:36 UTC [133-12] discourse@discourse STATEMENT:                SELECT a.attname, format_type(a.atttypid, a.atttypmod),
	                     pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod
	                FROM pg_attribute a LEFT JOIN pg_attrdef d
	                  ON a.attrelid = d.adrelid AND a.attnum = d.adnum
	               WHERE a.attrelid = '"site_texts"'::regclass
	                 AND a.attnum > 0 AND NOT a.attisdropped
	               ORDER BY a.attnum

I would create this table, but I don’t know the definition of the table. Looking through the different tags to see if I can find it but no idea why this would be throwing a 500 error regardless.


(Jeff Atwood) #2

Downgrading is not supported.


(Andrew Lombardi) #3

Okay. So I’m back on the tests-passed branch. And all is working.

Better question may be: Is there a path to which I can migrate beta back to a stable branch once that release happens?


(Rafael dos Santos Silva) #4

When the release happens beta == stable. Then you just stop updating. And if you want to be 100% change the tracked branch.


(Kane York) #5

Yeah, the only time you can move from rolling → beta or beta → stable is when that’s a forwards move.