Owncloud latest#10514
Conversation
|
Note there's owncloud 8.2 :P |
|
Indeed it just came out. I'll update that. |
|
Awesome! But please rename commits to follow our guides in |
|
@lethalman I updated to 8.2.0 Updating to 8.2.0 seems to work but I now have a bug where I need to restart the httpd server after the initial update to be able to use my password. |
|
I blame it on careless rebasing ... |
|
I would not merge this, because to my experience upgrading the package is not enough if not tested the migration scripts from 7.x to 8.x. The migration scripts are not working here (probably NixOS related problem), therefore there are 2 ways to do this:
And one more thing, @aborsu does WebDAV works? I had problems with it on 8.x versions. |
|
@matejc I didn't test WebDAV in version 8 yet, and I have a few issues as everytime I try to upgrade my server it freezes but that is an unrelated issue (... I think?). |
|
@aborsu this log should be already inside probably this replace does not match anymore in the newer version https://github.com/aborsu/nixpkgs/blob/owncloud-latest/pkgs/servers/owncloud/default.nix#L17 |
|
@aborsu about the freezing thingie .. make sure that it is not freezing at this point: https://github.com/aborsu/nixpkgs/blob/owncloud-latest/nixos/modules/services/web-servers/apache-httpd/owncloud.nix#L576 this line "should" do the database migration but I think this is also the likely suspect for freezing |
|
I tried a few things last night but unfortunately I haven't been able to get it to work reliably. |
|
@matejc |
|
@aborsu yes, lets update to 7.0.10 for now. I think that WebDav issue is related only to Nix/NixOS, some paths are probably not set correctly in the owncloud code. and again, @aborsu nice work! I will merge when I test things on my server, but this might take some time. If someone beats me to it, do merge. |
|
Ping. |
|
@vcunat tnx for ping @aborsu when accessing clean environment with default owncloud I get this error and I can not continue my config.php has and my configuration.nix has |
|
@aborsu also.. it would be awesome if someone could set owncloudPackage from the configuration.. example: this makes sense as multiple ownclouds are packaged |
|
ps: I hope I am not too demanding :) |
This reverts commit 772960b.
When an empty string was given as trusted_domain, the trusted domain was set to be empty string instead of not beeing set.
Owncloud package used can now be set in configuration.nix using package option.
|
Oups, not sure the rebase thing was a good idea... |
|
And sorry it took me so long to respond. |
|
No worries about the long response. What happen to rebase? :D No worries about that also, I will fix it by creating a new pull request with your commits, so you will not loose author data. The merge is near. |
Update owncloud to 8.1.3
Add ca-bundle.crt to config folder
Add url prefix option set with "/owncloud" as default value
Fix document root to only be set if there is no url prefix defined
This has not been tested with existing owncloud instances so if anyone has the courage to do that it would be interesting.
Example config using this change can be found here.
https://github.com/aborsu/dotfiles-nix/blob/master/acelpb.nix