Project

General

Profile

Bug #1574

New ownCloud Release: Version 7.0.3

Added by northridgegrp almost 5 years ago. Updated almost 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
ownCloud
Target version:
Start date:
11/14/2014
Due date:
% Done:

0%


Description

Please upgrade the ownCloud7 test package with this release. I will test it out for new instance and upgrade installations.

Several external storage fixes and improvements
Close session early to speedup apps page loading
Add overwrite.cli.url config option
Fix finding old versions in special cases
Make versions and encryption aware of copy operations
Force loading encryption app in all needed cases
Better filesystem scanning error messages
LDAP wizard fixes
Add configuration switch to enable preview mimetypes
Create backup of all encryption keys before recovery
Add displayname for admins
Better config.sample documentation
Better apps descriptions
Improve visual feedback if recovery key password gets changed
Fix some object store integration issues
Improved data directory configuration
Fix DAV permissions without create permissions
Fix filepicker home icon being partly hidden
Do only follow http and https redirects
Properly delete old previews
Prevent upgrades between more than one major versions
Several security fixes
Lots of smaller improvements

Download: https://download.owncloud.org/community/owncloud-7.0.3.tar.bz2

History

#1 Updated by bigfoot65 almost 5 years ago

  • Assignee changed from bigfoot65 to northridgegrp

App updated and install tested. There was a database upgrade issue and the automatic update did not work.
http://www.amahi.org/apps/owncloud-7

#2 Updated by northridgegrp almost 5 years ago

fyi...

Tested ownCloud update on a Raspberry Pi web server, successful. All usual test case conditions passed just fine. A couple of the apps were updated also, the Documents app was one of them. Viewing ODF documents works again. The Music apps still at V3.3.. Amahi testing on this release will be worked on once the V6.0.6 Amahi package is tested.

#3 Updated by northridgegrp almost 5 years ago

Testing Status Nov 21, 2014:

1. New Install Testing:

When ownCloud 7.0.3 is installed for the first time (no prior installations the following error is displayed when ownCloud is accessed for the first time:

An exception occurred while executing 'SELECT `fileid`, `storage`, `path`, `parent`, `name`, `mimetype`, `mimepart`, `size`, `mtime`, `storage_mtime`, `encrypted`, `unencrypted_size`, `etag`, `permissions` FROM `oc_filecache` WHERE `storage` = ? AND `path_hash` = ?': SQLSTATE[42S22]: Column not found: 1054 Unknown column 'storage_mtime' in 'field list'

I will investigate further laters.

2. When upgrading from ownCloud 6.0.6 to ownCloud 7.0.3 the following error is displayed when ownCloud is accessed for the first time:

[1045] SQLSTATE[HY000] [1045] Access denied for user 'owncloud6'@'localhost' (using password: YES)

  • I was able to login to the database fine with, "mysql --user=owncloud7 --password=owncloud7 owncloud7". So the database was setup correcly.
  • Part of the process upgrading from a prior major ownCloud release to a new one is to copy the old "config.php" file from backups to the new install instance. The file contained references to owncloud6. I changed all the references to owncloud7. When ownCloud was accessed for the first time the upgrade process completed successfully.
  • Upgrading ownCloud from v6.0.6 to 7.0.3 test cases were clean with no side effects. But the "New Install" failed. Weird.

#4 Updated by bigfoot65 almost 5 years ago

  • Status changed from New to Feedback

Updated scripts in the application. This should correct the restore problem. Please test and report results.

#5 Updated by northridgegrp almost 5 years ago

ownCloud Testing Status Nov 23, 2014: New Install Testing

_When ownCloud 7.0.3 is installed for the first time (no prior installations the following error is displayed when ownCloud is accessed for the first time:

An exception occurred while executing 'SELECT `fileid`, `storage`, `path`, `parent`, `name`, `mimetype`, `mimepart`, `size`, `mtime`, `storage_mtime`, `encrypted`, `unencrypted_size`, `etag`, `permissions` FROM `oc_filecache` WHERE `storage` = ? AND `path_hash` = ?': SQLSTATE[42S22]: Column not found: 1054 Unknown column 'storage_mtime' in 'field list'_

I managed to get new installs to work (no update or upgrade). It seems there are two problems:

1. After amahi package installed the following directories are by created at "/var/hda/files/" by the package install:

  • "owncloud" - this seems to be a left over from old Amahi packages and it is not used anymore.
  • "owncloud7" with subdirectory "data" - I found the ownerships and permissions were not correct
    I had to set them to the following:
    owncloud7 (ownership: apache:users, permissions: 775)
    data (ownership: apache:users, permissions: 775)

    Can you fix the Amahi package so that it does not create the "owncloud" directory? Also fix the package so that the
    correct directory ownerships and permssions can be set?

2. I found what looks like a bug. After ownCloud 7.0.3 is installed the "config.php" file is updated with "7.0.2".

Using the Linux "sed" command: sed -i 's/7.0.2/7.0.3/g' /var/hda/web-apps/owncloud7/html/config/config.php
The ownCloud "update" process is able to start and complete successfully. Can the Amahi package run this command at
the end of the package install?

If the above can be done it should not effect the ownCloud "update" or "upgrade" processes.

#6 Updated by northridgegrp almost 5 years ago

  • Assignee changed from northridgegrp to bigfoot65

I just update this bug with some testing results. I was able to get the new install of the Amahi package to work! Can you have a look at my update (ownCloud Testing Status Nov 23, 2014) and let me know if the fixes I found can be achieved?

If it is possible I will test new installs, update, and upgrade.

BTW: Other than the web Music app not being available, this release is pretty solid.

#7 Updated by bigfoot65 almost 5 years ago

  • Assignee changed from bigfoot65 to northridgegrp

Ok, some of these issues are my fault. I have since fixed them. The one that I am unsure we want to force is the permissions.

By default, all shares are owned by the first admin user. apache belongs to the users group, so should have the correct access.

Please test the install again and report back.

#8 Updated by bigfoot65 almost 5 years ago

I think everything is working correctly now. The files are updated to apache:users by the app and the owncloud directory has been removed. It only installs owncloud6 or owncloud7 if they do not already exist.

Installed and both updated the database correctly. Please test and let me know if you want to move ownCloud 7 to production.

#9 Updated by northridgegrp almost 5 years ago

ownCloud Testing Status Nov 24, 2014: Test Scenario 1/3-New Installation

Excellent! This test scenario completed successfully.

Will test the "ownCloud Update" scenario.

#10 Updated by northridgegrp almost 5 years ago

ownCloud Testing Status Nov 24, 2014: Test Scenario 2/3-Update Installation

This test completed successfully.

Will test "upgrade" installation next.

#11 Updated by northridgegrp almost 5 years ago

  • Assignee changed from northridgegrp to bigfoot65

ownCloud Testing Status Nov 25, 2014: Test Scenario 3/3-Upgrade Installation

And... we... finally... have ... a winna!

This scenario passed with no problems.

I think we are ready for a production release and the creation of ownCloud 7 (clone).

I will be updating the wiki in the next couple of days for the ownCloud upgrade process, advising of changing the "config.php" file.

#12 Updated by northridgegrp almost 5 years ago

northridgegrp wrote:

ownCloud Testing Status Nov 25, 2014: Test Scenario 3/3-Upgrade Installation

And... we... finally... have ... a winna!

This scenario passed with no problems.

I think we are ready for a production release and the creation of ownCloud 7 (clone).

I will be updating the wiki in the next couple of days for the ownCloud upgrade process, advising of changing the "config.php" file.

PS: I just updated the ownCloud wiki page for Upgrades showing additional steps that need to be done.

#13 Updated by bigfoot65 almost 5 years ago

  • Assignee changed from bigfoot65 to northridgegrp

Before we release this one, please take a look at the description. Also is the screen shot and logo still accurate?

https://www.amahi.org/apps/owncloud-7

If the description needs changed, please feel free to make the updates. You should have access. If not, please let me know what to change.

Once you confirm it's good, I will release it LIVE. I will add a link to ownCloud 6 stating ownCloud 7 is the latest stable version.

#14 Updated by bigfoot65 almost 5 years ago

  • Status changed from Feedback to Closed

Application screen shot updated and promoted to LIVE.

Also available in: Atom