After upgrading to discourse 3.. can only access to admin using safe-mode

is there a way to disable all plugins and themes? manually as sysadmin i mean.