[support] dlandon - ownCloud


Recommended Posts

7 hours ago, LimeCenter said:

I tried to reinstall the docker and replace the data folder and config.php file.... however with little luck. Key question now remains: what are the most suitable options to recover the data that were stored in the docker? i.e. not asking every computer/person to re-upload their data?

Put the data in the data directory.

 

On 9/30/2019 at 8:05 AM, dlandon said:

Once you've restored the files, set the 'filesystem_check_changes' to '1' in config.php and ownCloud will re-synch the database to the actual files found.

 

Link to comment

Dear dlandon and members,

 

In the past days I tried various things but this gave me the best result so far. Yet, not a working cloud.

  1. Deleted the ownCloud docker + image through the unRAID UI
  2. In the command line
  3. rm -r /mnt/user/appdata/ownCloud
  4. Initiated installation through apps
  5. Adjusted settings of the docker for network type, IP adrdess, setting data path to '/mnt/user/appdata/ownCloud/data', MySQL to the used password.
  6. Completed the installation of ownCloud
  7. Checked if cloud posted (it did) with setting up the new admin account
  8. Shutting down the cloud with unRAID UI
  9. With command line moved the earlier prepared 'data', 'keys' folder to their right destination
    mv /mnt/user/appdata/data /mnt/user/appdata/ownCloud/
    mv /mnt/user/appdata/keys /mnt/user/appdata/ownCloud/
  10. Opened the config.php file and inserted the text of the old config.php file. In the file adjustments were made and saved:

    1.  'datadirectory' => '/mnt/user/appdata/ownCloud/data',

    2. 'filesystem_check_changes' => 1,

    3. 'maintenance' => true,

  11. The ownCloud was started in unRAID GUI

The restult was this text:

"Internal Server Error
The server encountered an internal error and was unable to complete your request. Please contact the server administrator if this error reappears multiple times, please include the technical details below in your report. More details can be found in the server log."

 

Looking at the ngix error.log the following information appeared:

