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

Core updating logs shows empty messages in some scenarios. #423

Open
davitol opened this issue Nov 29, 2018 · 22 comments
Open

Core updating logs shows empty messages in some scenarios. #423

davitol opened this issue Nov 29, 2018 · 22 comments
Assignees
Milestone

Comments

@davitol
Copy link

davitol commented Nov 29, 2018

Description

Core updating logs shows empty messages in some scenarios.

Steps to reproduce

1 . Having an oC 10.0.10 server, install password policy v1.0.3 using a tarball
2. Upgrade oC server to daily master

Expected result

Upgrade Logs should show the version Password Policy was upgraded

Current behavior

The app gets updated from 1.0.3 to 2.11 when I make a oC major update but the upgrade output shows like an exception with an empty message.

Repair info: App (notifications) is not known at the marketplace.
2018-11-29T08:59:54+00:00 Repair info: Fetching app from market: password_policy
2018-11-29T08:59:54+00:00 Repair info:
2018-11-29T08:59:54+00:00 Repair info: Fetching app from market: provisioning_api
2018-11-29T08:59:54+00:00 Repair info: App (provisioning_api) is not known at the marketplace.
2018-11-29T08:59:54+00:00 Repair info: Fetching app from market: systemtags
2018-11-29T08:59:54+00:00 Repair info: App (systemtags) is not known at the marketplace.
2018-11-29T08:59:54+00:00 Repair info: Fetching app from market: updatenotification
2018-11-29T08:59:54+00:00 Repair info: App (updatenotification) is not known at the marketplace.
2018-11-29T08:59:54+00:00 Repair info: App was not updated: comments
2018-11-29T08:59:54+00:00 Repair info: App was not updated: configreport
2018-11-29T08:59:54+00:00 Repair info: App was not updated: dav
2018-11-29T08:59:54+00:00 Repair info: App was not updated: federatedfilesharing
2018-11-29T08:59:54+00:00 Repair info: App was not updated: federation
2018-11-29T08:59:54+00:00 Repair info: App was not updated: files
2018-11-29T08:59:54+00:00 Repair info: App was not updated: files_external
2018-11-29T08:59:54+00:00 Repair info: App was not updated: files_sharing
2018-11-29T08:59:54+00:00 Repair info: App was not updated: files_trashbin
2018-11-29T08:59:54+00:00 Repair info: App was not updated: files_versions
2018-11-29T08:59:54+00:00 Repair info: App was not updated: firstrunwizard
2018-11-29T08:59:54+00:00 Repair info: App was not updated: market
2018-11-29T08:59:54+00:00 Repair info: App was not updated: notifications
2018-11-29T08:59:54+00:00 Repair info: App was not updated: password_policy

Note: There was a password policy major version only available for master (max-version 11) that is the one that is finally updated, different from the major version of 10.0.10.

Before update:

screen shot 2018-11-29 at 10 00 18

After update:

Enabled:
  - comments: 0.3.0
  - configreport: 0.1.2
  - dav: 0.4.0
  - federatedfilesharing: 0.3.1
  - federation: 0.1.0
  - files: 1.5.1
  - files_external: 0.7.1
  - files_sharing: 0.11.0
  - files_trashbin: 0.9.1
  - files_versions: 1.3.0
  - firstrunwizard: 1.1.1
  - market: 0.2.5
  - notifications: 0.4.1
  - password_policy: 2.11.0

@VicDeo

@davitol davitol added this to the QA milestone Nov 29, 2018
@PVince81
Copy link
Contributor

weird, looks like a bug. we should fix this before 0.3.0 is out I think

@PVince81
Copy link
Contributor

fix must PR onto release-0.3.0 branch

@VicDeo
Copy link
Member

VicDeo commented Nov 29, 2018

@davitol should I use the market shipped with 10.0.10 for the env?

@PVince81
Copy link
Contributor

@VicDeo no I think it was discovered while testing market 0.3.0, see #417 (comment) for the tarball

@davitol
Copy link
Author

davitol commented Nov 30, 2018

@davitol should I use the market shipped with 10.0.10 for the env?

As already clarified via Rocket.Chat, the market app used in this specific scenario was the one included in ownCloud daily master tarball

@VicDeo
Copy link
Member

VicDeo commented Nov 30, 2018

@davitol it's not related to the password policy update path...
probably some other app triggers it:

Here are my steps:

  1. Install 10.0.10 release tarball
  2. Install & enable password_policy 1.0.3
  3. Remove everything except directories
    config, data, apps/password_policy
  4. Copy content of daily-master-qa on top
  5. Patch config to use internal markeplace
  6. run occ upgrade

result

