[Owncloud] how to run owncloud from a git repo clone

Bart Visscher bartv at thisnet.nl
Fri Aug 31 17:42:47 UTC 2012


On Fri, Aug 31, 2012 at 07:27:37PM +0200, Johannes Harms wrote:
> Hi Frank!
> 
> Thank you? But that was not the problem, I never checked out the HEAD revision from master, but I checkout out the release tags. 
> 
> I used to checkout the repo from gitorious and it ran fine on my server. Now I tried checking out the 'core' repo from github, and it lacks the calendar and a whole bunch of other apps. Closer examination showed that tag v4.0.7 from gitorious [see 1] includes the calendar and a whole bunch of other apps. But the same tag v4.0.7 from github [see 2] does not include the calendar app, and also lacks many more apps.
> 
> So I am wondering: How can I get owncloud from github to run on my server? I would like to checkout a revision tag, build owncloud if a build process is required at all, and then use the software. To do this, I seem to be lacking a build file or something to put the pieces together.  

Hi Johannes,

I'm doing something simular and i also needed to update my dev
environment. Take a look at my blogpost about this:
http://thisnet.nl/2012/08/how-to-change-owncloud-git-from-gitorious-to-github/

Bart

> 
> thanks, Johannes
> 
> PS 1:
> Yes, I could resort to downloading the released .zip-files from owncloud.org/releases. I would unzip them, and then put them back into a git repo of my own. But you will understand that this is cumbersome considering I could just checkout the proper version, and then build and use it.
> 
> PS 2: 
> The differences between the very same (!) tag "v4.0.7" in gitorious and github are obvious e.g. by looking at:
> [1] https://gitorious.org/owncloud/owncloud/trees/v4.0.7/apps/calendar
> [2] https://github.com/owncloud/core/tree/master/apps
> 
> 
> 
> 
> 
> On 31.08.2012, at 19:07, Frank Karlitschek <frank at owncloud.org> wrote:
> 
> > Hi Johannes,
> > 
> > we strongly suggest to run only released version of ownCloud in a serious production environment. If you are a bit more adventurous than you can also install alpha and beta versions. 
> > But I strongly suggest to not use git master unless you are a developer or you want to help with QR because this can break at any time and could even eat your data.
> > 
> > 
> > Frank
> > 
> > 
> > On 31.08.2012, at 10:00, Johannes Harms <jjh_nospam at gmx.at> wrote:
> > 
> >> Hi!
> >> 
> >> What is the best way to keep an owncloud installation up to date?
> >> 
> >> Background information: 
> >> My owncloud installation used to be a simple git clone from the repo on gitorious.org into my /var/www directory. To update my installation, it sufficed to run `git fetch; git checkout tag_name;` on my server. Yesterday I switched my repo URL from gitorious to github and found that my owncloud calendar did not work anymore. I guess this is because of the new project structure on github, where some (but not all) apps have been moved to a separate repository.
> >> 
> >> Potential solutions:
> >> * I could download and extract the .zip-files from owncloud.org/releases, but this is annoying and dangerous because it may accidentally overwrite stuff, and it makes reverting difficult in case an update fails. 
> >> * Of course, I could setup my own git repository and manually download and extract the .zip-files into this repository. This solves the problem of accidentally overwriting files and enables me to revert to previous versions. But it feels unnecessarily cumbersome. 
> >> 
> >> Maybe the owncloud project could make these things easier by either:
> >> * Using git submodules to tie the bits and pieces together, or:
> >> * Alternatively, providing a releases repository to pull the releases from
> >> 
> >> Also, where is the build script? The hudson build tasks seem to be using ant, but I can't find the build.xml files.
> >> 
> >> thank you for bearing with me!
> >> Johannes
> >> 
> >> 
> >> 
> >> _______________________________________________
> >> Owncloud mailing list
> >> Owncloud at kde.org
> >> https://mail.kde.org/mailman/listinfo/owncloud
> > 
> 
> _______________________________________________
> Owncloud mailing list
> Owncloud at kde.org
> https://mail.kde.org/mailman/listinfo/owncloud



More information about the Owncloud mailing list