2019/10/16 14:02:49 [error] 512#512: *927 FastCGI sent in stderr: "PHP message: {"reqId":"cd1ec5ee-9ddd-460c-b558-3493a89beb4a","level":4,"time":"2019-10-16T12:02:49+00:00","remoteAddr":"87.27.104.239","user":"--","app":"remote","method":"GET","url":"\/status.php","message":"An exception occurred while executing 'SELECT * FROM `oc_appconfig`':\n\nSQLSTATE[42S02]: Base table or view not found: 1146 Table 'owncloud.oc_appconfig' doesn't exist"}" while reading response header from upstream, client: 87.27.104.239, server: _, request: "GET /status.php HTTP/1.1", upstream: "fastcgi://unix:/run/php/php7.1-fpm.sock:", host: "our-URL"
2019/10/16 14:02:53 [error] 510#510: *929 FastCGI sent in stderr: "PHP message: {"reqId":"8f96b354-4152-4d96-b5b9-a1137567d176","level":4,"time":"2019-10-16T12:02:53+00:00","remoteAddr":"31.161.39.242","user":"--","app":"remote","method":"GET","url":"\/status.php","message":"An exception occurred while executing 'SELECT * FROM `oc_appconfig`':\n\nSQLSTATE[42S02]: Base table or view not found: 1146 Table 'owncloud.oc_appconfig' doesn't exist"}" while reading response header from upstream, client: 31.161.39.242, server: _, request: "GET /status.php HTTP/1.1", upstream: "fastcgi://unix:/run/php/php7.1-fpm.sock:", host: "our-URL"
2019/10/16 14:02:53 [error] 512#512: *931 FastCGI sent in stderr: "PHP message: {"reqId":"f60390a9-5280-4dbc-b9c9-cb297dc0fd98","level":4,"time":"2019-10-16T12:02:53+00:00","remoteAddr":"77.163.77.30","user":"--","app":"remote","method":"GET","url":"\/status.php","message":"An exception occurred while executing 'SELECT * FROM `oc_appconfig`':\n\nSQLSTATE[42S02]: Base table or view not found: 1146 Table 'owncloud.oc_appconfig' doesn't exist"}" while reading response header from upstream, client: 77.163.77.30, server: _, request: "GET /status.php HTTP/1.1", upstream: "fastcgi://unix:/run/php/php7.1-fpm.sock:", host: "our-URL"
2019/10/16 14:02:57 [error] 511#511: *933 FastCGI sent in stderr: "PHP message: {"reqId":"f5ed1013-47e1-41f1-b814-cd7fe55ccb42","level":4,"time":"2019-10-16T12:02:57+00:00","remoteAddr":"31.161.39.242","user":"--","app":"remote","method":"GET","url":"\/status.php","message":"An exception occurred while executing 'SELECT * FROM `oc_appconfig`':\n\nSQLSTATE[42S02]: Base table or view not found: 1146 Table 'owncloud.oc_appconfig' doesn't exist"}" while reading response header from upstream, client: 31.161.39.242, server: _, request: "GET /status.php HTTP/1.1", upstream: "fastcgi://unix:/run/php/php7.1-fpm.sock:", host: "our-URL"
2019/10/16 14:03:21 [error] 512#512: *935 FastCGI sent in stderr: "PHP message: {"reqId":"f59cb5c2-07ff-42fd-a477-cd5baad542c7","level":4,"time":"2019-10-16T12:03:21+00:00","remoteAddr":"87.27.104.239","user":"--","app":"remote","method":"GET","url":"\/status.php","message":"An exception occurred while executing 'SELECT * FROM `oc_appconfig`':\n\nSQLSTATE[42S02]: Base table or view not found: 1146 Table 'owncloud.oc_appconfig' doesn't exist"}" while reading response header from upstream, client: 87.27.104.239, server: _, request: "GET /status.php HTTP/1.1", upstream: "fastcgi://unix:/run/php/php7.1-fpm.sock:", host: "our-URL"
2019/10/16 14:03:25 [error] 510#510: *937 FastCGI sent in stderr: "PHP message: {"reqId":"39e0a08b-ce60-41f0-9663-07f62388df5a","level":4,"time":"2019-10-16T12:03:25+00:00","remoteAddr":"31.161.39.242","user":"--","app":"remote","method":"GET","url":"\/status.php","message":"An exception occurred while executing 'SELECT * FROM `oc_appconfig`':\n\nSQLSTATE[42S02]: Base table or view not found: 1146 Table 'owncloud.oc_appconfig' doesn't exist"}" while reading response header from upstream, client: 31.161.39.242, server: _, request: "GET /status.php HTTP/1.1", upstream: "fastcgi://unix:/run/php/php7.1-fpm.sock:", host: "our-URL"
2019/10/16 14:03:25 [error] 510#510: *939 FastCGI sent in stderr: "PHP message: {"reqId":"8b0c57ab-130a-45c9-a1d6-b5387a5b7ead","level":4,"time":"2019-10-16T12:03:25+00:00","remoteAddr":"77.163.77.30","user":"--","app":"remote","method":"GET","url":"\/status.php","message":"An exception occurred while executing 'SELECT * FROM `oc_appconfig`':\n\nSQLSTATE[42S02]: Base table or view not found: 1146 Table 'owncloud.oc_appconfig' doesn't exist"}" while reading response header from upstream, client: 77.163.77.30, server: _, request: "GET /status.php HTTP/1.1", upstream: "fastcgi://unix:/run/php/php7.1-fpm.sock:", host: "our-URL"
2019/10/16 14:03:29 [error] 510#510: *941 FastCGI sent in stderr: "PHP message: {"reqId":"776e326f-d093-441b-a2fe-d33310ece651","level":4,"time":"2019-10-16T12:03:29+00:00","remoteAddr":"31.161.39.242","user":"--","app":"remote","method":"GET","url":"\/status.php","message":"An exception occurred while executing 'SELECT * FROM `oc_appconfig`':\n\nSQLSTATE[42S02]: Base table or view not found: 1146 Table 'owncloud.oc_appconfig' doesn't exist"}" while reading response header from upstream, client: 31.161.39.242, server: _, request: "GET /status.php HTTP/1.1", upstream: "fastcgi://unix:/run/php/php7.1-fpm.sock:", host: "our-URL"

 