> php occ upgrade
ownCloud or one of the apps require upgrade - only a limited number of commands are available
You may use your browser or the occ upgrade command to do the upgrade
2018-11-30T12:38:49+00:00 Set log level to debug
2018-11-30T12:38:59+00:00 Repair step: Upgrade app code from the marketplace
2018-11-30T12:39:04+00:00 Repair info: Using market to update existing apps
2018-11-30T12:39:04+00:00 Repair info: Attempting to update the following existing but incompatible app from market: files_videoplayer, password_policy                                                                                                                       
2018-11-30T12:39:14+00:00 Repair info: Fetching app from market: files_videoplayer
2018-11-30T12:39:28+00:00 Repair info: App (files_videoplayer) is not known at the marketplace.
2018-11-30T12:39:33+00:00 Repair info: Fetching app from market: password_policy
2018-11-30T12:44:12+00:00 Repair info: Attempting to update the following existing compatible apps from market: comments, configreport, dav, federatedfilesharing, federation, files, files_external, files_sharing, files_trashbin, files_versions, firstrunwizard, market, notifications, provisioning_api, systemtags, updatenotification                                                                         
2018-11-30T12:44:29+00:00 Repair info: Fetching app from market: comments
2018-11-30T12:44:33+00:00 Repair info: App (comments) is not known at the marketplace.
2018-11-30T12:44:36+00:00 Repair info: Fetching app from market: configreport
2018-11-30T12:44:36+00:00 Repair info: App (configreport) is not known at the marketplace.
2018-11-30T12:44:37+00:00 Repair info: Fetching app from market: dav
2018-11-30T12:44:37+00:00 Repair info: App (dav) is not known at the marketplace.
2018-11-30T12:44:39+00:00 Repair info: Fetching app from market: federatedfilesharing
2018-11-30T12:44:39+00:00 Repair info: App (federatedfilesharing) is not known at the marketplace.
2018-11-30T12:44:40+00:00 Repair info: Fetching app from market: federation
2018-11-30T12:44:40+00:00 Repair info: App (federation) is not known at the marketplace.
2018-11-30T12:44:41+00:00 Repair info: Fetching app from market: files
2018-11-30T12:44:41+00:00 Repair info: App (files) is not known at the marketplace.
2018-11-30T12:44:42+00:00 Repair info: Fetching app from market: files_external
2018-11-30T12:44:42+00:00 Repair info: App (files_external) is not known at the marketplace.
2018-11-30T12:44:43+00:00 Repair info: Fetching app from market: files_sharing
2018-11-30T12:44:43+00:00 Repair info: App (files_sharing) is not known at the marketplace.
2018-11-30T12:44:43+00:00 Repair info: Fetching app from market: files_trashbin
2018-11-30T12:44:43+00:00 Repair info: App (files_trashbin) is not known at the marketplace.
2018-11-30T12:44:44+00:00 Repair info: Fetching app from market: files_versions
2018-11-30T12:44:44+00:00 Repair info: App (files_versions) is not known at the marketplace.
2018-11-30T12:44:45+00:00 Repair info: Fetching app from market: firstrunwizard
2018-11-30T12:44:45+00:00 Repair info: App (firstrunwizard) is not known at the marketplace.
2018-11-30T12:44:46+00:00 Repair info: Fetching app from market: market
2018-11-30T12:44:46+00:00 Repair info: App (market) is not known at the marketplace.
2018-11-30T12:44:46+00:00 Repair info: Fetching app from market: notifications
2018-11-30T12:44:46+00:00 Repair info: App (notifications) is not known at the marketplace.
2018-11-30T12:44:47+00:00 Repair info: Fetching app from market: provisioning_api
2018-11-30T12:44:47+00:00 Repair info: App (provisioning_api) is not known at the marketplace.
2018-11-30T12:44:48+00:00 Repair info: Fetching app from market: systemtags
2018-11-30T12:44:48+00:00 Repair info: App (systemtags) is not known at the marketplace.
2018-11-30T12:44:48+00:00 Repair info: Fetching app from market: updatenotification
2018-11-30T12:44:48+00:00 Repair info: App (updatenotification) is not known at the marketplace.
2018-11-30T12:44:48+00:00 Repair warning: You have incompatible or missing apps enabled that could not be found or updated via the marketplace.
2018-11-30T12:44:48+00:00 Repair warning: Please install or update the following apps manually or disable them with:
occ app:disable files_videoplayer
2018-11-30T12:44:48+00:00 Repair warning: For manually updating, see https://doc.owncloud.org/server/11.0/go.php?to=admin-marketplace-apps
2018-11-30T12:44:48+00:00 OC\RepairException: Upgrade is not possible
2018-11-30T12:44:48+00:00 Update failed
2018-11-30T12:44:48+00:00 Maintenance mode is kept active
2018-11-30T12:44:48+00:00 Reset log level

@davitol
Copy link
Author

davitol commented Nov 30, 2018

@VicDeo Which password_policy version did you get after the core upgrade?

@VicDeo
Copy link
Member

VicDeo commented Nov 30, 2018

may be I need to remove apps/password_policy in the step 3?
retrying...

@VicDeo
Copy link
Member

VicDeo commented Nov 30, 2018

The same when the app code is missing

