Can't update from to


Ok here is the output:

An unhandled exception has been thrown:
Exception: DateTimeZone::__construct(): Unknown or bad timezone (Toronto/Canada) in /var/www/owncloud/lib/private/Console/TimestampFormatter.php:100
Stack trace:

0 /var/www/owncloud/lib/private/Console/TimestampFormatter.php(100): DateTimeZone->__construct('Toronto/Canada')

1 /var/www/owncloud/lib/composer/symfony/console/Output/Output.php(157): OC\Console\TimestampFormatter->format('')

2 /var/www/owncloud/lib/composer/symfony/console/Output/Output.php(134): Symfony\Component\Console\Output\Output->write(Array, true, 16)

3 /var/www/owncloud/lib/composer/symfony/console/Application.php(621): Symfony\Component\Console\Output\Output->writeln('', 16)

4 /var/www/owncloud/lib/composer/symfony/console/Application.php(127): Symfony\Component\Console\Application->renderException(Object(Exception), Object(Symfony\Component\Console\Output\StreamOutput))

5 /var/www/owncloud/lib/private/Console/Application.php(160): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))

6 /var/www/owncloud/console.php(106): OC\Console\Application->run()

7 /var/www/owncloud/occ(11): require_once('/var/www/ownclo...')

8 {main}root@cloud:/var/www/owncloud

this should correct your time

timedatectl set-ntp true

I did that but I had the same output when entered sudo -u www-data php occ upgrade

So I rebooted the server re-did it and I still get the timezone error

what exactly did you change in the config.php?

can you show me your config.php ?

I changed to

can you show me your config.php or the php.ini file ( thats in your php folder)

$CONFIG = array (
'instanceid' => '',
'passwordsalt' => '',
'secret' => '',
'trusted_domains' =>
array (
0 => '192.168.',
1 => '',
'datadirectory' => '/var/www/owncloud/data',
'overwrite.cli.url' => 'http:\/\/192.168.\/owncloud',
'dbtype' => 'mysql',
'version' => '',
'dbname' => 'owncloud',
'dbhost' => 'localhost',
'dbtableprefix' => 'oc_',
'dbuser' => '',
'dbpassword' => '',
'logtimezone' => 'Toronto/Canada',
'installed' => true,
'mail_smtpmode' => 'php',
'mail_from_address' => '',
'mail_domain' => '',
'updater.secret' => '',
'theme' => '',
'loglevel' => 2,
'maintenance' => false,

*I edited out some personal information

Can you comment out the line with toronto canada or replace it with America/Toronto?

I did it and retried the upgrade.

It did seem to work. All green lines but there is 1 warning at line 10 of 43:
Repair warning: Market app is unavailable for updating of apps. Please update manually, see

I don't know if I should worry about that.

How do I get out of maintenance mode?

by performing the rain dance

Seriously. I need to test. I just reboot the server?

that's normal. you need to install the market app manually.

What's the Market app?

sudo -u www-data php occ maintenance:mode --off

The Market app is the Appstore in owncloud

I never really explore the apps. The vanilla owncloud does all I need so far.

thats good to hear, but if you want to look at your pictures in your browser for example without downloading the pictures you will need the gallery app, that is in the market

I logged back in owncloud and I still have the warning at the top: There were problems with the code integrity check. More information…

The version shows 10.0.3 (Stable)