What would be a wise step next to make the ownCloud function and retrieve the data?

Link to comment
10 hours ago, LimeCenter said:

Dear dlandon and members,

 

In the past days I tried various things but this gave me the best result so far. Yet, not a working cloud.

  1. Deleted the ownCloud docker + image through the unRAID UI
  2. In the command line
  3. 
    rm -r /mnt/user/appdata/ownCloud
  4. Initiated installation through apps
  5. Adjusted settings of the docker for network type, IP adrdess, setting data path to '/mnt/user/appdata/ownCloud/data', MySQL to the used password.
  6. Completed the installation of ownCloud
  7. Checked if cloud posted (it did) with setting up the new admin account
  8. Shutting down the cloud with unRAID UI
  9. With command line moved the earlier prepared 'data', 'keys' folder to their right destination
    
    mv /mnt/user/appdata/data /mnt/user/appdata/ownCloud/
    mv /mnt/user/appdata/keys /mnt/user/appdata/ownCloud/
  10. Opened the config.php file and inserted the text of the old config.php file. In the file adjustments were made and saved:

    1.  'datadirectory' => '/mnt/user/appdata/ownCloud/data',

    2. 'filesystem_check_changes' => 1,

    3. 'maintenance' => true,

  11. The ownCloud was started in unRAID GUI

The restult was this text:

"Internal Server Error
The server encountered an internal error and was unable to complete your request. Please contact the server administrator if this error reappears multiple times, please include the technical details below in your report. More details can be found in the server log."

 

Looking at the ngix error.log the following information appeared:


