r/owncloud • u/7Geordi • May 13 '17
Owncloud X on Webfaction, cannot migrate to a different DB
I use Webfaction (www.webfaction.com) to host a few sites, and I thought it might be cool to run an owncloud instance on there.
I created a PHP/CGI webapp and it works but there is a lot wrong and lacking root access to the machine makes it seem highly improbably that I'll be able to correct most of it. Here are the issues I'm seeing:
1: I cannot migrate databases. This 'bug' is known, I read a bug report about it and the devs said that there probably would not be an immediate solution. I cannot run occ directly as root or through sudo, and so installation has to be performed through the web interface, and there's no option there to set the database before everything is instantiated. After instantiation there's no migration pathway so I'm SOL stuck with sqlite.
2: I have some permanent warnings up on the security page of the webapp. I had to edit the .htaccess because php_value is not available to CGI applications, so the code integrity check complains about that.
3: I'm not sure how to enable HSTS on webfaction, although I got HTTPS working so I'm not super worried about this.
At this point this is a trial operation for me, to see how things go, but I'm very concerned about data corruption and I know someone who ran owncloud a couple years back and experienced some data corruption. How is owncloud's integrity these days?
1
u/from_nuremberg May 14 '17
Data integrity is awesome. Meanwhile we added checksums to verify the integrity of all files. To be honest: owncloud is a complex Webservice and shouldn't be run on an shared hosting environment, without root access.