Page MenuHomePhabricator

Unhandled Exception ("AphrontSchemaQueryException") after upgrade
Closed, ResolvedPublic

Description

After I run the upgrade script, phabricator started as normal, but when I try to access a task details, I got this:

Unhandled_Exception___AphrontSchemaQueryException__.png (184×1 px, 50 KB)

Already run bin/storage upgrade without any adjustment:

ec2-user_ip-172-31-16-105____ssh_.png (427×628 px, 95 KB)

Thought?

Event Timeline

ah, seems like a restart of apache fixed it.

chad claimed this task.

Hit by the exact same issue of Unknown column 'event.dateFrom' in 'order clause', and arrived here through search. In hope this helps somebody else, here's how I fixed it.

This is an Opcache issue, that must be cleared. I did restart Apache, but this was not sufficient. The sample Phabricator upgrade script has comments:

# NOTE: If you're running php-fpm, you should stop it here too.

I overlooked this. I am indeed using PHP-FPM, and was not restarting it. Changed in my script, from:

service apache2 stop

(…)

service apache2 start

To:

service plesk-php56-fpm stop
service apache2 stop

(…)

service apache2 start
service plesk-php56-fpm start

See Restarting Phabricator for detailed instructions on how to restart Phabricator after an upgrade.