[DOCKER] ownCloud is here!


Recommended Posts

Has anyone had any luck setting the 'overwritewebroot' flag to set a custom root? I'm try to set a custom root so I have something to filter on for my reverse proxy, but whenever I set that flag I get a "File not found: 404" in my browser and a line in the logs about a config file it can't find on a path that doesn't exist.

Link to comment

Whenever I try and do an update to the owncloud docker, it tries to update my database and just gets stuck on the page that says:

 

"This ownCloud instance is currently being updated, which may take a while.

This page will refresh itself when the ownCloud instance is available again."

 

I'm using a mariadb docker with this.

 

Any ideas?

Tony

Link to comment

Hi,

 

Update was good.  Using mariaDB backend, I just update using "Check for updates" on docker page of Unraid. 

 

It's working great.  You might install a new version of ACPu inside your docker file because it now report that inside the "Administration" portion of owncloud :

 

APCu below version 4.0.6 installed

APCu below version 4.0.6 is installed, for stability and performance reasons we recommend to update to a newer APCu version.

Link to comment

Hi,

 

Update was good.  Using mariaDB backend, I just update using "Check for updates" on docker page of Unraid. 

 

It's working great.  You might install a new version of ACPu inside your docker file because it now report that inside the "Administration" portion of owncloud :

 

APCu below version 4.0.6 installed

APCu below version 4.0.6 is installed, for stability and performance reasons we recommend to update to a newer APCu version.

 

This was the cause of php-fpm stalls: https://bugs.launchpad.net/ubuntu/+source/php-apcu/+bug/1374892

 

Whenever I try and do an update to the owncloud docker, it tries to update my database and just gets stuck on the page that says:

 

"This ownCloud instance is currently being updated, which may take a while.

This page will refresh itself when the ownCloud instance is available again."

 

I'm using a mariadb docker with this.

 

Any ideas?

Tony

 

Try this:

 

docker exec ownCloud sudo -u nobody -s /bin/bash -c "php /var/www/owncloud/occ upgrade"  

 

This will upgrade ownCloud from the terminal, and avoid the webgui timeouts.

Link to comment

Hi,

 

Update was good.  Using mariaDB backend, I just update using "Check for updates" on docker page of Unraid. 

 

It's working great.  You might install a new version of ACPu inside your docker file because it now report that inside the "Administration" portion of owncloud :

 

APCu below version 4.0.6 installed

APCu below version 4.0.6 is installed, for stability and performance reasons we recommend to update to a newer APCu version.

 

This was the cause of php-fpm stalls: https://bugs.launchpad.net/ubuntu/+source/php-apcu/+bug/1374892

 

Is there a way to fix that by a docker exec something to upgrade that package? or it's harmless?

Link to comment

Hi,

 

Update was good.  Using mariaDB backend, I just update using "Check for updates" on docker page of Unraid. 

 

It's working great.  You might install a new version of ACPu inside your docker file because it now report that inside the "Administration" portion of owncloud :

 

APCu below version 4.0.6 installed

APCu below version 4.0.6 is installed, for stability and performance reasons we recommend to update to a newer APCu version.

 

This was the cause of php-fpm stalls: https://bugs.launchpad.net/ubuntu/+source/php-apcu/+bug/1374892

 

Is there a way to fix that by a docker exec something to upgrade that package? or it's harmless?

 

It's a recommended package, not a required one, so I will remove it from the next update until Ubuntu put version 4.0.7 on the repository.

Link to comment

Has anyone had any luck setting the 'overwritewebroot' flag to set a custom root? I'm try to set a custom root so I have something to filter on for my reverse proxy, but whenever I set that flag I get a "File not found: 404" in my browser and a line in the logs about a config file it can't find on a path that doesn't exist.

 

Along with my earlier question how do I turn off https forcing? I'm working on getting this setup behind my entire public facing reverse proxy with an actual signed cert I have, so I don't want nginx/owncloud creating and forcing https at this layer.

Link to comment

Has anyone had any luck setting the 'overwritewebroot' flag to set a custom root? I'm try to set a custom root so I have something to filter on for my reverse proxy, but whenever I set that flag I get a "File not found: 404" in my browser and a line in the logs about a config file it can't find on a path that doesn't exist.

 

Along with my earlier question how do I turn off https forcing? I'm working on getting this setup behind my entire public facing reverse proxy with an actual signed cert I have, so I don't want nginx/owncloud creating and forcing https at this layer.

 

In my latest update, I create a plain text service on port tcp 8001.

 

gfjardim:  Any progress on tracking down the Bad Gateway issue?

 

After my second update (removal of php5-acpu), I haven't experienced any 502/504 timeouts yet, so let's hope it has been fixed.

Link to comment

Has anyone had any luck setting the 'overwritewebroot' flag to set a custom root? I'm try to set a custom root so I have something to filter on for my reverse proxy, but whenever I set that flag I get a "File not found: 404" in my browser and a line in the logs about a config file it can't find on a path that doesn't exist.

 

Along with my earlier question how do I turn off https forcing? I'm working on getting this setup behind my entire public facing reverse proxy with an actual signed cert I have, so I don't want nginx/owncloud creating and forcing https at this layer.

That's exactly what I'm trying to do with smdion's apache reverse proxy docker.  Managed with just about everything else but own cloud has got me stumped.  Be interested to hear how you got reverse proxy working if you manage it.  I'm very new to web servers so a bit out of my comfort zone to be honest.

Link to comment

Have you considered ownCloud in a docker container?  I highly recommend you look into that.

 

I took jonp's advice from a previous post and started to play around with ownCloud for the first time and I must say that it was fairly easy to install this docker. Thanks gfjardim for making this docker available.

 

Generally installing a docker application seems straight forward enough but while reading the previous posts and referring to ownCloud's documentation it seems as though a more robust database server can be used for ownCloud when using it for a large number of accounts and also for real time data syncing. I noticed that thegizzard had some initial issues with MariaDB and getting it to work with ownCloud and even though thegizzard seems to have worked out the issues with MariaDB and ownCloud there is very little documentation provided on how to proceed with the SQLite to MariaDB conversion. I have MariaDB installed but I can't go no further at this point as I have not idea how to access MariaDB config files to change Root password and to create the necessary account info for ownCloud. Even adding phpMyAdmin is a chore with no real guidance on how and where to install it. It would be of great help to others if the instructions on how to roll out MariaDB with ownCloud was posted.

 

 

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.