2019/10/16 14:02:49 [error] 512#512: *927 FastCGI sent in stderr: "PHP message: {"reqId":"cd1ec5ee-9ddd-460c-b558-3493a89beb4a","level":4,"time":"2019-10-16T12:02:49+00:00","remoteAddr":"87.27.104.239","user":"--","app":"remote","method":"GET","url":"\/status.php","message":"An exception occurred while executing 'SELECT * FROM `oc_appconfig`':\n\nSQLSTATE[42S02]: Base table or view not found: 1146 Table 'owncloud.oc_appconfig' doesn't exist"}" while reading response header from upstream, client: 87.27.104.239, server: _, request: "GET /status.php HTTP/1.1", upstream: "fastcgi://unix:/run/php/php7.1-fpm.sock:", host: "our-URL"
2019/10/16 14:02:53 [error] 510#510: *929 FastCGI sent in stderr: "PHP message: {"reqId":"8f96b354-4152-4d96-b5b9-a1137567d176","level":4,"time":"2019-10-16T12:02:53+00:00","remoteAddr":"31.161.39.242","user":"--","app":"remote","method":"GET","url":"\/status.php","message":"An exception occurred while executing 'SELECT * FROM `oc_appconfig`':\n\nSQLSTATE[42S02]: Base table or view not found: 1146 Table 'owncloud.oc_appconfig' doesn't exist"}" while reading response header from upstream, client: 31.161.39.242, server: _, request: "GET /status.php HTTP/1.1", upstream: "fastcgi://unix:/run/php/php7.1-fpm.sock:", host: "our-URL"
2019/10/16 14:02:53 [error] 512#512: *931 FastCGI sent in stderr: "PHP message: {"reqId":"f60390a9-5280-4dbc-b9c9-cb297dc0fd98","level":4,"time":"2019-10-16T12:02:53+00:00","remoteAddr":"77.163.77.30","user":"--","app":"remote","method":"GET","url":"\/status.php","message":"An exception occurred while executing 'SELECT * FROM `oc_appconfig`':\n\nSQLSTATE[42S02]: Base table or view not found: 1146 Table 'owncloud.oc_appconfig' doesn't exist"}" while reading response header from upstream, client: 77.163.77.30, server: _, request: "GET /status.php HTTP/1.1", upstream: "fastcgi://unix:/run/php/php7.1-fpm.sock:", host: "our-URL"
2019/10/16 14:02:57 [error] 511#511: *933 FastCGI sent in stderr: "PHP message: {"reqId":"f5ed1013-47e1-41f1-b814-cd7fe55ccb42","level":4,"time":"2019-10-16T12:02:57+00:00","remoteAddr":"31.161.39.242","user":"--","app":"remote","method":"GET","url":"\/status.php","message":"An exception occurred while executing 'SELECT * FROM `oc_appconfig`':\n\nSQLSTATE[42S02]: Base table or view not found: 1146 Table 'owncloud.oc_appconfig' doesn't exist"}" while reading response header from upstream, client: 31.161.39.242, server: _, request: "GET /status.php HTTP/1.1", upstream: "fastcgi://unix:/run/php/php7.1-fpm.sock:", host: "our-URL"
2019/10/16 14:03:21 [error] 512#512: *935 FastCGI sent in stderr: "PHP message: {"reqId":"f59cb5c2-07ff-42fd-a477-cd5baad542c7","level":4,"time":"2019-10-16T12:03:21+00:00","remoteAddr":"87.27.104.239","user":"--","app":"remote","method":"GET","url":"\/status.php","message":"An exception occurred while executing 'SELECT * FROM `oc_appconfig`':\n\nSQLSTATE[42S02]: Base table or view not found: 1146 Table 'owncloud.oc_appconfig' doesn't exist"}" while reading response header from upstream, client: 87.27.104.239, server: _, request: "GET /status.php HTTP/1.1", upstream: "fastcgi://unix:/run/php/php7.1-fpm.sock:", host: "our-URL"
2019/10/16 14:03:25 [error] 510#510: *937 FastCGI sent in stderr: "PHP message: {"reqId":"39e0a08b-ce60-41f0-9663-07f62388df5a","level":4,"time":"2019-10-16T12:03:25+00:00","remoteAddr":"31.161.39.242","user":"--","app":"remote","method":"GET","url":"\/status.php","message":"An exception occurred while executing 'SELECT * FROM `oc_appconfig`':\n\nSQLSTATE[42S02]: Base table or view not found: 1146 Table 'owncloud.oc_appconfig' doesn't exist"}" while reading response header from upstream, client: 31.161.39.242, server: _, request: "GET /status.php HTTP/1.1", upstream: "fastcgi://unix:/run/php/php7.1-fpm.sock:", host: "our-URL"
2019/10/16 14:03:25 [error] 510#510: *939 FastCGI sent in stderr: "PHP message: {"reqId":"8b0c57ab-130a-45c9-a1d6-b5387a5b7ead","level":4,"time":"2019-10-16T12:03:25+00:00","remoteAddr":"77.163.77.30","user":"--","app":"remote","method":"GET","url":"\/status.php","message":"An exception occurred while executing 'SELECT * FROM `oc_appconfig`':\n\nSQLSTATE[42S02]: Base table or view not found: 1146 Table 'owncloud.oc_appconfig' doesn't exist"}" while reading response header from upstream, client: 77.163.77.30, server: _, request: "GET /status.php HTTP/1.1", upstream: "fastcgi://unix:/run/php/php7.1-fpm.sock:", host: "our-URL"
2019/10/16 14:03:29 [error] 510#510: *941 FastCGI sent in stderr: "PHP message: {"reqId":"776e326f-d093-441b-a2fe-d33310ece651","level":4,"time":"2019-10-16T12:03:29+00:00","remoteAddr":"31.161.39.242","user":"--","app":"remote","method":"GET","url":"\/status.php","message":"An exception occurred while executing 'SELECT * FROM `oc_appconfig`':\n\nSQLSTATE[42S02]: Base table or view not found: 1146 Table 'owncloud.oc_appconfig' doesn't exist"}" while reading response header from upstream, client: 31.161.39.242, server: _, request: "GET /status.php HTTP/1.1", upstream: "fastcgi://unix:/run/php/php7.1-fpm.sock:", host: "our-URL"

 

What would be a wise step next to make the ownCloud function and retrieve the data?

You are over complicating the installation.  Remove the docker and appdata folder.  Install ownCloud docker and set data path to '/data'.  Do not enter anything else!  Once the docker has started and you have logged on successfully, copy your data to the /mnt/user/appdata/ownCloud/data.  Don't move it!  Then set 'filesystem_check_changes' => 1.

 

The keys go to /mnt/user/appdata/ownCloud/keys.

Edited by dlandon
Link to comment

Dear dlandon and members,

 

All of this was done this weekend and before. However, the folders and files still do not appear. For the rest the cloud functions as it should; with data being stored in the right folder, for example. That the old files do not appear might perhaps have something to do with the encryption. What would be the best way to proceed? First enable 'Server-side encryption' and then copy the the user folder to the /data folder or vice versa or is there some adjustments needed in the config.php file?

Link to comment
  • 2 months later...

I updated the docker today to update to php 7.3 and address some issues like cron not working.  I also made some minor configuration changes.

 

I have ownCloud working on Phusion 0.11 (Ubuntu 18.04).  I will do some more testing over the next few days and then release it.

Link to comment
8 hours ago, Keexrean said:

I updated my Owncloud docker today.

image.png.b98925c2d45a5b88a7db02b6efaf4c41.png

Nice.

 

I hecking forgot this docker needed a whole procedure to update properly.

 

Nice.

 

Dat docker "Update All" button...

 

 

Unraid Version: 6.8.0 btw.

The manual procedure to update is not difficult, but a bit tedious.  The update through the ui is being deprecated, so the manual method is the only way.  There have been some changes to the update procedure that preserve apps so you don't have to go to the marketplace and load them all from scratch.

 

ownCloud has deprecated the support for php 7.0 and recommends php 7.3.  They also recommend Ubuntu 18.04LTS.  The next revision of the docker will upgrade to Ubuntu 18.04LTS.  This will be a seamless update and you won't have any issues like this.  There was also a change related to the cron task.

Link to comment

There has been a feature added to make updates to ownlCoud so added apps will be maintained across versions.  Add the following to your config.php:

  array (
    0 => 
    array (
      'path' => '/config/www/owncloud/apps',
      'url' => '/apps',
      'writable' => false,
    ),
    1 => 
    array (
      'path' => '/config/www/owncloud/apps-external',
      'url' => '/apps-external',
      'writable' => true,
    ),
  ),

This will set up an /apps-external directory where your apps will be installed.  This is where you would want to install any manually installed apps.  When ownCloud updates, the standard ownCloud apps are installed in the /apps directory and the /apps-external apps are left alone.

Link to comment

I thank you but I basically repaired my install myself about an hour after sending the message. I had to deviate a bit from your manual update infos since the installation was borked, had to disable some apps through command line for the update to proceed, and I have a "weird" array arrangement, and as such the folders had peculiar read/write rights to manage, but all good.

Link to comment

Hi, thank you for your Owncloud X, it's working awesome, for me this is the best working on my system, i've tested all the other versions, including the Nextcloud's.

Just want to ask about the Gallery app, can't get it to work properly, it doesn't show any picture.

Any help will be appreciate. 

Thanks!

gallery.jpg

Link to comment
On 1/4/2020 at 3:44 PM, Keexrean said:

