[support] dlandon - ownCloud


Recommended Posts

I've recently had an issue where one of the clients says it needs to re-authenticate OAUTH2 each night. I have another client running that doesn't have this issue. I suspect this isn't a server issue as one client works and one doesn't.  The one that does work, is also saying I should update to OAUTH2 version 0.4.0.

 

I think I did this update on the client that doesn't work as it isn't prompting me for the update.

 

Any ideas?  I can't find anything in the Owncloud client software to configure anything.

 

thanks

david

Link to comment
  • 4 weeks later...

Hi,

Probably a dum question, but is there any way/method to be able to use owncloud if you don't have ipv4 address? My ISP uses ipv6 DS Lite system, so my ipv4 adress is shared, I was never able to make it work with the spaceinvaderone tutorial.

 

Thanks.

Link to comment
  • 2 months later...
On 6/3/2017 at 10:16 PM, dlandon said:

For the moment this is a manual update method for an existing ownCloud installation.

  • Disable apps - Calendar, Contacts, and any add on apps.
  • Access the ownCloud Docker 'docker exec -it ownCloud bash'.
  • Put ownCloud in maintenance mode by editing 'nano /config/www/owncloud/config/config.php'.
  • Stop ownCloud docker from the unRAID Docker UI.
  • Get into the unRAID command line.
  • Change directory to 'cd /mnt/user/appdata/ownCloud/www'.
  • Move the existing owncloud version 'mv ./owncloud ./owncloud-old'.
  • Download and unzip the owncloud update.  Copy update to \appdata\ownCloud\www\.
  • Change ownership 'chown nobody:users owncloud'.
  • Copy the old version of config.php 'cp /mnt/user/appdata/ownCloud/www/owncloud-old/config/config.ph /mnt/user/appdata/ownCloud/www/owncloud/config/config.php'.
  • Start owncloud docker from unRAID Docker UI.
  • Access the ownCloud Docker 'docker exec -it ownCloud bash'.
  • Change directory to new owncloud version 'cd /config/www/owncloud'.
  • Change occ to executable 'chmod +x occ''
  • Execute upgrade: 'sudo -u abc ./occ upgrade'.
  • Change permissions on owncloud 'chmod 755 /config/www/owncloud'.
  • Take ownCloud out of maintenance mode by editing 'nano /config/www/owncloud/config/config.php'.
  • Add Calendar, contacts, and other apps from the Marketplace.
  • Re-enable apps - Calendar, Contacts, and any add on apps.

Dear dlandon,

 

Kindly I would like to ask if the above instruction are up to date. I am looking forward to update owncloud to version 10.2.1.

ownCloud on unRAID works really well! Thank you in advance

Link to comment

Dear community members,

 

Would someone be so very kind to explain the following:

  1. "Download and unzip the owncloud update." Where could I find the link to find the download because I fear I cant find it (Probably I can't find water in the ocean). I found this: https://microbadger.com/images/owncloud/server
  2. "Change ownership 'chown nobody:users owncloud'." In what .php file should I be doing that?
  3. "Disable apps - Calendar, Contacts, and any add on apps." I just de-install them in the market place right?

I found some instructions.... but not as helpful: https://doc.owncloud.com/server/admin_manual/installation/docker/

 

Link to comment
21 hours ago, LimeCenter said:

Where could I find the link to find the download because I fear I cant find it (Probably I can't find water in the ocean).

https://owncloud.org/download/

 

21 hours ago, LimeCenter said:

"Change ownership 'chown nobody:users owncloud'."

Follow the instructions and you'll be in the right place.  It's not in a php file.

21 hours ago, LimeCenter said:

"Disable apps - Calendar, Contacts, and any add on apps." I just de-install them in the market place right?

You can do that, or disable them - Settings->Apps.

Link to comment
  • 3 weeks later...

Noticed my ownCloud container was down after a reboot today. Started it manually and it shut back down on its own. Seeing the following in the logs. Should I just blow the container away and recreate it or is there something I can do to fix this? Not sure what caused it.

 

Reading package lists...
Building dependency tree...
Reading state information...
Calculating upgrade...
The following packages will be upgraded:
exim4 exim4-base exim4-config exim4-daemon-light libblkid1 libfdisk1
libmount1 libsmartcols1 libuuid1 mount psmisc
11 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 2,246 kB of archives.
After this operation, 3,072 B of additional disk space will be used.
Get:1 http://mirrors.digitalocean.com/ubuntu xenial-updates/main amd64 mount amd64 2.27.1-6ubuntu3.8 [121 kB]
Get:2 http://mirrors.digitalocean.com/ubuntu xenial-updates/main amd64 libuuid1 amd64 2.27.1-6ubuntu3.8 [14.4 kB]
Get:3 http://mirrors.digitalocean.com/ubuntu xenial-updates/main amd64 libblkid1 amd64 2.27.1-6ubuntu3.8 [107 kB]
Get:4 http://mirrors.digitalocean.com/ubuntu xenial-updates/main amd64 libfdisk1 amd64 2.27.1-6ubuntu3.8 [139 kB]
Get:5 http://mirrors.digitalocean.com/ubuntu xenial-updates/main amd64 libmount1 amd64 2.27.1-6ubuntu3.8 [114 kB]
Get:6 http://mirrors.digitalocean.com/ubuntu xenial-updates/main amd64 libsmartcols1 amd64 2.27.1-6ubuntu3.8 [62.0 kB]
Get:4 http://mirrors.digitalocean.com/ubuntu xenial-updates/main amd64 libfdisk1 amd64 2.27.1-6ubuntu3.8 [139 kB]
Get:5 http://mirrors.digitalocean.com/ubuntu xenial-updates/main amd64 libmount1 amd64 2.27.1-6ubuntu3.8 [114 kB]
Get:6 http://mirrors.digitalocean.com/ubuntu xenial-updates/main amd64 libsmartcols1 amd64 2.27.1-6ubuntu3.8 [62.0 kB]
Get:7 http://mirrors.digitalocean.com/ubuntu xenial-updates/main amd64 psmisc amd64 22.21-2.1ubuntu0.1 [48.1 kB]
Get:8 http://mirrors.digitalocean.com/ubuntu xenial-updates/main amd64 exim4-config all 4.86.2-2ubuntu2.5 [298 kB]
Get:9 http://mirrors.digitalocean.com/ubuntu xenial-updates/main amd64 exim4 all 4.86.2-2ubuntu2.5 [7,926 B]
Get:10 http://mirrors.digitalocean.com/ubuntu xenial-updates/main amd64 exim4-base amd64 4.86.2-2ubuntu2.5 [870 kB]
Get:11 http://mirrors.digitalocean.com/ubuntu xenial-updates/main amd64 exim4-daemon-light amd64 4.86.2-2ubuntu2.5 [466 kB]
Preconfiguring packages ...
Fetched 2,246 kB in 1s (2,090 kB/s)
Setting up util-linux (2.27.1-6ubuntu3.8) ...

Configuration file '/etc/cron.weekly/fstrim'
==> Deleted (by you or by a script) since installation.
==> Package distributor has shipped an updated version.

What would you like to do about it ? Your options are:
Y or I : install the package maintainer's version

N or O : keep your currently-installed version

D : show the differences between the versions
Z : start a shell to examine the situation
The default action is to keep your current version.

*** fstrim (Y/I/N/O/D/Z) [default=N] ? dpkg: error processing package util-linux (--configure):

end of file on stdin at conffile prompt
Errors were encountered while processing:
util-linux
E: Sub-process /usr/bin/dpkg returned an error code (1)

Reading package lists...
Building dependency tree...
Reading state information...
0 upgraded, 0 newly installed, 0 to remove and 11 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up util-linux (2.27.1-6ubuntu3.8) ...

Configuration file '/etc/cron.weekly/fstrim'
==> Deleted (by you or by a script) since installation.
==> Package distributor has shipped an updated version.

What would you like to do about it ? Your options are:
Y or I : install the package maintainer's version

N or O : keep your currently-installed version

D : show the differences between the versions
Z : start a shell to examine the situation
The default action is to keep your current version.

*** fstrim (Y/I/N/O/D/Z) [default=N] ? dpkg: error processing package util-linux (--configure):

end of file on stdin at conffile prompt
Errors were encountered while processing:
util-linux
E: Sub-process /usr/bin/dpkg returned an error code (1)

*** /etc/my_init.d/20_apt_update.sh failed with status 100


*** Killing all processes...
Sep 7 20:41:53 537e263b9b6f syslog-ng[17]: syslog-ng shutting down; version='3.5.6'

Thanks!

Link to comment
16 minutes ago, harshl said:

Noticed my ownCloud container was down after a reboot today. Started it manually and it shut back down on its own. Seeing the following in the logs. Should I just blow the container away and recreate it or is there something I can do to fix this? Not sure what caused it.

 


Reading package lists...
Building dependency tree...
Reading state information...
Calculating upgrade...
The following packages will be upgraded:
exim4 exim4-base exim4-config exim4-daemon-light libblkid1 libfdisk1
libmount1 libsmartcols1 libuuid1 mount psmisc
11 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 2,246 kB of archives.
After this operation, 3,072 B of additional disk space will be used.
Get:1 http://mirrors.digitalocean.com/ubuntu xenial-updates/main amd64 mount amd64 2.27.1-6ubuntu3.8 [121 kB]
Get:2 http://mirrors.digitalocean.com/ubuntu xenial-updates/main amd64 libuuid1 amd64 2.27.1-6ubuntu3.8 [14.4 kB]
Get:3 http://mirrors.digitalocean.com/ubuntu xenial-updates/main amd64 libblkid1 amd64 2.27.1-6ubuntu3.8 [107 kB]
Get:4 http://mirrors.digitalocean.com/ubuntu xenial-updates/main amd64 libfdisk1 amd64 2.27.1-6ubuntu3.8 [139 kB]
Get:5 http://mirrors.digitalocean.com/ubuntu xenial-updates/main amd64 libmount1 amd64 2.27.1-6ubuntu3.8 [114 kB]
Get:6 http://mirrors.digitalocean.com/ubuntu xenial-updates/main amd64 libsmartcols1 amd64 2.27.1-6ubuntu3.8 [62.0 kB]
Get:4 http://mirrors.digitalocean.com/ubuntu xenial-updates/main amd64 libfdisk1 amd64 2.27.1-6ubuntu3.8 [139 kB]
Get:5 http://mirrors.digitalocean.com/ubuntu xenial-updates/main amd64 libmount1 amd64 2.27.1-6ubuntu3.8 [114 kB]
Get:6 http://mirrors.digitalocean.com/ubuntu xenial-updates/main amd64 libsmartcols1 amd64 2.27.1-6ubuntu3.8 [62.0 kB]
Get:7 http://mirrors.digitalocean.com/ubuntu xenial-updates/main amd64 psmisc amd64 22.21-2.1ubuntu0.1 [48.1 kB]
Get:8 http://mirrors.digitalocean.com/ubuntu xenial-updates/main amd64 exim4-config all 4.86.2-2ubuntu2.5 [298 kB]
Get:9 http://mirrors.digitalocean.com/ubuntu xenial-updates/main amd64 exim4 all 4.86.2-2ubuntu2.5 [7,926 B]
Get:10 http://mirrors.digitalocean.com/ubuntu xenial-updates/main amd64 exim4-base amd64 4.86.2-2ubuntu2.5 [870 kB]
Get:11 http://mirrors.digitalocean.com/ubuntu xenial-updates/main amd64 exim4-daemon-light amd64 4.86.2-2ubuntu2.5 [466 kB]
Preconfiguring packages ...
Fetched 2,246 kB in 1s (2,090 kB/s)
Setting up util-linux (2.27.1-6ubuntu3.8) ...

Configuration file '/etc/cron.weekly/fstrim'
==> Deleted (by you or by a script) since installation.
==> Package distributor has shipped an updated version.

What would you like to do about it ? Your options are:
Y or I : install the package maintainer's version

N or O : keep your currently-installed version

D : show the differences between the versions
Z : start a shell to examine the situation
The default action is to keep your current version.

*** fstrim (Y/I/N/O/D/Z) [default=N] ? dpkg: error processing package util-linux (--configure):

end of file on stdin at conffile prompt
Errors were encountered while processing:
util-linux
E: Sub-process /usr/bin/dpkg returned an error code (1)

Reading package lists...
Building dependency tree...
Reading state information...
0 upgraded, 0 newly installed, 0 to remove and 11 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up util-linux (2.27.1-6ubuntu3.8) ...

Configuration file '/etc/cron.weekly/fstrim'
==> Deleted (by you or by a script) since installation.
==> Package distributor has shipped an updated version.

What would you like to do about it ? Your options are:
Y or I : install the package maintainer's version

N or O : keep your currently-installed version

D : show the differences between the versions
Z : start a shell to examine the situation
The default action is to keep your current version.

*** fstrim (Y/I/N/O/D/Z) [default=N] ? dpkg: error processing package util-linux (--configure):

end of file on stdin at conffile prompt
Errors were encountered while processing:
util-linux
E: Sub-process /usr/bin/dpkg returned an error code (1)

*** /etc/my_init.d/20_apt_update.sh failed with status 100


*** Killing all processes...
Sep 7 20:41:53 537e263b9b6f syslog-ng[17]: syslog-ng shutting down; version='3.5.6'

Thanks!

Update the docker.

Link to comment
  • 4 weeks later...

Dear members,

 

A few minutes ago I completed the manual update of ownCloud to version 10.2.1. Everything seems to work. However, to my shock all folders are empty and when trying to open a file message appears:

"File not found

The specified document has not been found on the server.

You can click here to return to ownCloud."

 

I also found the 'data' folder file empty when opening the shares folder in the unRAID GUI. Is there a way to retrieve the files without the use of my back-ups?

Edited by LimeCenter
Link to comment
3 hours ago, LimeCenter said:

Dear members,

 

A few minutes ago I completed the manual update of ownCloud to version 10.2.1. Everything seems to work. However, to my shock all folders are empty and when trying to open a file message appears:

"File not found

The specified document has not been found on the server.

You can click here to return to ownCloud."

 

I also found the 'data' folder file empty when opening the shares folder in the unRAID GUI. Is there a way to retrieve the files without the use of my back-ups?

Your best bet is to restore from a backup.  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.

 

If you have another computer synching with ownCloud, you might be able to restore the files that way.

Link to comment

Dear members and dlandon,

 

So I found the files! Which I am really happy about because I would be able to rely on my (not so wonderful) back-ups. The data files were all moved to the folder 'owncloud-old'. I copied them back to the data folder used by the docker settings. Start the docker > webUI would appear but when opening files an error would occur that files were missing. I stopped the docker and then added 'filesystem_check_changes' => 1' in config.php however again no window would appear. SSL does work but not webUI. I removed that line from the config.php but ended up with the same blank window with only SSL working but no WebUI.... Any suggestion on how to get the owncloud working again?

 

btw: last starts would not show an error in the log of owncloud....

Edited by LimeCenter
Link to comment
18 hours ago, LimeCenter said:

Dear members and dlandon,

 

So I found the files! Which I am really happy about because I would be able to rely on my (not so wonderful) back-ups. The data files were all moved to the folder 'owncloud-old'. I copied them back to the data folder used by the docker settings. Start the docker > webUI would appear but when opening files an error would occur that files were missing. I stopped the docker and then added 'filesystem_check_changes' => 1' in config.php however again no window would appear. SSL does work but not webUI. I removed that line from the config.php but ended up with the same blank window with only SSL working but no WebUI.... Any suggestion on how to get the owncloud working again?

 

btw: last starts would not show an error in the log of owncloud....

I'm very confused.  What does "no window would appear" mean?  What does "SSL does work but not webUI" mean?  You'll have to provide more meaningful information.  Show a screen shot of what is or is not working.

Link to comment
10 minutes ago, dlandon said:

What does "no window would appear" mean?

I means a blank page with no words image or anything, like the attached image below.

 

10 minutes ago, dlandon said:

What does "SSL does work but not webUI" mean?

That in the URL bar the 'lock' for the SSL certificate is green so a connection between the user and host are made. However, there is no user interface...

Am I right to note that docker settings should be:

/mnt/user/appdata/ownCloud/data  for the data path

 

and for the AppData Config Path:

/mnt/user/appdata/ownCloud

 

Because, for some reason a whole new installation appears in

/mnt/user/appdata/ownCloud/www/ownCloud/www/

 

I feel I am very close at getting ownCloud starting and thereby getting everyone here back on track. Yet, I can't help to note that since the update went off-track maybe there is something more fundamentally wrong... any ideas? More important is to get things working again. Thank you in advance for your help.

 

Schermafbeelding 2019-10-08 om 13.24.22.png

Link to comment
On 5/25/2019 at 3:56 AM, l3gion said:

Hi,

Probably a dum question, but is there any way/method to be able to use owncloud if you don't have ipv4 address? My ISP uses ipv6 DS Lite system, so my ipv4 adress is shared, I was never able to make it work with the spaceinvaderone tutorial.

 

Thanks.

 Hello, The short answer yes you can. However a whole different approach would be advisable for secure and reliable data transfer. I tested ownCloud in the very beginning successfully with a free DNS and free SSL certificate on a home server with unRAID. The downside is the reliability to a certain extend and that you have to manually update the SSL certificates every month. For professional applications I highly recommend a static IP address, getting SSL and a DNS plan. The only difference between IPV6 and 4 is that the server and/or modem configuration is little different; which means going through the manual to see how port forwarding works.

Link to comment
28 minutes ago, LimeCenter said:

Because, for some reason a whole new installation appears in

/mnt/user/appdata/ownCloud/www/ownCloud/www/

This is an incorrect mapping.  If you just did the manual update, you need to check your work.

 

It should be:

mnt/user/appdata/ownCloud/www/owncloud/

With the owncloud files showing in that directory.

Link to comment

I adjusted the mapping to 

/mnt/user/appdata/ownCloud/www/owncloud/

However, again a folder is added replicating most of the structure. Please note attached image below:

 

I just does not seem to make sense why the dockers builds a whole other cloud basically with new sql folder and config files

In the meantime I was trying to add the config.php file and adding the SSL certificates... with no luck.... I accidentally removed the

/mnt/user/appdata/ownCloud/www/owncloud/

With the above mapping the docker installed ownCloud again but with the result of the image below i.e. with a double 'www' folder and with the additional issue that SSL is not working so the webUI is not loading....
 

 

Schermafbeelding 2019-10-08 om 14.59.22.png

Edited by LimeCenter
Link to comment

Dear dLandon,

I got owncloud sorta working as it is posting now the ownCloud as a brand new installation and with SSL working correctly with the config mapping to:

/mnt/user/appdata/ownCloud/

I am going to detele the redundant folder

 rm -r /mnt/user/appdata/ownCloud/www/ownCloud/www/

update the config.php and restart the docker when having set the 'filesystem_check_changes' to '1' in config.php

Link to comment

Dear members and dlandon,

 

I just was able to update owncloud. The webUI and SSL are functioning. However, I still have the initial issue of not being able access the data. The folder data now currently being use is :

/mnt/user/appdata/ownCloud/www/owncloud/data

And not where the actual data is and where the settings of the docker path for data are direct to

/mnt/user/appdata/ownCloud/data

In other words ownCloud seems to simple disregard the docker settings.... and the script of the config.php which contains the line:

'datadirectory' => '/config/www/owncloud/data',

So what to do? Move all data to where data is stored now (withing www/owncloud/data) or somehow redirect the data... honestly I do not know what would be wiser... ideas?

Edited by LimeCenter
I was able to resolve the integrity issues
Link to comment
7 hours ago, LimeCenter said:

/mnt/user/appdata/ownCloud/data

This is where the data goes.  Move your data there.

 

7 hours ago, LimeCenter said:

'datadirectory' => '/config/www/owncloud/data',

This is not correct.  It should be:

'datadirectory' => '/data',

When you started ownCloud the first time, this is the setting used for the data.

Link to comment

Having the files moved and adjusted the settings I as stated. However, webpage is blank after 30 minutes i.e. no webUI. There is a connection with the server with SSL but nothing that one can do. The client replies with: '500 internal server error'. The log seems not to share errors...

 

Any idea's what could be going on? I would like to mention that ownCloud earlier did not mention integrity issues....

I also putting in putting ownCloud in maintenance mode does not seem to work....

 

Below also the edited log excerpt

 

#0 /config/www/owncloud/remote.php(169): handleException(Object(ParseError))
#1 {main}
  thrown in /config/www/owncloud/remote.php on line 47" while reading response header from upstream, client: ZZZZZZZZZ, server: _, request: "PROPFIND /remote.php/dav/files/USER-A/ HTTP/1.1", upstream: "fastcgi://unix:/run/php/php7.1-fpm.sock:", host: “fxfxfxfxfxfxfxfxfxfxfxfx"
2019/10/09 12:24:27 [error] 838#838: *1427 FastCGI sent in stderr: "PHP message: PHP Parse error:  syntax error, unexpected '',' (T_CONSTANT_ENCAPSED_STRING), expecting ')' in /config/www/owncloud/config/config.php on line 21" while reading response header from upstream, client: 80.100.203.146, server: _, request: "GET /status.php HTTP/1.1", upstream: "fastcgi://unix:/run/php/php7.1-fpm.sock:", host: “fxfxfxfxfxfxfxfxfxfx"
2019/10/09 12:24:32 [error] 841#841: *1088 FastCGI sent in stderr: "PHP message: PHP Fatal error:  Uncaught Error: Call to a member function getRequest() on null in /config/www/owncloud/remote.php:47

Stack trace:
#0 /config/www/owncloud/remote.php(169): handleException(Object(ParseError))
#1 {main}
  thrown in /config/www/owncloud/remote.php on line 47" while reading response header from upstream, client: YYYYYYYY, server: _, request: "PROPFIND /remote.php/dav/files/USER-B/ HTTP/1.1", upstream: "fastcgi://unix:/run/php/php7.1-fpm.sock:", host: “fxfxfxfxfxfxfxfxfx"
2019/10/09 12:24:38 [error] 839#839: *1091 FastCGI sent in stderr: "PHP message: PHP Fatal error:  Uncaught Error: Call to a member function getRequest() on null in /config/www/owncloud/remote.php:47

Stack trace:
#0 /config/www/owncloud/remote.php(169): handleException(Object(ParseError))
#1 {main}
  thrown in /config/www/owncloud/remote.php on line 47" while reading response header from upstream, client: TTTTTTTTT, server: _, request: "PROPFIND /remote.php/dav/files/USER-A/ HTTP/1.1", upstream: "fastcgi://unix:/run/php/php7.1-fpm.sock:", host: “fxfxfxfxfxfxfxfxfxfxfx"
2019/10/09 12:24:59 [error] 841#841: *1433 FastCGI sent in stderr: "PHP message: PHP Parse error:  syntax error, unexpected '',' (T_CONSTANT_ENCAPSED_STRING), expecting ')' in /config/www/owncloud/config/config.php on line 21" while reading response header from upstream, client: 80.100.203.146, server: _, request: "GET /status.php HTTP/1.1", upstream: "fastcgi://unix:/run/php/php7.1-fpm.sock:", host: “fxfxfxfxfxfxfxfxfxfxfxfxfxx"
2019/10/09 12:25:02 [error] 841#841: *1088 FastCGI sent in stderr: "PHP message: PHP Fatal error:  Uncaught Error: Call to a member function getRequest() on null in /config/www/owncloud/remote.php:47

Stack trace:
#0 {main}
  thrown in /config/www/owncloud/index.php on line 86" while reading response header from upstream, client: RRRRRRRRRRR, server: _, request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/run/php/php7.1-fpm.sock:", host: “fxfxfxfxfxfxfxfxfxfx"
2019/10/09 12:25:08 [error] 841#841: *1437 open() "/config/www/owncloud/favicon.ico" failed (2: No such file or directory), client: VVVVVVVVVVVVVVV, server: _, request: "GET /favicon.ico HTTP/1.1", host: “fxfxfxfxfxfxfxfxfx"
2019/10/09 12:25:08 [error] 841#841: *1437 FastCGI sent in stderr: "PHP message: PHP Parse error:  syntax error, unexpected '',' (T_CONSTANT_ENCAPSED_STRING), expecting ')' in /config/www/owncloud/config/config.php on line 21" while reading response header from upstream, client: 31.161.39.242, server: _, request: "GET /favicon.ico HTTP/1.1", upstream: "fastcgi://unix:/run/php/php7.1-fpm.sock:", host: “fxfxfxfxfxfxfxfxfxfxfxfx"

 

Oct 9 08:59:39 cd5f8accd42c syslog-ng[17]: EOF on control channel, closing connection;
*** Running /etc/my_init.d/20_apt_update.sh...
Hit:1 http://ppa.launchpad.net/nginx/development/ubuntu xenial InRelease
Get:2 http://security.ubuntu.com/ubuntu xenial-security InRelease [109 kB]
Get:3 http://ppa.launchpad.net/ondrej/php/ubuntu xenial InRelease [23.9 kB]
Hit:4 http://mirrors.digitalocean.com/ubuntu xenial InRelease
Get:5 http://mirrors.digitalocean.com/ubuntu xenial-updates InRelease [109 kB]
Hit:6 https://downloads.mariadb.com/MariaDB/mariadb-10.3.17/repo/ubuntu xenial InRelease
Get:7 http://ppa.launchpad.net/ondrej/php/ubuntu xenial/main amd64 Packages [70.0 kB]
Get:8 http://mirrors.digitalocean.com/ubuntu xenial-updates/main Sources [430 kB]
Get:9 http://mirrors.digitalocean.com/ubuntu xenial-updates/main amd64 Packages [1,348 kB]
Get:10 http://mirrors.digitalocean.com/ubuntu xenial-updates/universe amd64 Packages [991 kB]
Get:11 http://security.ubuntu.com/ubuntu xenial-security/main Sources [194 kB]
Get:12 http://security.ubuntu.com/ubuntu xenial-security/main amd64 Packages [971 kB]
Get:13 http://security.ubuntu.com/ubuntu xenial-security/universe amd64 Packages [587 kB]
Fetched 4,834 kB in 22s (214 kB/s)
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
Calculating upgrade...
The following packages will be upgraded:
libssl1.1
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 1,520 kB of archives.
After this operation, 16.4 kB of additional disk space will be used.
Get:1 http://ppa.launchpad.net/ondrej/php/ubuntu xenial/main amd64 libssl1.1 amd64 1.1.1d-1+ubuntu16.04.1+deb.sury.org+2 [1,520 kB]
Preconfiguring packages ...
Fetched 1,520 kB in 4s (313 kB/s)
Preparing to unpack .../libssl1.1_1.1.1d-1+ubuntu16.04.1+deb.sury.org+2_amd64.deb ...
Unpacking libssl1.1:amd64 (1.1.1d-1+ubuntu16.04.1+deb.sury.org+2) over (1.1.1d-1+ubuntu16.04.1+deb.sury.org+1) ...
Processing triggers for libc-bin (2.23-0ubuntu11) ...
Setting up libssl1.1:amd64 (1.1.1d-1+ubuntu16.04.1+deb.sury.org+2) ...
Processing triggers for libc-bin (2.23-0ubuntu11) ...
Reading package lists...
Building dependency tree...
Reading state information...
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
*** Running /etc/my_init.d/30_set_config.sh...
sysctl: setting key "net.core.somaxconn": Read-only file system
sysctl: setting key "vm.overcommit_memory": Read-only file system
/etc/my_init.d/30_set_config.sh: line 34: /sys/kernel/mm/transparent_hugepage/enabled: Read-only file system
Starting redis-server: redis-server.
*** Running /etc/my_init.d/40_gen_ssl_keys.sh...
Using existing keys in "/config/keys"
*** Running /etc/my_init.d/50_get_owncloud.sh...
*** Running /etc/my_init.d/60_initialise_database.sh...
*** Running /etc/my_init.d/70_memcache_setup.sh...
Oct 9 09:00:23 cd5f8accd42c crontab[402]: (root) REPLACE (root)
*** Running /etc/my_init.d/999_advanced_script.sh...
*** Running /etc/rc.local...
*** Booting runit daemon...
*** Runit started as PID 405
Oct 9 09:00:23 cd5f8accd42c cron[411]: (CRON) INFO (pidfile fd = 3)
Oct 9 09:00:23 cd5f8accd42c cron[411]: (CRON) INFO (Skipping @reboot jobs -- not system startup)
191009 09:00:23 mysqld_safe Logging to '/config/database/cd5f8accd42c.err'.
191009 09:00:23 mysqld_safe Starting mysqld daemon with databases from /config/database
Oct 9 09:09:01 cd5f8accd42c CRON[772]: (root) CMD ( [ -x /usr/lib/php/sessionclean ] && if [ ! -d /run/systemd/system ]; then /usr/lib/php/sessionclean; fi)
Oct 9 09:15:01 cd5f8accd42c CRON[815]: (root) CMD (/sbin/setuser abc php -f /config/www/owncloud/cron.php)
Oct 9 09:17:01 cd5f8accd42c CRON[823]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly)

 

Edited by LimeCenter
added log data
Link to comment
3 hours ago, LimeCenter said:

Having the files moved and adjusted the settings I as stated. However, webpage is blank after 30 minutes i.e. no webUI. There is a connection with the server with SSL but nothing that one can do. The client replies with: '500 internal server error'. The log seems not to share errors...

 

Any idea's what could be going on? I would like to mention that ownCloud earlier did not mention integrity issues....

I also putting in putting ownCloud in maintenance mode does not seem to work....

 

Below also the edited log excerpt

 


#0 /config/www/owncloud/remote.php(169): handleException(Object(ParseError))
#1 {main}
  thrown in /config/www/owncloud/remote.php on line 47" while reading response header from upstream, client: ZZZZZZZZZ, server: _, request: "PROPFIND /remote.php/dav/files/USER-A/ HTTP/1.1", upstream: "fastcgi://unix:/run/php/php7.1-fpm.sock:", host: “fxfxfxfxfxfxfxfxfxfxfxfx"
2019/10/09 12:24:27 [error] 838#838: *1427 FastCGI sent in stderr: "PHP message: PHP Parse error:  syntax error, unexpected '',' (T_CONSTANT_ENCAPSED_STRING), expecting ')' in /config/www/owncloud/config/config.php on line 21" while reading response header from upstream, client: 80.100.203.146, server: _, request: "GET /status.php HTTP/1.1", upstream: "fastcgi://unix:/run/php/php7.1-fpm.sock:", host: “fxfxfxfxfxfxfxfxfxfx"
2019/10/09 12:24:32 [error] 841#841: *1088 FastCGI sent in stderr: "PHP message: PHP Fatal error:  Uncaught Error: Call to a member function getRequest() on null in /config/www/owncloud/remote.php:47

Stack trace:
#0 /config/www/owncloud/remote.php(169): handleException(Object(ParseError))
#1 {main}
  thrown in /config/www/owncloud/remote.php on line 47" while reading response header from upstream, client: YYYYYYYY, server: _, request: "PROPFIND /remote.php/dav/files/USER-B/ HTTP/1.1", upstream: "fastcgi://unix:/run/php/php7.1-fpm.sock:", host: “fxfxfxfxfxfxfxfxfx"
2019/10/09 12:24:38 [error] 839#839: *1091 FastCGI sent in stderr: "PHP message: PHP Fatal error:  Uncaught Error: Call to a member function getRequest() on null in /config/www/owncloud/remote.php:47

Stack trace:
#0 /config/www/owncloud/remote.php(169): handleException(Object(ParseError))
#1 {main}
  thrown in /config/www/owncloud/remote.php on line 47" while reading response header from upstream, client: TTTTTTTTT, server: _, request: "PROPFIND /remote.php/dav/files/USER-A/ HTTP/1.1", upstream: "fastcgi://unix:/run/php/php7.1-fpm.sock:", host: “fxfxfxfxfxfxfxfxfxfxfx"
2019/10/09 12:24:59 [error] 841#841: *1433 FastCGI sent in stderr: "PHP message: PHP Parse error:  syntax error, unexpected '',' (T_CONSTANT_ENCAPSED_STRING), expecting ')' in /config/www/owncloud/config/config.php on line 21" while reading response header from upstream, client: 80.100.203.146, server: _, request: "GET /status.php HTTP/1.1", upstream: "fastcgi://unix:/run/php/php7.1-fpm.sock:", host: “fxfxfxfxfxfxfxfxfxfxfxfxfxx"
2019/10/09 12:25:02 [error] 841#841: *1088 FastCGI sent in stderr: "PHP message: PHP Fatal error:  Uncaught Error: Call to a member function getRequest() on null in /config/www/owncloud/remote.php:47

Stack trace:
#0 {main}
  thrown in /config/www/owncloud/index.php on line 86" while reading response header from upstream, client: RRRRRRRRRRR, server: _, request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/run/php/php7.1-fpm.sock:", host: “fxfxfxfxfxfxfxfxfxfx"
2019/10/09 12:25:08 [error] 841#841: *1437 open() "/config/www/owncloud/favicon.ico" failed (2: No such file or directory), client: VVVVVVVVVVVVVVV, server: _, request: "GET /favicon.ico HTTP/1.1", host: “fxfxfxfxfxfxfxfxfx"
2019/10/09 12:25:08 [error] 841#841: *1437 FastCGI sent in stderr: "PHP message: PHP Parse error:  syntax error, unexpected '',' (T_CONSTANT_ENCAPSED_STRING), expecting ')' in /config/www/owncloud/config/config.php on line 21" while reading response header from upstream, client: 31.161.39.242, server: _, request: "GET /favicon.ico HTTP/1.1", upstream: "fastcgi://unix:/run/php/php7.1-fpm.sock:", host: “fxfxfxfxfxfxfxfxfxfxfxfx"

 


Oct 9 08:59:39 cd5f8accd42c syslog-ng[17]: EOF on control channel, closing connection;
*** Running /etc/my_init.d/20_apt_update.sh...
Hit:1 http://ppa.launchpad.net/nginx/development/ubuntu xenial InRelease
Get:2 http://security.ubuntu.com/ubuntu xenial-security InRelease [109 kB]
Get:3 http://ppa.launchpad.net/ondrej/php/ubuntu xenial InRelease [23.9 kB]
Hit:4 http://mirrors.digitalocean.com/ubuntu xenial InRelease
Get:5 http://mirrors.digitalocean.com/ubuntu xenial-updates InRelease [109 kB]
Hit:6 https://downloads.mariadb.com/MariaDB/mariadb-10.3.17/repo/ubuntu xenial InRelease
Get:7 http://ppa.launchpad.net/ondrej/php/ubuntu xenial/main amd64 Packages [70.0 kB]
Get:8 http://mirrors.digitalocean.com/ubuntu xenial-updates/main Sources [430 kB]
Get:9 http://mirrors.digitalocean.com/ubuntu xenial-updates/main amd64 Packages [1,348 kB]
Get:10 http://mirrors.digitalocean.com/ubuntu xenial-updates/universe amd64 Packages [991 kB]
Get:11 http://security.ubuntu.com/ubuntu xenial-security/main Sources [194 kB]
Get:12 http://security.ubuntu.com/ubuntu xenial-security/main amd64 Packages [971 kB]
Get:13 http://security.ubuntu.com/ubuntu xenial-security/universe amd64 Packages [587 kB]
Fetched 4,834 kB in 22s (214 kB/s)
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
Calculating upgrade...
The following packages will be upgraded:
libssl1.1
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 1,520 kB of archives.
After this operation, 16.4 kB of additional disk space will be used.
Get:1 http://ppa.launchpad.net/ondrej/php/ubuntu xenial/main amd64 libssl1.1 amd64 1.1.1d-1+ubuntu16.04.1+deb.sury.org+2 [1,520 kB]
Preconfiguring packages ...
Fetched 1,520 kB in 4s (313 kB/s)
Preparing to unpack .../libssl1.1_1.1.1d-1+ubuntu16.04.1+deb.sury.org+2_amd64.deb ...
Unpacking libssl1.1:amd64 (1.1.1d-1+ubuntu16.04.1+deb.sury.org+2) over (1.1.1d-1+ubuntu16.04.1+deb.sury.org+1) ...
Processing triggers for libc-bin (2.23-0ubuntu11) ...
Setting up libssl1.1:amd64 (1.1.1d-1+ubuntu16.04.1+deb.sury.org+2) ...
Processing triggers for libc-bin (2.23-0ubuntu11) ...
Reading package lists...
Building dependency tree...
Reading state information...
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
*** Running /etc/my_init.d/30_set_config.sh...
sysctl: setting key "net.core.somaxconn": Read-only file system
sysctl: setting key "vm.overcommit_memory": Read-only file system
/etc/my_init.d/30_set_config.sh: line 34: /sys/kernel/mm/transparent_hugepage/enabled: Read-only file system
Starting redis-server: redis-server.
*** Running /etc/my_init.d/40_gen_ssl_keys.sh...
Using existing keys in "/config/keys"
*** Running /etc/my_init.d/50_get_owncloud.sh...
*** Running /etc/my_init.d/60_initialise_database.sh...
*** Running /etc/my_init.d/70_memcache_setup.sh...
Oct 9 09:00:23 cd5f8accd42c crontab[402]: (root) REPLACE (root)
*** Running /etc/my_init.d/999_advanced_script.sh...
*** Running /etc/rc.local...
*** Booting runit daemon...
*** Runit started as PID 405
Oct 9 09:00:23 cd5f8accd42c cron[411]: (CRON) INFO (pidfile fd = 3)
Oct 9 09:00:23 cd5f8accd42c cron[411]: (CRON) INFO (Skipping @reboot jobs -- not system startup)
191009 09:00:23 mysqld_safe Logging to '/config/database/cd5f8accd42c.err'.
191009 09:00:23 mysqld_safe Starting mysqld daemon with databases from /config/database
Oct 9 09:09:01 cd5f8accd42c CRON[772]: (root) CMD ( [ -x /usr/lib/php/sessionclean ] && if [ ! -d /run/systemd/system ]; then /usr/lib/php/sessionclean; fi)
Oct 9 09:15:01 cd5f8accd42c CRON[815]: (root) CMD (/sbin/setuser abc php -f /config/www/owncloud/cron.php)
Oct 9 09:17:01 cd5f8accd42c CRON[823]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly)

 

You need to remove the docker, and the owncloud appdata and start over.

Link to comment

Dear dlandon,

 

Would you be so very kind to specify how we might incorporate the data back again? Would it be a case of temporarily copying the data to a different unRAID share > doing the complete install owncloud > shutting down owncloud > replacing the data folder and config.php file?

 

May I ask what issue or risk might occur by placing the data folder inside the www/owcloud folder?

Edited by LimeCenter
added question
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.