Skip to content

Update from 7.0.8 to 7.0.9 fails #18877

Closed

Description

@qswroot

Steps to reproduce

  1. Download OC 7.0.9 and install in second webroot
  2. Activate new site with a2ensite
  3. open OC startpage and run upgrade script / run upgrade script from commandline

Expected behaviour

Upgrade is running

Actual behaviour

Maintenance mode is switched on and nothing happens. When upgrade is done via command line, error message "PHP Fatal error: Using $this when not in object context in [...]/owncloud709/lib/private/updater.php on line 256" appears.

Server configuration

Operating system: Ubuntu 12.04

Web server: Apache 2.2

Database: MySQL 5

PHP version: 5.3

ownCloud version: (see ownCloud admin page) 7.0.8/7.0.9

Updated from an older ownCloud or fresh install: update from 7.0.8

List of activated apps:
Enabled:

  • files
  • files_antivirus
  • files_mv
  • files_share_watcher
  • files_sharing
  • files_texteditor
  • files_trashbin
  • files_versions
  • gallery
  • search_lucene
  • templateeditor
  • updater
  • user_ldap
    Disabled:
  • activity
  • bookmarks
  • calendar
  • contacts
  • documents
  • external
  • files_encryption
  • files_external
  • files_pdfviewer
  • files_videoviewer
  • firstrunwizard
  • user_external
  • user_webdavauth

Are you using external storage, if yes which one: local

Are you using encryption: no

Are you using an external user-backend, if yes which one: LDAP

ownCloud log (data/owncloud.log)

Insert your ownCloud log here
{"app":"PHP","message":"Using $this when not in object context at \/var\/www\/owncloud709\/lib\/private\/updater.php#256","level":3,"time":"September 07, 2015 13:46:29"}

Activity

  1. LukasReschke commented on Sep 8, 2015

    @LukasReschke
    Contributor

    Seems to be introduced with 2ce22ee by @MorrisJobke. Potential regression.

  2. added this to the milestone on Sep 8, 2015
  3. LukasReschke commented on Sep 8, 2015

    @LukasReschke
    Contributor

    Yes. Showstopper. stable7 is completely broken on 5.3 - we need to repackage 🙊
    2015-09-08_10-54-53

    And we also really need to have Jenkins back. Though that one seems to be undetected. Stupid code sniffer 🙊

    cc @karlitschek @cmonteroluque @DeepDiver1975

  4. LukasReschke commented on Sep 8, 2015

    @LukasReschke
    Contributor
  5. LukasReschke commented on Sep 8, 2015

    @LukasReschke
    Contributor

    Potential patch is at #18889.

    @qswroot Mind testing?

  6. LukasReschke commented on Sep 8, 2015

    @LukasReschke
    Contributor

    Patched with #18898

  7. locked as resolved and limited conversation to collaborators on Aug 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions