Code Monkey home page Code Monkey logo

owncloud-cookbook's People

Contributors

avsh avatar laradji avatar ledfan avatar michaelsp avatar zuazo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

owncloud-cookbook's Issues

removed config.ssh settings

According to berkshelf/berkshelf#856

I replaced in Vagrantfile

config.ssh.max_tries = 40
config.ssh.timeout   = 120

with

config.vm.boot_timeout = 120

PS: Thanks for the cookbook so far, I haven't send you a PR, because I am fairly new to Vagrant & Co.

Install ownCloud from git

It would be awesome if ownCloud could be installed from git repositories.

Background

We, the ownCloud QA team, would like to use this cookbook for setting up our testing vms. However, this requires some improvements like the ability to use different webservers or install ownCloud from different sources.

Code only used for testing will be in another cookbook, see https://github.com/owncloud/acceptance-testing for more information.

Mount /var/www/owncloud

I'm trying to setup an dev vm for ownCloud. I would like to mount the /var/www/owncloud in the vm as /workspace/chat/app. But there is some strange behaviour:
the CSS files of any owncloud app aren't loaded however the CSS files of core are loaded.

schermafbeelding 2014-02-28 op 10 56 41

But it get strangers: when I try the same configuration without the ownCloud cookbook but with a simple shell script my configuration works.

I tested the cookbook with centos and precise32. I tried to mount /workspace/chat/app to /workpace and then create a symbolic link between /var/www. I tried to mount --bind /var/www & /workspace on the guest, but nothing works.

My configuration can be viewed here.

Thanks in advance

Box 'opscode-ubuntu-12.04' was not found

On first vagrant up I get this error:

[default] Box 'opscode-ubuntu-12.04' was not found. Fetching box from specified URL for
the provider 'virtualbox'. Note that if the URL does not have
a box for this provider, you should interrupt Vagrant now and add
the box yourself. Otherwise Vagrant will attempt to download the
full box prior to discovering this error.
Downloading box from URL: https://opscode-vm-bento.s3.amazonaws.com/vagrant/opscode_ubuntu-12.04_provisionerless.box
Progress: 5% (Rate: 1095k/s, Estimated time remaining: 0:06:44)

I can bring up the machine afterwards, but I thought it should be addressed.

Add support for lighttpd

It would be great if this cookbook could setup ownCloud in an lighttpd-environment.

Background

We, the ownCloud QA team, would like to use this cookbook for setting up our testing vms. However, this requires some improvements like the ability to use different webservers or install ownCloud from different sources.

Code only used for testing will be in another cookbook, see https://github.com/owncloud/acceptance-testing for more information.

Support Centos 7

Centos 7 is out for some time now. WIth Centos 7 a new version of apache is released which isn't full compatibly with the older version. Here you can find more information about this: http://httpd.apache.org/docs/2.4/upgrading.html

The following configuration should be changed (if centos 7): https://github.com/onddo/owncloud-cookbook/blob/master/templates/default/apache_vhost.erb#L14-L15

As in the link above this should be changed in:

2.2 configuration:
Order deny,allow
Deny from all
2.4 configuration:
Require all denied

Thanks!

latest owncloud needs PHP 5.4.0

The latest owncloud wants PHP 5.4.0. This cookbook installs 5.3.10 on Ubuntu 12.04.

If you use the default recipe with the latest you'll only see this on page load:

This version of ownCloud requires at least PHP 5.4.0
<br/>
You are currently running 5.3.10-1ubuntu3.16. Please update your PHP version.

Dependency hell since 0756e6f83f3dc6423f07b82812556b1d96422d20

Hi

Can I ask you why commit 0756e6f was made? I can't resolve the dependencies of this cookbook anymore. I'm using librarian-chef:

[Librarian] Ruby Version: 2.1.3
[Librarian] Ruby Platform: x86_64-linux-gnu
[Librarian] Rubygems Version: 2.2.2
[Librarian] Librarian Version: 0.1.2
[Librarian] Librarian Adapter: chef
[Librarian] Librarian Adapter Version: 0.0.4
[Librarian] Project: /home/tobia/Workspace/Chat/vagrant
[Librarian] Specfile: Cheffile
[Librarian] Lockfile: Cheffile.lock
[Librarian] Git: /usr/bin/git
[Librarian] Git Version: 2.1.4
[Librarian] Git Environment Variables:
[Librarian]   (empty)
[Librarian] Pre-Cached Sources:
[Librarian]   [:site, "https://supermarket.getchef.com/api/v1", {}]
[Librarian]   [:git, "https://github.com/opscode-cookbooks/database", {:ref=>"v2.1.8"}]
[Librarian]   [:git, "https://github.com/opscode-cookbooks/mysql_chef_gem", {:ref=>"v0.0.2"}]
[Librarian]   [:git, "https://github.com/LEDfan/chef-php-recipes", {}]
[Librarian] Post-Cached Sources:
[Librarian]   [:site, "https://supermarket.getchef.com/api/v1", {}]
[Librarian]   [:git, "https://github.com/opscode-cookbooks/database", {:ref=>"v2.1.8"}]
[Librarian]   [:git, "https://github.com/opscode-cookbooks/mysql_chef_gem", {:ref=>"v0.0.2"}]
[Librarian]   [:git, "https://github.com/LEDfan/chef-php-recipes", {}]
[Librarian]   [:git, "https://github.com/onddo/owncloud-cookbook", {:ref=>"master"}]
[Librarian]   [:git, "https://github.com/LEDfan/chef-php-recipes", {:ref=>"master"}]
[Librarian] Analyzing spec and lock:
[Librarian]   Removed:
[Librarian]   ExplicitRemoved:
[Librarian]   Added:
[Librarian]   NonMatchingAdded:
[Librarian]   Changed:
[Librarian]     owncloud
[Librarian]   DeepKeep:
[Librarian]     database
[Librarian]     git
[Librarian]     mysql_chef_gem
[Librarian]     php-recipes
[Librarian]     phpunit
[Librarian]   ShallowStrip:
[Librarian]     owncloud
[Librarian] Resolving owncloud (>= 0) <https://github.com/onddo/owncloud-cookbook#master>
[Librarian]   Checking manifests
[Librarian]     --- No output
[Librarian]     --- No output
[Librarian]     --- No output
[Librarian]     --- No output
[Librarian]     --> origin
[Librarian]     -->   origin/HEAD -> origin/master
[Librarian]     -->   origin/master
[Librarian]     --> 0756e6f83f3dc6423f07b82812556b1d96422d20
[Librarian]     --> 0756e6f83f3dc6423f07b82812556b1d96422d20
[Librarian]     Checking owncloud/0.5.0 <https://github.com/onddo/owncloud-cookbook#master>
[Librarian]       Conflict between openssl (~> 4.0.0) <(no source specified)> and openssl (~> 2.0) <(no source specified)>
[Librarian]       Backtracking from owncloud/0.5.0 <https://github.com/onddo/owncloud-cookbook#master>
[Librarian]   Failed to resolve owncloud (>= 0) <https://github.com/onddo/owncloud-cookbook#master>
Could not resolve the dependencies.

Thanks!

Add attribute to skip settings permissions

Hey. Again thanks for this awesome cookbook ๐Ÿ‘

In some situations settings the permissions of a directory is impossible. (Even as root). This is e.g. the case when you have mounted /var/www as a NFS share. (with vagrant)

This isn't really a problem since Apache & nginx are running as the same user who mounted the NFS share. (user vagrant and group vagrant). So the web server has write permission in this situation.

But because Chef fails and an exception is thrown, the cookbook can't finish.

Would it be possible to create an attribute skip_permissions? This would be really great!

Thanks in advance!

Add support for nginx

It would be great if this cookbook could setup ownCloud in an nginx-environment.

Background

We, the ownCloud QA team, would like to use this cookbook for setting up our testing vms. However, this requires some improvements like the ability to use different webservers or install ownCloud from different sources.

Code only used for testing will be in another cookbook, see https://github.com/owncloud/acceptance-testing for more information.

Add instructions about custom SSL certificates

This is how I solved it, but I am not sure if this is the 100% perfect way:

Using existing SSL certificates

In _apache.rb or _nginx.rb remove the certificate generation and replace it with file paths.

ssl_key_path, ssl_cert_path = generate_certificate

ssl_key_path = '/path/to/private.key'
ssl_cert_path = '/path/to/cert.pem'

Installation with openSUSE Build Service

Why do you not install owncloud through the opensuse build service, which is the preferred method from the owncloud documentation?
The update process is easier and you can install it through apt, yum,...

Hostname typo

I'd suggest to change (add an "n")

config.vm.hostname = "owcloud"

to

config.vm.hostname = "owncloud.local"

or something similar, this would also help testing the ssl connection in the VM.

Errors with Ubuntu 13 and Ruby 1.8.7

using ubuntu 13.10, chef 11.8.2 and ruby 1.8.7
I got these following errors so far:

nginx version number fails (outputs 1.4.1 (ubuntu) instead of just 1.4.1).
attributes/default.rb fails (there's a ',' before the closing ')' )
Error writting OwnCloud config: undefined method `write' for IO:Class

....

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.