> php occ upgrade                                 
ownCloud or one of the apps require upgrade - only a limited number of commands are available
You may use your browser or the occ upgrade command to do the upgrade
2018-11-30T13:21:42+00:00 Set log level to debug
2018-11-30T13:22:29+00:00 Repair step: Upgrade app code from the marketplace
2018-11-30T13:22:29+00:00 Repair info: Using market to update existing apps
2018-11-30T13:22:29+00:00 Repair info: Attempting to update the following existing but incompatible app from market: files_videoplayer
2018-11-30T13:22:40+00:00 Repair info: Fetching app from market: files_videoplayer
2018-11-30T13:22:40+00:00 Repair info: App (files_videoplayer) is not known at the marketplace.
2018-11-30T13:22:45+00:00 Repair info: Attempting to update the following missing apps from market: password_policy
2018-11-30T13:23:01+00:00 Repair info: Fetching app from market: password_policy
2018-11-30T13:24:39+00:00 Repair info: Attempting to update the following existing compatible apps from market: password_policy
2018-11-30T13:24:54+00:00 Repair info: Fetching app from market: comments
2018-11-30T13:25:04+00:00 Repair info: App (comments) is not known at the marketplace.
2018-11-30T13:25:06+00:00 Repair info: Fetching app from market: configreport
2018-11-30T13:25:06+00:00 Repair info: App (configreport) is not known at the marketplace.
2018-11-30T13:25:07+00:00 Repair info: Fetching app from market: dav
2018-11-30T13:25:07+00:00 Repair info: App (dav) is not known at the marketplace.
2018-11-30T13:25:07+00:00 Repair info: Fetching app from market: federatedfilesharing
2018-11-30T13:25:07+00:00 Repair info: App (federatedfilesharing) is not known at the marketplace.
2018-11-30T13:25:08+00:00 Repair info: Fetching app from market: federation
2018-11-30T13:25:08+00:00 Repair info: App (federation) is not known at the marketplace.
2018-11-30T13:25:09+00:00 Repair info: Fetching app from market: files
2018-11-30T13:25:09+00:00 Repair info: App (files) is not known at the marketplace.
2018-11-30T13:25:09+00:00 Repair info: Fetching app from market: files_external
2018-11-30T13:25:09+00:00 Repair info: App (files_external) is not known at the marketplace.
2018-11-30T13:25:10+00:00 Repair info: Fetching app from market: files_sharing
2018-11-30T13:25:10+00:00 Repair info: App (files_sharing) is not known at the marketplace.
2018-11-30T13:25:10+00:00 Repair info: Fetching app from market: files_trashbin
2018-11-30T13:25:10+00:00 Repair info: App (files_trashbin) is not known at the marketplace.
2018-11-30T13:25:11+00:00 Repair info: Fetching app from market: files_versions
2018-11-30T13:25:11+00:00 Repair info: App (files_versions) is not known at the marketplace.
2018-11-30T13:25:11+00:00 Repair info: Fetching app from market: firstrunwizard
2018-11-30T13:25:11+00:00 Repair info: App (firstrunwizard) is not known at the marketplace.
2018-11-30T13:25:12+00:00 Repair info: Fetching app from market: market
2018-11-30T13:25:12+00:00 Repair info: App (market) is not known at the marketplace.
2018-11-30T13:25:12+00:00 Repair info: Fetching app from market: notifications
2018-11-30T13:25:12+00:00 Repair info: App (notifications) is not known at the marketplace.
2018-11-30T13:25:12+00:00 Repair info: Fetching app from market: provisioning_api
2018-11-30T13:25:12+00:00 Repair info: App (provisioning_api) is not known at the marketplace.
2018-11-30T13:25:13+00:00 Repair info: Fetching app from market: systemtags
2018-11-30T13:25:13+00:00 Repair info: App (systemtags) is not known at the marketplace.
2018-11-30T13:25:13+00:00 Repair info: Fetching app from market: updatenotification
2018-11-30T13:25:13+00:00 Repair info: App (updatenotification) is not known at the marketplace.
2018-11-30T13:25:13+00:00 Repair warning: You have incompatible or missing apps enabled that could not be found or updated via the marketplace.
2018-11-30T13:25:13+00:00 Repair warning: Please install or update the following apps manually or disable them with:
occ app:disable files_videoplayer
2018-11-30T13:25:13+00:00 Repair warning: For manually updating, see https://doc.owncloud.org/server/11.0/go.php?to=admin-marketplace-apps
2018-11-30T13:25:13+00:00 OC\RepairException: Upgrade is not possible
2018-11-30T13:25:13+00:00 Update failed
2018-11-30T13:25:13+00:00 Maintenance mode is kept active
2018-11-30T13:25:13+00:00 Reset log level

@VicDeo
Copy link
Member

VicDeo commented Nov 30, 2018

@davitol 1.0.3, as per your report

@davitol
Copy link
Author

davitol commented Nov 30, 2018

@VicDeo Then there's definitely something different in our tests due to I got the 2.11. Later I will retest and post here the results

@VicDeo
Copy link
Member

VicDeo commented Nov 30, 2018

@davitol I mean that I start with v1.0.3
in the end it is v2.11.0

> php occ app:list
Enabled:
  - comments: 0.3.0
  - configreport: 0.1.1
  - dav: 0.4.0
  - federatedfilesharing: 0.3.1
  - federation: 0.1.0
  - files: 1.5.1
  - files_external: 0.7.1
  - files_sharing: 0.11.0
  - files_trashbin: 0.9.1
  - files_versions: 1.3.0
  - files_videoplayer: 0.9.8
  - firstrunwizard: 1.1
  - market: 0.2.5
  - notifications: 0.3.5
  - password_policy: 2.11.0
  - provisioning_api: 0.5.0
  - systemtags: 0.3.0
  - updatenotification: 0.2.1
Disabled:
  - encryption
  - external
  - testing
  - user_external

@davitol
Copy link
Author

davitol commented Dec 3, 2018

@VicDeo retested and keeps happening to me from 10.0.10 to daily master using tarballs

root@29c1fd302d58: /var/www/owncloud # occ upgrade
ownCloud or one of the apps require upgrade - only a limited number of commands are available
You may use your browser or the occ upgrade command to do the upgrade
2018-12-03T08:22:29+00:00 Set log level to debug
2018-12-03T08:22:29+00:00 Repair step: Upgrade app code from the marketplace
2018-12-03T08:22:30+00:00 Repair info: Using market to update existing apps
2018-12-03T08:22:30+00:00 Repair info: Attempting to update the following existing compatible apps from market:
2018-12-03T08:22:30+00:00 Repair info: Fetching app from market: comments
2018-12-03T08:22:31+00:00 Repair info: App (comments) is not known at the marketplace.
2018-12-03T08:22:31+00:00 Repair info: Fetching app from market: configreport
2018-12-03T08:22:31+00:00 Repair info: App (configreport) is not known at the marketplace.
2018-12-03T08:22:31+00:00 Repair info: Fetching app from market: dav
2018-12-03T08:22:31+00:00 Repair info: App (dav) is not known at the marketplace.
2018-12-03T08:22:31+00:00 Repair info: Fetching app from market: federatedfilesharing
2018-12-03T08:22:31+00:00 Repair info: App (federatedfilesharing) is not known at the marketplace.
2018-12-03T08:22:31+00:00 Repair info: Fetching app from market: federation
2018-12-03T08:22:31+00:00 Repair info: App (federation) is not known at the marketplace.
2018-12-03T08:22:31+00:00 Repair info: Fetching app from market: files
2018-12-03T08:22:31+00:00 Repair info: App (files) is not known at the marketplace.
2018-12-03T08:22:31+00:00 Repair info: Fetching app from market: files_external
2018-12-03T08:22:31+00:00 Repair info: App (files_external) is not known at the marketplace.
2018-12-03T08:22:31+00:00 Repair info: Fetching app from market: files_sharing
2018-12-03T08:22:31+00:00 Repair info: App (files_sharing) is not known at the marketplace.
2018-12-03T08:22:31+00:00 Repair info: Fetching app from market: files_trashbin
2018-12-03T08:22:31+00:00 Repair info: App (files_trashbin) is not known at the marketplace.
2018-12-03T08:22:31+00:00 Repair info: Fetching app from market: files_versions
2018-12-03T08:22:31+00:00 Repair info: App (files_versions) is not known at the marketplace.
2018-12-03T08:22:31+00:00 Repair info: Fetching app from market: firstrunwizard
2018-12-03T08:22:31+00:00 Repair info: App (firstrunwizard) is not known at the marketplace.
2018-12-03T08:22:31+00:00 Repair info: Fetching app from market: market
2018-12-03T08:22:31+00:00 Repair info: App (market) is not known at the marketplace.
2018-12-03T08:22:31+00:00 Repair info: Fetching app from market: notifications
2018-12-03T08:22:31+00:00 Repair info: App (notifications) is not known at the marketplace.
2018-12-03T08:22:31+00:00 Repair info: Fetching app from market: password_policy
2018-12-03T08:22:31+00:00 Repair info:
2018-12-03T08:22:31+00:00 Repair info: Fetching app from market: provisioning_api
2018-12-03T08:22:31+00:00 Repair info: App (provisioning_api) is not known at the marketplace.
2018-12-03T08:22:31+00:00 Repair info: Fetching app from market: systemtags
2018-12-03T08:22:31+00:00 Repair info: App (systemtags) is not known at the marketplace.
2018-12-03T08:22:31+00:00 Repair info: Fetching app from market: updatenotification
2018-12-03T08:22:31+00:00 Repair info: App (updatenotification) is not known at the marketplace.
2018-12-03T08:22:31+00:00 Repair info: App was not updated: comments
2018-12-03T08:22:31+00:00 Repair info: App was not updated: configreport
2018-12-03T08:22:31+00:00 Repair info: App was not updated: dav
2018-12-03T08:22:31+00:00 Repair info: App was not updated: federatedfilesharing
2018-12-03T08:22:31+00:00 Repair info: App was not updated: federation
2018-12-03T08:22:31+00:00 Repair info: App was not updated: files
2018-12-03T08:22:31+00:00 Repair info: App was not updated: files_external
2018-12-03T08:22:31+00:00 Repair info: App was not updated: files_sharing
2018-12-03T08:22:31+00:00 Repair info: App was not updated: files_trashbin
2018-12-03T08:22:31+00:00 Repair info: App was not updated: files_versions
2018-12-03T08:22:31+00:00 Repair info: App was not updated: firstrunwizard
2018-12-03T08:22:31+00:00 Repair info: App was not updated: market
2018-12-03T08:22:31+00:00 Repair info: App was not updated: notifications
2018-12-03T08:22:31+00:00 Repair info: App was not updated: password_policy
2018-12-03T08:22:31+00:00 Repair info: App was not updated: provisioning_api
2018-12-03T08:22:31+00:00 Repair info: App was not updated: systemtags
2018-12-03T08:22:31+00:00 Repair info: App was not updated: updatenotification
2018-12-03T08:22:31+00:00 Repair step: Repair MySQL database engine
2018-12-03T08:22:31+00:00 Repair step: Repair MySQL collation
2018-12-03T08:22:31+00:00 Repair info: Change collation for oc_migrations ...
2018-12-03T08:22:31+00:00 Repair step: Repair SQLite autoincrement
2018-12-03T08:22:31+00:00 Repair step: Repair orphaned reshare
2018-12-03T08:22:31+00:00 Repair step: Repair duplicate entries in oc_lucene_status
2018-12-03T08:22:31+00:00 Repair info: lucene_status table does not exist -> nothing to do
2018-12-03T08:22:31+00:00 Updating database schema
2018-12-03T08:22:32+00:00 Updated database
2018-12-03T08:22:33+00:00 Updating <notifications> ...
2018-12-03T08:22:33+00:00 Updated <notifications> to 0.4.1
2018-12-03T08:22:33+00:00 Repair step: Repair mime types
2018-12-03T08:22:33+00:00 Repair step: Detect file cache entries with path that does not match parent-child relationships
2018-12-03T08:22:33+00:00 Repair step: Generate ETags for file where no ETag is present.
2018-12-03T08:22:33+00:00 Repair info: ETags have been fixed for 0 files/folders.

@davitol
Copy link
Author

davitol commented Dec 3, 2018

Comment that previously i run a "non-success" upgrade due to I had to disable files_videoplayer app.