I thank you but I basically repaired my install myself about an hour after sending the message. I had to deviate a bit from your manual update infos since the installation was borked, had to disable some apps through command line for the update to proceed, and I have a "weird" array arrangement, and as such the folders had peculiar read/write rights to manage, but all good.

Dear members,
How could I disable the apps via the command line? I tried with the suggestions of dlandon and the following guidelines regarding the occ approach: https://central.owncloud.org/t/how-to-disable-an-app-without-access-to-the-gui/832

However I seem to get stuck with the message "This version of ownCloud is not compatible with PHP 7.3 You are currently running PHP 7.3.13-1+ubuntu18.04.1+deb.sury.org+1."

Used procedure:
click on docker selecting '>_ console'
then entering: cd /config/www/owncloud
followed with:  chmod +x occ
then: sudo -u abc ./occ app:list

Link to comment
  • 2 weeks later...

If you nave updated the ownCloud Docker and get a message about php 7.3, you are running an older version of ownCloud that is not compatible with php 7.3.  ownCloud 10.3 is compatible with php 7.3 and I have updated the Docker to support ownCloud 10.3 with php 7.3.

 

In order to get around the php error and update ownCloud, there is a legacy Docker you can use that uses php 7.1 so you can update ownCloud.

 

Edit your docker template and change the repository to:

dlandon/owncloud-legacy

This will load a version of the docker with php 7.1.  Perform your update and then change the repository back to:

dlandon/owncloud

The legacy Docker will not be supported, so be sure to go back to the published Docker.

Link to comment
On 1/25/2020 at 4:43 AM, dlandon said:

If you nave updated the ownCloud Docker and get a message about php 7.3, you are running an older version of ownCloud that is not compatible with php 7.3.  ownCloud 10.3 is compatible with php 7.3 and I have updated the Docker to support ownCloud 10.3 with php 7.3.

 

In order to get around the php error and update ownCloud, there is a legacy Docker you can use that uses php 7.1 so you can update ownCloud.

 

Edit your docker template and change the repository to:


dlandon/owncloud-legacy

This will load a version of the docker with php 7.1.  Perform your update and then change the repository back to:


dlandon/owncloud

The legacy Docker will not be supported, so be sure to go back to the published Docker.

I tried to update my owncloud this way and now I'm stuck at a maintenance mode screen. The last item in the log is:

{"reqId":"74uKO8kP3FLozkSdk2Qu","level":3,"time":"2020-01-29T00:02:42+00:00","remoteAddr":"127.0.0.1","user":"--","app":"core","method":"POST","url":"\/owncloud\/index.php\/occ\/upgrade","message":"Exception: {\"Exception\":\"OC\\\\RepairException\",\"Message\":\"Upgrade is not possible\",\"Code\":0,\"Trace\":\"#0 \\\/config\\\/www\\\/owncloud\\\/lib\\\/private\\\/Repair.php(90): OC\\\\Repair\\\\Apps->run(Object(OC\\\\Repair))\\n#1 \\\/config\\\/www\\\/owncloud\\\/lib\\\/private\\\/Updater.php(219): OC\\\\Repair->run()\\n#2 \\\/config\\\/www\\\/owncloud\\\/lib\\\/private\\\/Updater.php(111): OC\\\\Updater->checkAppsCompatibility()\\n#3 \\\/config\\\/www\\\/owncloud\\\/core\\\/Command\\\/Upgrade.php(261): OC\\\\Updater->upgrade()\\n#4 \\\/config\\\/www\\\/owncloud\\\/lib\\\/composer\\\/symfony\\\/console\\\/Command\\\/Command.php(255): OC\\\\Core\\\\Command\\\\Upgrade->execute(Object(Symfony\\\\Component\\\\Console\\\\Input\\\\ArrayInput), Object(Symfony\\\\Component\\\\Console\\\\Output\\\\BufferedOutput))\\n#5 \\\/config\\\/www\\\/owncloud\\\/lib\\\/composer\\\/symfony\\\/console\\\/Application.php(982): Symfony\\\\Component\\\\Console\\\\Command\\\\Command->run(Object(Symfony\\\\Component\\\\Console\\\\Input\\\\ArrayInput), Object(Symfony\\\\Component\\\\Console\\\\Output\\\\BufferedOutput))\\n#6 \\\/config\\\/www\\\/owncloud\\\/lib\\\/composer\\\/symfony\\\/console\\\/Application.php(255): Symfony\\\\Component\\\\Console\\\\Application->doRunCommand(Object(OC\\\\Core\\\\Command\\\\Upgrade), Object(Symfony\\\\Component\\\\Console\\\\Input\\\\ArrayInput), Object(Symfony\\\\Component\\\\Console\\\\Output\\\\BufferedOutput))\\n#7 \\\/config\\\/www\\\/owncloud\\\/lib\\\/composer\\\/symfony\\\/console\\\/Application.php(148): Symfony\\\\Component\\\\Console\\\\Application->doRun(Object(Symfony\\\\Component\\\\Console\\\\Input\\\\ArrayInput), Object(Symfony\\\\Component\\\\Console\\\\Output\\\\BufferedOutput))\\n#8 \\\/config\\\/www\\\/owncloud\\\/lib\\\/private\\\/Console\\\/Application.php(165): Symfony\\\\Component\\\\Console\\\\Application->run(Object(Symfony\\\\Component\\\\Console\\\\Input\\\\ArrayInput), Object(Symfony\\\\Component\\\\Console\\\\Output\\\\BufferedOutput))\\n#9 \\\/config\\\/www\\\/owncloud\\\/core\\\/Controller\\\/OccController.php(108): OC\\\\Console\\\\Application->run(Object(Symfony\\\\Component\\\\Console\\\\Input\\\\ArrayInput), Object(Symfony\\\\Component\\\\Console\\\\Output\\\\BufferedOutput))\\n#10 \\\/config\\\/www\\\/owncloud\\\/lib\\\/private\\\/AppFramework\\\/Http\\\/Dispatcher.php(153): OC\\\\Core\\\\Controller\\\\OccController->execute('upgrade', 'sdTPz+KXm3aHgAX...', Array)\\n#11 \\\/config\\\/www\\\/owncloud\\\/lib\\\/private\\\/AppFramework\\\/Http\\\/Dispatcher.php(85): OC\\\\AppFramework\\\\Http\\\\Dispatcher->executeController(Object(OC\\\\Core\\\\Controller\\\\OccController), 'execute')\\n#12 \\\/config\\\/www\\\/owncloud\\\/lib\\\/private\\\/AppFramework\\\/App.php(100): OC\\\\AppFramework\\\\Http\\\\Dispatcher->dispatch(Object(OC\\\\Core\\\\Controller\\\\OccController), 'execute')\\n#13 \\\/config\\\/www\\\/owncloud\\\/lib\\\/private\\\/AppFramework\\\/Routing\\\/RouteActionHandler.php(47): OC\\\\AppFramework\\\\App::main('OC\\\\\\\\Core\\\\\\\\Control...', 'execute', Object(OC\\\\AppFramework\\\\DependencyInjection\\\\DIContainer), Array)\\n#14 \\\/config\\\/www\\\/owncloud\\\/lib\\\/private\\\/Route\\\/Router.php(342): OC\\\\AppFramework\\\\Routing\\\\RouteActionHandler->__invoke(Array)\\n#15 \\\/config\\\/www\\\/owncloud\\\/lib\\\/base.php(924): OC\\\\Route\\\\Router->match('\\\/occ\\\/upgrade')\\n#16 \\\/config\\\/www\\\/owncloud\\\/index.php(54): OC::handleRequest()\\n#17 {main}\",\"File\":\"\\\/config\\\/www\\\/owncloud\\\/lib\\\/private\\\/Repair\\\/Apps.php\",\"Line\":219}"}

 

Link to comment
  • 4 weeks later...

I used the nextcloud one and modified it. 

Use it with your domain and save it as owncloud.

 

server {
    listen 443 ssl;
    listen [::]:443 ssl;

    server_name owncloud*.*;

    include /config/nginx/ssl.conf;

    client_max_body_size 0;

    location / {
        include /config/nginx/proxy.conf;
        resolver 127.0.0.11 valid=30s;
        set $upstream_owncloud owncloud;
        proxy_max_temp_file_size 2048m;
        proxy_pass https://$upstream_owncloud:443;
    }
}

 

Got two files that keep getting 503 errors and i cannot upload them with the owncloud windows client. 

They are 1.5G and 700M, but i dont think it's the size because i have uploaded much larger files without any problems. I have the limits on php.ini to 100G.

Any ideas?

Link to comment
  • 3 weeks later...
On 1/25/2020 at 1:43 PM, dlandon said:

If you nave updated the ownCloud Docker and get a message about php 7.3, you are running an older version of ownCloud that is not compatible with php 7.3.  ownCloud 10.3 is compatible with php 7.3 and I have updated the Docker to support ownCloud 10.3 with php 7.3.

 

In order to get around the php error and update ownCloud, there is a legacy Docker you can use that uses php 7.1 so you can update ownCloud.

 

Edit your docker template and change the repository to:


dlandon/owncloud-legacy

This will load a version of the docker with php 7.1.  Perform your update and then change the repository back to:


dlandon/owncloud

The legacy Docker will not be supported, so be sure to go back to the published Docker.

i did this exact update and i still get

:
This version of ownCloud is not compatible with PHP 7.3
You are currently running PHP 7.3.15-3+ubuntu18.04.1+deb.sury.org+1.
 

Link to comment
  • 1 month later...

I've got a weird problem with my owncloud docker.

I use unraid 6.8.3 as well as the newest docker available of owncloud. I setup owncloud via letsencrypt, to let remote users download files, that i added as an external smb share.

 

Access and everything works, downloads start as expected, only thing is, the download fails after a while (Using the Webbrowser). I can resume the download in the browser, so i get the download to finish. 

 

I dont understand why those aborts keep happening, but i noticed, that when i start a download, the docker image utilisation increases about 2gb, just 15-20s after starting the download. I did check the path mappings as recommended in this thread, as well as typos, upper/lower case etc. but i couldnt find anything which looks wrong. 

 

I would be very glad, if someone has an idea why this keeps happening

Link to comment
  • 1 month later...

Asking this question here as owncloud was suggested as a possible solution.

 

I would like to share my Photos share on my server with some family members. These are photos of my trips.  Would owncloud be the way to go?  Does it allow me to create a user id and password that they can use to login and view my photos?  As well, how easy is it to setup for something like this?  I currently upload my photos to smugmug but thought I could save some money by using my server.

Link to comment

Ok, so tried installing this docker.  Seems to have installed ok and docker starts, however I'm stuck on the login

I get prompted to create an admin and password

as well as enter in user id,, pass, server, local host etc

I wasn't sure what to put in so I created an admin id and password, left the path at default, and for now put in ownlcoud for user name, password, server...

 

Not sure what to do but whatever I did seems to have hung the page when I submitted it.  I ended up restarting the docker but now when I go to the webui address I get gateway timed out...I restarted the docker again and still times out...how do I clear this?

 

THis is driving me crazy.  I cannot get this docker working. I uninstalled and reinstalled

Then created the admin id with password

This time instaed of the default I put in /data

I put in the defaults for user, pass, database as owncloud.

For localhost I left it as "localhost".

When I click Finish...it just sits there and comes back gateway time-out.

 

What the heck am I missing here?

Edited by DigitalDivide
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.