[Freedombox-discuss] OwnCloud

Anders Jackson anders.jackson at gmail.com
Mon Apr 7 12:16:32 UTC 2014


2014-04-05 22:01 GMT+02:00 Petter Reinholdtsen <pere at hungry.com>:
> [Petter Reinholdtsen 2014-03-12]
>> I got the Freedombox as far as installing the OwnCloud Debian package
>> using the web admin interface on request.  The web request will time
>> out, but the installation will keep going in the background.  OwnCloud
>> is not automatically configured, so when the first person visit the
>> installed owncloud instance, she get to pick password and configure
>> the database. :) This should be fixed, of course. :)
> I finally had time to look more at the owncloud setup for Freedombox,
> and created a patch <URL: https://github.com/NickDaly/Plinth/pull/72 >
> to automatically configure it.  I set it to use PostgreSQL, as I prefer
> ig over sqlite and mysql, and to make sure owncloud handle several users
> at once.

MySQL or PostgreSQL is set depending on which package is installed for
OwnStack, isn't it? Was like that when I installed OwnCloud last time
anyway.  Check which database is installed and use the installed RDB
server could be something to work on later.

Wouldn't it be easier to use the dbconfig-common front end package to
set up the database? It was on the TODO-list of OwnCloud package
anyway and would make all this easier if that support was put into
OwnCloud package.

Should probably set the different services under different virtual web
servers in Apache.  In that way depening which name, alias, is used to
connect to the web server Apache will select which setting to use.
Could be administrated with simple a2ensite/a2dissite commands.

If example.com is the domain of the server,
https://owncloud.example.com/ would use OwnCloud,
http://www.example.com/ a public web server and
https://plinth.example.com/ would get to the plinth service etc.  A
default virtual webb server should then probably only show some
FreedomBox help information.   And different accessescould be set up
in different virtual service configuration files.

>> I suspect we must have several options, and one of them I hope to get
>> working is pagekite. :)
> This should work out of the box in a few days, when pagekite enter
> testing.

With many CNAME/alias for the machine it will be easier to set upp
different services on the same public IPv4 address.  With IPv6 it's
possible to set up different public IPv6 addresses for each virtual
web service, if wanted.  That would make firewall setup easier.

> --
> Happy hacking
> Petter Reinholdtsen

Great work.  Time to install FreedomBox in a virtual web server and
stop guessing, wouldn't it? ;-)

Anders Jackson

More information about the Freedombox-discuss mailing list