...
2018-12-03T08:21:42+00:00 Repair info: App (updatenotification) is not known at the marketplace.
2018-12-03T08:21:42+00:00 Repair warning: You have incompatible or missing apps enabled that could not be found or updated via the marketplace.
2018-12-03T08:21:42+00:00 Repair warning: Please install or update the following apps manually or disable them with:
occ app:disable files_videoplayer
2018-12-03T08:21:42+00:00 Repair warning: For manually updating, see https://doc.owncloud.org/server/11.0/go.php?to=admin-marketplace-apps
2018-12-03T08:21:42+00:00 OC\RepairException: Upgrade is not possible
2018-12-03T08:21:42+00:00 Update failed
2018-12-03T08:21:42+00:00 Maintenance mode is kept active
2018-12-03T08:21:42+00:00 Reset log level

@VicDeo
Copy link
Member

VicDeo commented Dec 3, 2018

Ok, i'll recheck with files_videoplayer disabled.
And thanks for posting the complete log :)

@VicDeo
Copy link
Member

VicDeo commented Dec 3, 2018

@davitol the results are still not the same in yours.

> php occ upgrade       
ownCloud or one of the apps require upgrade - only a limited number of commands are available
You may use your browser or the occ upgrade command to do the upgrade
2018-12-03T14:12:06+00:00 Set log level to debug
2018-12-03T14:15:45+00:00 Repair step: Upgrade app code from the marketplace
2018-12-03T14:15:45+00:00 Repair info: Using market to update existing apps
2018-12-03T14:15:45+00:00 Repair info: Attempting to update the following existing but incompatible app from market: password_policy
2018-12-03T14:16:05+00:00 Repair info: Fetching app from market: password_policy
2018-12-03T14:17:31+00:00 Repair info: Attempting to update the following existing compatible apps from market: 
2018-12-03T14:17:35+00:00 Repair info: Fetching app from market: comments
2018-12-03T14:17:41+00:00 Repair info: App (comments) is not known at the marketplace.
2018-12-03T14:17:42+00:00 Repair info: Fetching app from market: configreport
2018-12-03T14:17:42+00:00 Repair info: App (configreport) is not known at the marketplace.
2018-12-03T14:17:43+00:00 Repair info: Fetching app from market: dav
2018-12-03T14:17:43+00:00 Repair info: App (dav) is not known at the marketplace.
2018-12-03T14:17:44+00:00 Repair info: Fetching app from market: federatedfilesharing
2018-12-03T14:17:44+00:00 Repair info: App (federatedfilesharing) is not known at the marketplace.
2018-12-03T14:17:45+00:00 Repair info: Fetching app from market: federation
2018-12-03T14:17:45+00:00 Repair info: App (federation) is not known at the marketplace.
2018-12-03T14:17:45+00:00 Repair info: Fetching app from market: files
2018-12-03T14:17:45+00:00 Repair info: App (files) is not known at the marketplace.
2018-12-03T14:17:46+00:00 Repair info: Fetching app from market: files_external
2018-12-03T14:17:46+00:00 Repair info: App (files_external) is not known at the marketplace.
2018-12-03T14:17:47+00:00 Repair info: Fetching app from market: files_sharing
2018-12-03T14:17:47+00:00 Repair info: App (files_sharing) is not known at the marketplace.
2018-12-03T14:17:47+00:00 Repair info: Fetching app from market: files_trashbin
2018-12-03T14:17:47+00:00 Repair info: App (files_trashbin) is not known at the marketplace.
2018-12-03T14:17:48+00:00 Repair info: Fetching app from market: files_versions
2018-12-03T14:17:48+00:00 Repair info: App (files_versions) is not known at the marketplace.
2018-12-03T14:17:49+00:00 Repair info: Fetching app from market: firstrunwizard
2018-12-03T14:17:49+00:00 Repair info: App (firstrunwizard) is not known at the marketplace.
2018-12-03T14:17:53+00:00 Repair info: Fetching app from market: market
2018-12-03T14:17:53+00:00 Repair info: App (market) is not known at the marketplace.
2018-12-03T14:17:53+00:00 Repair info: Fetching app from market: notifications
2018-12-03T14:17:53+00:00 Repair info: App (notifications) is not known at the marketplace.
2018-12-03T14:17:54+00:00 Repair info: Fetching app from market: provisioning_api
2018-12-03T14:17:54+00:00 Repair info: App (provisioning_api) is not known at the marketplace.
2018-12-03T14:17:55+00:00 Repair info: Fetching app from market: systemtags
2018-12-03T14:17:55+00:00 Repair info: App (systemtags) is not known at the marketplace.
2018-12-03T14:17:56+00:00 Repair info: Fetching app from market: updatenotification
2018-12-03T14:17:56+00:00 Repair info: App (updatenotification) is not known at the marketplace.
2018-12-03T14:17:56+00:00 Repair info: App was not updated: comments
2018-12-03T14:17:56+00:00 Repair info: App was not updated: configreport
2018-12-03T14:17:56+00:00 Repair info: App was not updated: dav
2018-12-03T14:17:56+00:00 Repair info: App was not updated: federatedfilesharing
2018-12-03T14:17:56+00:00 Repair info: App was not updated: federation
2018-12-03T14:17:56+00:00 Repair info: App was not updated: files
2018-12-03T14:17:56+00:00 Repair info: App was not updated: files_external
2018-12-03T14:17:56+00:00 Repair info: App was not updated: files_sharing
2018-12-03T14:17:56+00:00 Repair info: App was not updated: files_trashbin
2018-12-03T14:17:56+00:00 Repair info: App was not updated: files_versions
2018-12-03T14:17:56+00:00 Repair info: App was not updated: firstrunwizard
2018-12-03T14:17:56+00:00 Repair info: App was not updated: market
2018-12-03T14:17:56+00:00 Repair info: App was not updated: notifications
2018-12-03T14:17:56+00:00 Repair info: App was not updated: provisioning_api
2018-12-03T14:17:56+00:00 Repair info: App was not updated: systemtags
2018-12-03T14:17:56+00:00 Repair info: App was not updated: updatenotification
2018-12-03T14:17:56+00:00 Repair step: Repair MySQL database engine
2018-12-03T14:17:56+00:00 Repair info: Not a mysql database -> nothing to do
2018-12-03T14:17:56+00:00 Repair step: Repair MySQL collation
2018-12-03T14:17:56+00:00 Repair info: Not a mysql database -> nothing to do
2018-12-03T14:17:56+00:00 Repair step: Repair SQLite autoincrement
2018-12-03T14:17:57+00:00 Repair step: Repair orphaned reshare
2018-12-03T14:17:57+00:00 Repair step: Repair duplicate entries in oc_lucene_status
2018-12-03T14:17:57+00:00 Repair info: lucene_status table does not exist -> nothing to do
2018-12-03T14:17:57+00:00 Updating database schema
2018-12-03T14:17:58+00:00 Updated database
2018-12-03T14:17:58+00:00 Updating <password_policy> ...
2018-12-03T14:17:58+00:00 Updated <password_policy> to 2.11.0
2018-12-03T14:17:58+00:00 Updating <notifications> ...
2018-12-03T14:17:58+00:00 Updated <notifications> to 0.4.1
2018-12-03T14:17:58+00:00 Repair step: Repair mime types
2018-12-03T14:17:58+00:00 Repair step: Detect file cache entries with path that does not match parent-child relationships
2018-12-03T14:17:58+00:00 Repair step: Generate ETags for file where no ETag is present.
2018-12-03T14:17:58+00:00 Repair info: ETags have been fixed for 0 files/folders.
2018-12-03T14:17:58+00:00 Repair step: Clean tags and favorites
2018-12-03T14:17:58+00:00 Repair info: 0 tags of deleted users have been removed.
2018-12-03T14:17:58+00:00 Repair info: 0 tags for delete files have been removed.
2018-12-03T14:17:58+00:00 Repair info: 0 tag entries for deleted tags have been removed.
2018-12-03T14:17:58+00:00 Repair info: 0 tags with no entries have been removed.
2018-12-03T14:17:58+00:00 Repair step: Drop old database tables
2018-12-03T14:17:58+00:00 Drop old database tables
2018-12-03T14:17:58+00:00 
                                                    2018-12-03T14:17:59+00:00  Done
 28/28 [============================] 100%2018-12-03T14:17:59+00:00 
2018-12-03T14:17:59+00:00 Repair step: Drop old background jobs
2018-12-03T14:17:59+00:00 Repair step: Remove getetag entries in properties table
2018-12-03T14:17:59+00:00 Repair info: Removed 0 unneeded "{DAV:}getetag" entries from properties table.
2018-12-03T14:17:59+00:00 Repair step: Repair outdated OCS IDs
2018-12-03T14:17:59+00:00 Repair step: Repair invalid shares
2018-12-03T14:17:59+00:00 Repair step: Remove old share propagation app entries
2018-12-03T14:17:59+00:00 Repair step: Move user avatars outside the homes to the new location
2018-12-03T14:17:59+00:00 Repair step: Remove shares of a users root folder
2018-12-03T14:17:59+00:00 Repair step: Repair unmerged shares
2018-12-03T14:17:59+00:00 Repair step: Disable extra themes
2018-12-03T14:17:59+00:00 Repair step: Repair sub shares
2018-12-03T14:17:59+00:00 Starting code integrity check...
2018-12-03T14:18:54+00:00 Finished code integrity check
2018-12-03T14:18:54+00:00 Update successful
2018-12-03T14:18:54+00:00 Maintenance mode is kept active
2018-12-03T14:18:54+00:00 Reset log level

@VicDeo
Copy link
Member

VicDeo commented Dec 3, 2018

@davitol in your case password_policy is listed below 'existing compatible apps' but password policy v1.0.3 is not compatible with core master. And in my case it is listed below 'existing but incompatible'.
Probably I am missing something crucial in your setup.

@davitol
Copy link
Author

davitol commented Dec 3, 2018

@VicDeo I have just reproduced it again, and i think I don't miss nothing in the steps above. If you want we can have an screensharing and I will show how i tested it

@PVince81
Copy link
Contributor

let's defer this, it's not a regression

@davitol davitol mentioned this issue Dec 20, 2018
24 tasks
@PVince81 PVince81 modified the milestones: QA, backlog Dec 20, 2018
@VicDeo
Copy link
Member

VicDeo commented Jan 24, 2019

Initial state

config.php

deo@jah-mobile:~/public_html/10010> cat config/config.php 
<?php
$CONFIG = array (
  'instanceid' => 'oc08v9iz8cfk',
  'passwordsalt' => 'UkCgvcoLxBbyVKk+k5CdRAJdo/u/ll',
  'secret' => '7GPqRycUadri2SStqGa8aCyx2ya/hpdy+6pcqJRsmZgOV3sS',
  'trusted_domains' => 
  array (
    0 => 'localhost',
  ),
  'datadirectory' => '/home/deo/public_html/10010/data',
  'overwrite.cli.url' => 'http://localhost/~deo/10010',
  'dbtype' => 'sqlite3',
  'version' => '10.0.10.4',
  'logtimezone' => 'UTC',
  'installed' => true,
  'marketplace.ca' => '/home/deo/public_html/_craft/internal_marketplace.crt',
  'appstoreurl' => 'https://marketplace.int.owncloud.com'  
);

Enabled apps

deo@jah-mobile:~/public_html/10010> php occ a:l
ownCloud or one of the apps require upgrade - only a limited number of commands are available
You may use your browser or the occ upgrade command to do the upgrade
Enabled:
  - comments: 0.3.0
  - configreport: 0.1.1
  - dav: 0.4.0
  - federatedfilesharing: 0.3.1
  - federation: 0.1.0
  - files: 1.5.1
  - files_external: 0.7.1
  - files_sharing: 0.11.0
  - files_trashbin: 0.9.1
  - files_versions: 1.3.0
  - firstrunwizard: 1.1
  - market: 0.2.5
  - notifications: 0.3.5
  - password_policy: 1.0.3
  - provisioning_api: 0.5.0
  - systemtags: 0.3.0
  - updatenotification: 0.2.1
Disabled:
  - encryption
  - external
  - files_videoplayer
  - testing
  - user_external

occ status

deo@jah-mobile:~/public_html/10010> php occ status
ownCloud or one of the apps require upgrade - only a limited number of commands are available
You may use your browser or the occ upgrade command to do the upgrade
  - installed: true
  - first_install_version: 10.0.10.4
  - version: 11.0.0.0
  - versionstring: 11.0.0 prealpha
  - edition: Community

occ upgrade

deo@jah-mobile:~/public_html/10010> php occ upgrade
ownCloud or one of the apps require upgrade - only a limited number of commands are available
You may use your browser or the occ upgrade command to do the upgrade
2019-01-24T13:37:43+00:00 Set log level to debug
2019-01-24T13:37:43+00:00 Turned on maintenance mode
2019-01-24T13:37:43+00:00 Repair step: Upgrade app code from the marketplace
2019-01-24T13:37:43+00:00 Repair info: Using market to update existing apps
2019-01-24T13:37:43+00:00 Repair info: Attempting to update the following existing but incompatible app from market: market, password_policy                                                                                                                                  
2019-01-24T13:37:43+00:00 Repair info: Fetching app from market: market
2019-01-24T13:37:43+00:00 Repair info: App (market) is not known at the marketplace.
2019-01-24T13:37:43+00:00 Repair info: Fetching app from market: password_policy
2019-01-24T13:37:47+00:00 Repair info: Attempting to update the following existing compatible apps from market: comments, configreport, dav, federatedfilesharing, federation, files, files_external, files_sharing, files_trashbin, files_versions, firstrunwizard, notifications, provisioning_api, systemtags, updatenotification                                                                                 
2019-01-24T13:37:47+00:00 Repair info: Fetching app from market: comments
2019-01-24T13:37:47+00:00 Repair info: App (comments) is not known at the marketplace.
2019-01-24T13:37:47+00:00 Repair info: Fetching app from market: configreport
2019-01-24T13:37:47+00:00 Repair info: App (configreport) is not known at the marketplace.
2019-01-24T13:37:47+00:00 Repair info: Fetching app from market: dav
2019-01-24T13:37:47+00:00 Repair info: App (dav) is not known at the marketplace.
2019-01-24T13:37:47+00:00 Repair info: Fetching app from market: federatedfilesharing
2019-01-24T13:37:47+00:00 Repair info: App (federatedfilesharing) is not known at the marketplace.
2019-01-24T13:37:47+00:00 Repair info: Fetching app from market: federation
2019-01-24T13:37:47+00:00 Repair info: App (federation) is not known at the marketplace.
2019-01-24T13:37:47+00:00 Repair info: Fetching app from market: files
2019-01-24T13:37:47+00:00 Repair info: App (files) is not known at the marketplace.
2019-01-24T13:37:47+00:00 Repair info: Fetching app from market: files_external
2019-01-24T13:37:47+00:00 Repair info: App (files_external) is not known at the marketplace.
2019-01-24T13:37:47+00:00 Repair info: Fetching app from market: files_sharing
2019-01-24T13:37:47+00:00 Repair info: App (files_sharing) is not known at the marketplace.
2019-01-24T13:37:47+00:00 Repair info: Fetching app from market: files_trashbin
2019-01-24T13:37:47+00:00 Repair info: App (files_trashbin) is not known at the marketplace.
2019-01-24T13:37:47+00:00 Repair info: Fetching app from market: files_versions
2019-01-24T13:37:47+00:00 Repair info: App (files_versions) is not known at the marketplace.
2019-01-24T13:37:47+00:00 Repair info: Fetching app from market: firstrunwizard
2019-01-24T13:37:47+00:00 Repair info: App (firstrunwizard) is not known at the marketplace.
2019-01-24T13:37:47+00:00 Repair info: Fetching app from market: notifications
2019-01-24T13:37:47+00:00 Repair info: App (notifications) is not known at the marketplace.
2019-01-24T13:37:47+00:00 Repair info: Fetching app from market: provisioning_api
2019-01-24T13:37:47+00:00 Repair info: App (provisioning_api) is not known at the marketplace.
2019-01-24T13:37:47+00:00 Repair info: Fetching app from market: systemtags
2019-01-24T13:37:47+00:00 Repair info: App (systemtags) is not known at the marketplace.
2019-01-24T13:37:47+00:00 Repair info: Fetching app from market: updatenotification
2019-01-24T13:37:47+00:00 Repair info: App (updatenotification) is not known at the marketplace.
2019-01-24T13:37:47+00:00 Repair info: App was not updated: comments
2019-01-24T13:37:47+00:00 Repair info: App was not updated: configreport
2019-01-24T13:37:47+00:00 Repair info: App was not updated: dav
2019-01-24T13:37:47+00:00 Repair info: App was not updated: federatedfilesharing
2019-01-24T13:37:47+00:00 Repair info: App was not updated: federation
2019-01-24T13:37:47+00:00 Repair info: App was not updated: files
2019-01-24T13:37:47+00:00 Repair info: App was not updated: files_external
2019-01-24T13:37:47+00:00 Repair info: App was not updated: files_sharing
2019-01-24T13:37:47+00:00 Repair info: App was not updated: files_trashbin
2019-01-24T13:37:47+00:00 Repair info: App was not updated: files_versions
2019-01-24T13:37:47+00:00 Repair info: App was not updated: firstrunwizard
2019-01-24T13:37:47+00:00 Repair info: App was not updated: notifications
2019-01-24T13:37:47+00:00 Repair info: App was not updated: provisioning_api
2019-01-24T13:37:47+00:00 Repair info: App was not updated: systemtags
2019-01-24T13:37:47+00:00 Repair info: App was not updated: updatenotification
2019-01-24T13:37:47+00:00 Repair step: Repair MySQL database engine
2019-01-24T13:37:47+00:00 Repair info: Not a mysql database -> nothing to do
2019-01-24T13:37:47+00:00 Repair step: Repair MySQL collation
2019-01-24T13:37:47+00:00 Repair info: Not a mysql database -> nothing to do
2019-01-24T13:37:47+00:00 Repair step: Repair SQLite autoincrement
2019-01-24T13:37:47+00:00 Repair step: Repair orphaned reshare
2019-01-24T13:37:47+00:00 Repair step: Repair duplicate entries in oc_lucene_status
2019-01-24T13:37:47+00:00 Repair info: lucene_status table does not exist -> nothing to do
2019-01-24T13:37:47+00:00 Updating database schema
2019-01-24T13:37:48+00:00 Updated database
2019-01-24T13:37:48+00:00 Updating <market> ...
2019-01-24T13:37:48+00:00 Updated <market> to 0.3.0
2019-01-24T13:37:48+00:00 Updating <password_policy> ...
2019-01-24T13:37:48+00:00 Updated <password_policy> to 2.11.0
2019-01-24T13:37:48+00:00 Updating <notifications> ...
2019-01-24T13:37:48+00:00 Updated <notifications> to 0.4.1
2019-01-24T13:37:48+00:00 Repair step: Repair mime types
2019-01-24T13:37:48+00:00 Repair step: Detect file cache entries with path that does not match parent-child relationships
2019-01-24T13:37:48+00:00 Repair step: Generate ETags for file where no ETag is present.
2019-01-24T13:37:48+00:00 Repair info: ETags have been fixed for 0 files/folders.
2019-01-24T13:37:48+00:00 Repair step: Clean tags and favorites
2019-01-24T13:37:48+00:00 Repair info: 0 tags of deleted users have been removed.
2019-01-24T13:37:48+00:00 Repair info: 0 tags for delete files have been removed.
2019-01-24T13:37:48+00:00 Repair info: 0 tag entries for deleted tags have been removed.
2019-01-24T13:37:48+00:00 Repair info: 0 tags with no entries have been removed.
2019-01-24T13:37:48+00:00 Repair step: Drop old database tables
2019-01-24T13:37:48+00:00 Drop old database tables
2019-01-24T13:37:48+00:00 
                                                    2019-01-24T13:37:48+00:00  Done
 28/28 [============================] 100%2019-01-24T13:37:48+00:00 
2019-01-24T13:37:48+00:00 Repair step: Drop old background jobs
2019-01-24T13:37:48+00:00 Repair step: Remove getetag entries in properties table
2019-01-24T13:37:48+00:00 Repair info: Removed 0 unneeded "{DAV:}getetag" entries from properties table.
2019-01-24T13:37:48+00:00 Repair step: Repair outdated OCS IDs
2019-01-24T13:37:48+00:00 Repair step: Repair invalid shares
2019-01-24T13:37:48+00:00 Repair step: Remove old share propagation app entries
2019-01-24T13:37:48+00:00 Repair step: Move user avatars outside the homes to the new location
2019-01-24T13:37:48+00:00 Repair step: Remove shares of a users root folder
2019-01-24T13:37:48+00:00 Repair step: Repair unmerged shares
2019-01-24T13:37:48+00:00 Repair step: Disable extra themes
2019-01-24T13:37:48+00:00 Repair step: Repair sub shares
2019-01-24T13:37:48+00:00 Starting code integrity check...
2019-01-24T13:38:40+00:00 Finished code integrity check
2019-01-24T13:38:40+00:00 Update successful
2019-01-24T13:38:40+00:00 Turned off maintenance mode
2019-01-24T13:38:40+00:00 Reset log level

apps after upgrade

deo@jah-mobile:~/public_html/10010> php occ a:l
Enabled:
  - comments: 0.3.0
  - configreport: 0.1.1
  - dav: 0.4.0
  - federatedfilesharing: 0.3.1
  - federation: 0.1.0
  - files: 1.5.1
  - files_external: 0.7.1
  - files_sharing: 0.11.0
  - files_trashbin: 0.9.1
  - files_versions: 1.3.0
  - firstrunwizard: 1.1
  - market: 0.3.0
  - notifications: 0.4.1
  - password_policy: 2.11.0
  - provisioning_api: 0.5.0
  - systemtags: 0.3.0
  - updatenotification: 0.2.1
Disabled:
  - encryption
  - external
  - files_videoplayer
  - testing
  - user_external

@VicDeo
Copy link
Member

VicDeo commented Jan 24, 2019

@davitol could it be a connectivity issue in your case?
As I see for your repair step

2018-12-03T08:22:31+00:00 Repair info: App was not updated: notifications
2018-12-03T08:22:31+00:00 Repair info: App was not updated: password_policy
2018-12-03T08:22:31+00:00 Repair info: App was not updated: provisioning_api

For me it is just

2019-01-24T13:37:47+00:00 Repair info: App was not updated: notifications
2019-01-24T13:37:47+00:00 Repair info: App was not updated: provisioning_api

@PVince81
Copy link
Contributor

moving to backlog for now, not critical

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants