Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stuck in maintanance on update to 5.0.13 #6187

Closed
tfl opened this issue Dec 4, 2013 · 5 comments
Closed

Stuck in maintanance on update to 5.0.13 #6187

tfl opened this issue Dec 4, 2013 · 5 comments
Labels

Comments

@tfl
Copy link

tfl commented Dec 4, 2013

Downloaded 5.0.13, renamed original owncloud (5.0.10) directory, unpacked the new package, restored config. Now the installation stucks at maintanance mode. If I change maintenance => false the next time I enter the url it again says "Updating ownCloud to version 5.0.13, this may take a while." Then again maintanance mode is enabled. Ad infinitum. Is there a fix other then restoring the database?

@tfl
Copy link
Author

tfl commented Dec 4, 2013

I can reproduce that even if I upgrade step by step to 5.0.11, then to 5.0.12 and then to 5.0.13. Up to 5.0.12 all went fine. 5.0.13 failes. I use Debian 6.0.8 with postgres 8.4. Just stock owncloud, no special apps except mozilla_sync

@karlitschek
Copy link
Contributor

Can you post a full report using the template please? https://github.com/owncloud/core/blob/master/CONTRIBUTING.md

Is it possible that you converted your database from sqlite to mysql in the past?

@tfl
Copy link
Author

tfl commented Dec 5, 2013

I used sqlite3 in the past but started with a new db from ground up with postgres

Expected behaviour

upgrade to owncloud 5.0.13 without problems

Actual behaviour

got stuck in maintanance mode. The browser displayes:

Turned on maintenance mode

Updated database

Please reload the page. (Last line in red)

Steps to reproduce

  1. rename original owncloud directory
  2. unpack 5.0.13 archive
  3. restore config
  4. chown -R 33:33 owncloud
  5. called my owncloud url

Server configuration

Operating system: Debian GNU Linux v6.0.8/x64

Web server: Apache 2.2.16

Database: Postgres 8.4

PHP version: PHP/5.3.3-7+squeeze17

ownCloud version: (see ownCloud admin page) 5.0.12
(there is no admin page)

Updated from an older ownCloud or fresh install: updated from 5.0.10 to 5.0.11 to 5.0.12

List of activated app: mozilla_sync Had the News app installed before but do not use it for some weeks now. Seems not to be the reason for this issue - see browser log.

The content of config/config.php: (Without the database password and passwordsalt)

<?php
$CONFIG = array (
  'dbtableprefix' => 'oc_',
  'datadirectory' => '/var/owncloud/data',
  'dbtype' => 'pgsql',
  'dbname' => 'ownclouddb',
  'dbuser' => 'owncloud',
  'dbhost' => 'localhost',
  'installed' => true,
  'instanceid' => '507c5e50e1062',
  'versions' => 'false',
  'maintenance' => false,
  'loglevel' => '3',
  'maxZipInputSize' => 838860800,
  'allowZipDownload' => true,
  'theme' => '',
  'forcessl' => true,
  'version' => '5.0.22',
);

Why is there a 5.0.22? I did not wrote that...

Client configuration

Browser: Firefox 25.0.1 and IE11

Operating system: Windows 8.1 x64

Logs

Web server error log

nothing interesting here to see, believe me

ownCloud log (data/owncloud.log)

empty, really!

Browser log

Here it comes...

If I reload the page I get an error on the Firebug Console saying:
https://my.server.url/index.php/core/routes.json 503 Service Temporarily Unavailable
and its still saying in red "ownCloud is in maintenance mode" I replaced my server url with nonsense...

If I the turn maintanance = true into maintanance=false and reload the page it starts all over again and I get another error on the browser console: "Failed to upgrade 'files_sharing'. Exception=SQLSTATE[22P02]: Invalid text representation: 7 FEHLER: ungültige Eingabesyntax für ganze Zahl: »2219,2269,2271,2272,2273,2284,2288,2289,2300,2301,512«"

Where "ungültige Eingabesyntax für ganze Zahl" can be translated into "Invalid input syntax for integer". And yes, I share some files.

@tfl
Copy link
Author

tfl commented Dec 5, 2013

Searching for this error message and I found this one: #5758 Seems it is not really fixed or the patch was not yet applied.

@VicDeo
Copy link
Member

VicDeo commented Feb 8, 2014

Closing as duplicate of #5758

@VicDeo VicDeo closed this as completed Feb 8, 2014
@lock lock bot locked as resolved and limited conversation to collaborators Aug 19, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants