-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Error when upgrade to 8.0 from the OpenSuse build repo on debian stable. #13992
Comments
@jnweiger Packaging issue. |
I can confirm this on debian stable. |
Same for me. |
Same here, Ubuntu 14.10 LTS with repo http://download.opensuse.org/repositories/isv:ownCloud:community/xUbuntu_14.04/ |
Same for me on Ubuntu with this repo : http://software.opensuse.org/download/package?project=isv:ownCloud:community&package=owncloud Can't install /upgrade |
(fyi) clean install doesn't have this issue, you can uninstall owncloud and install the new version to work around this. |
Can't upgrade too - exact same issue. Will reinstall ruin my configuration? |
Same issue. Debian stable. |
On Ubuntu-14.04 the owncloud package does not appear to contain /etc/apache2/conf-available/owncloud.conf
My debian.rules also seems to correctly push it into the owncloud-config-apache package only. |
@jnweiger I've noticed that when you upgrade from 7.0.4 the owncloud package still owns the apache config file. |
@twouters Will that result in data loss? |
uninstalling the "owncloud" package won't delete data as it owns just two files in its current state (a changelog and the apache config file) so it should be safe. |
I have the same problem. 7.0.4 to 8.0
|
I attempted and apt-get remove owncloud, then apt-get install owncloud and got this: (Reading database ... 62314 files and directories currently installed.) dpkg: error processing owncloud (--configure): |
@wrst: mv /etc/apache2/conf.d/owncloud.conf /etc/apache2/conf.d/owncloud.conf.backup |
WARNING: After getting the same error and ignoring it (don't ask...), opening the login page presented me with a dialog to create a new installation which did not notice at first - I've mistaken it with the upgrade notice. The outcome was a reset installation with all data lost. Fortunately I was able to recover from backup and returned to OC 7. |
@twouters that solved the packaging issue, will I need to move that config back? |
@wrst it should be a symlink to /etc/apache2/conf-available/owncloud.conf |
ok, I'm getting a pretty long "instance being updated.." at the login going to get lunch and leave it alone for a while :) |
@wrst that's because of another issue that'll be fixed in a short while |
@twouters thanks for the info just need to wait for an update? |
@s1lvester thanks! I can certainly do that, you guys are doing awesome work, thanks again! |
Repos are updated. Works fine for me with pkg-version 8.0.0-2 |
Still getting error with 8.0.0-4, but that time no error is printed: Preparing to unpack .../owncloud-config-apache_8.0.0-4_all.deb ... And i'm still having an error 500 on my server since the upgrade, no special error is loggued, so i'm totally lost for now :( |
Same error on Ubuntu 14.04 Notice:It's a fresh Ubuntu 14.04 Server with a complete new owncloud installation |
after upgrade: i see blank page in every web browser. |
@MaikelR2000: So do I, not sure but it could be some 3rdparty apps installed no longer compatible... |
@s1lvester Still more followup here. While struggling to get caught up, all my clients exited at once and I found this in the ownCloud server's /var/log/apache2/error.log:
Restarted Apache and all the clients reconnected, but figured y'all would want to know. |
Here is the error i can find in data/owncloud.log:
|
@theroch I my preinst script was broken. Sorry. |
@pasnox no all Apps removed |
test starting with an ownCloud 7 installation:
set admin password on the web page, play around
ownCloud will be updated to version 8.0. runs fine now. yeah! I believe this fixes the packaging issue here. |
Can anyone test please? Don´t have a test machine running now. @jnweiger When will you address the other issues? Have a quite big live install, and don't want to break anything. Running Ubuntu 12.04. |
@enoch85 not looking for other issues right now. Looking for my bed. More tomorrow ... |
Installing version 8.0.0.5 on Ubuntu 14.04 LTS works. Before logging in to ownlcoud I restored the symlinks I had to the data directory. And all files seem to be inplace. Thank you @jnweiger ! |
I also got stuck after "updated database". First I upgraded via apt-get update/upgrade from 7.0.3 to 7.0.4 called the page via firefox and updated the database. Everything was fine, process took just some seconds. Then I had to do apt-get dist-upgrade to get 8.0.0-2. After package update I called the page via browser and started the process. It showed "Database updated" and after some minutes "reload page". After that I was still in maintenance mode. In config.php maintenance was enabled, the version was still 7.0.4. So I tried "occ upgrade" which also displayed "Database updated" and then nothing happend. I waited for more than 30 minutes and this is no large install. I repeated the process several times (also with -3, -4 and -5), uninstalled owncloud, rebooted the server, apache and so on. Result was always the same. So in the end I restored my 7.0.3 backup which is doing fine again. I'm running Ubuntu 14.04 on a Strato v-server. |
@ccharlot Can you please translate the messages on the first screenshot or configure your browser to use English as language? |
Oops, sorry , should have done it befor posting. Updating ownCloud to version 8.0, this may take a while. Turned on maintenance mode (And then, after some time the rest of the message ) Please reload the page. For additional information, I have this kind of message in the log file : app":"core","message":"unable to rename, file does not exists : christophe/files_encryption/christophe.private.key |
Looks like a different issue. Can you open a new bug for this using the issue template? Thanks! @schiesbn FYI – looks encryption related. |
The problem of @ccharlot looks exactly like the one I have... Is the new issue already open? |
Maybe I solved this problem : i noticed that after upgrade, all files in the owncloud directory have root:root ownership. I changed them all to www-data:www-data with a : sudo chown www-data:www-data -R owncloud (being in the /var/www directory) Now I get another error message : An exception occurred while executing 'UPDATE "oc_filecache" SET "mtime" = ?, "etag" = ?, "storage_mtime" = ?, "parent"=? WHERE "fileid" = ?' with params [1423561734, "f18cb6bd430d600102f0a166a77815f1", 1423561734, null, "59108"]: SQLSTATE[23000]: Integrity constraint violation: 19 NOT NULL constraint failed: oc_filecache.parent Should I open a new issue about this one ? |
@jnweiger Thx, package installation with owncloud-config-apache (8.0.0-5) works now on Ubuntu 14.04. |
Removing packaging label. Packaging part of this issue is done. |
@jnweiger Installation and Configuration completed under Ubuntu 14.04, thx |
Removing files_mv app solved blank page issue. Thanks guys. |
I am closing here. Looks like we got the update scenario right in the debian packages now. Thanks everybody for your contributions! @ccharlot Yes, I am more strict on the file permissions now. Using root:root, unless apache owner is really needed. If you can identify where a root:root got in your way, please open a separate issue! |
I am by no means a packaging expert but appears to be an issue with owncloud-config-apache package. After the initial failure to upgrade I got this when I attempted a 'apt-get -f install'
owncloud-config-apache (from .../owncloud-config-apache_8.0.0-1_amd64.deb) ...
dpkg: error processing /var/cache/apt/archives/owncloud-config-apache_8.0.0-1_amd64.deb (--unpack):
trying to overwrite '/etc/apache2/conf-available/owncloud.conf', which is also in package owncloud 8.0.0-1
Errors were encountered while processing:
/var/cache/apt/archives/owncloud-config-apache_8.0.0-1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
The text was updated successfully, but these errors were encountered: