ownCloud Stopped Showing Activity



  • ownCloud version 9.1.0
    CentOS 7 VM on Hyper-V
    ownCloud stopped logging activity in the beginning of August and I know there has been lots of activity since then.

    Any idea how to make it start logging activity again?
    I restarted the VM yesterday.



  • Look in the main logs for logging errors. /var/log/messages



  • The first entry is from Sept 25th. Wonder why it doesnt go back any further?



  • @alex.olynyk said in ownCloud Stopped Showing Activity:

    The first entry is from Sept 25th. Wonder why it doesnt go back any further?

    Because of the log rolling. Look in the directory, the zipped older ones are all in there.



  • drwxr-xr-x. 2 root  root    4096 May 23 09:43 anaconda
    drwxr-x---. 2 root  root      40 Jul 25 10:37 audit
    -rw-r--r--. 1 root  root    8430 Sep 29 11:52 boot.log
    -rw-------. 1 root  utmp       0 Sep  1 03:38 btmp
    -rw-------. 1 root  utmp     384 Aug 25 12:23 btmp-20160901
    -rw-------. 1 root  root   61947 Sep 30 12:01 cron
    -rw-------. 1 root  root   68904 Sep  4 03:44 cron-20160904
    -rw-------. 1 root  root   92494 Sep 12 03:20 cron-20160912
    -rw-------. 1 root  root   68903 Sep 18 03:21 cron-20160918
    -rw-------. 1 root  root   81004 Sep 25 03:41 cron-20160925
    -rw-r--r--. 1 root  root   37445 Sep 29 11:52 dmesg
    -rw-r--r--. 1 root  root   37445 Aug 24 11:46 dmesg.old
    -rw-------. 1 root  root    5240 Aug 24 11:48 grubby
    drwx------. 2 root  root    4096 Sep 25 03:41 httpd
    -rw-r--r--. 1 root  root  291416 Sep 30 11:57 lastlog
    drwx------. 2 root  root    4096 Aug  4 09:10 letsencrypt
    -rw-------. 1 root  root       0 Sep 25 03:41 maillog
    -rw-------. 1 root  root       0 Aug 29 03:27 maillog-20160904
    -rw-------. 1 root  root       0 Sep  4 03:44 maillog-20160912
    -rw-------. 1 root  root       0 Sep 12 03:20 maillog-20160918
    -rw-------. 1 root  root       0 Sep 18 03:21 maillog-20160925
    drwxr-x---. 2 mysql mysql     24 Aug 11 18:47 mariadb
    -rw-------. 1 root  root   59766 Sep 30 12:07 messages
    -rw-------. 1 root  root   56540 Sep  4 03:44 messages-20160904
    -rw-------. 1 root  root   74206 Sep 12 03:20 messages-20160912
    -rw-------. 1 root  root   57079 Sep 18 03:21 messages-20160918
    -rw-------. 1 root  root   65147 Sep 25 03:41 messages-20160925
    drwx------. 2 root  root       6 Jun 10  2014 ppp
    -rw-------. 1 root  root    8668 Sep 30 12:02 secure
    -rw-------. 1 root  root    6912 Sep  4 00:02 secure-20160904
    -rw-------. 1 root  root    8832 Sep 12 00:05 secure-20160912
    -rw-------. 1 root  root    7316 Sep 18 00:02 secure-20160918
    -rw-------. 1 root  root    7872 Sep 25 00:04 secure-20160925
    -rw-------. 1 root  root       0 Sep 25 03:41 spooler
    -rw-------. 1 root  root       0 Aug 29 03:27 spooler-20160904
    -rw-------. 1 root  root       0 Sep  4 03:44 spooler-20160912
    -rw-------. 1 root  root       0 Sep 12 03:20 spooler-20160918
    -rw-------. 1 root  root       0 Sep 18 03:21 spooler-20160925
    -rw-------. 1 root  root       0 May 23 09:39 tallylog
    drwxr-xr-x. 2 root  root      22 Mar 31  2016 tuned
    -rw-r--r--. 1 root  root    1080 Sep 29 11:52 wpa_supplicant.log
    -rw-rw-r--. 1 root  utmp  101376 Sep 30 11:57 wtmp
    -rw-------. 1 root  root   22670 Sep 29 11:55 yum.log
    
    

    Dont see any zipped files in RED. Looked at the messages-20160904 but that only goes back to August 29th



  • @scottalanmiller said in ownCloud Stopped Showing Activity:

    @alex.olynyk said in ownCloud Stopped Showing Activity:

    The first entry is from Sept 25th. Wonder why it doesnt go back any further?

    Because of the log rolling. Look in the directory, the zipped older ones are all in there.

    By default most log rolling in CentOS just renames the file and keeps on logging. usually keep 5 or 6 old logs.

    The default process does not compress or archive in any other way.



  • @alex.olynyk said in ownCloud Stopped Showing Activity:

    drwxr-xr-x. 2 root  root    4096 May 23 09:43 anaconda
    drwxr-x---. 2 root  root      40 Jul 25 10:37 audit
    -rw-r--r--. 1 root  root    8430 Sep 29 11:52 boot.log
    -rw-------. 1 root  utmp       0 Sep  1 03:38 btmp
    -rw-------. 1 root  utmp     384 Aug 25 12:23 btmp-20160901
    -rw-------. 1 root  root   61947 Sep 30 12:01 cron
    -rw-------. 1 root  root   68904 Sep  4 03:44 cron-20160904
    -rw-------. 1 root  root   92494 Sep 12 03:20 cron-20160912
    -rw-------. 1 root  root   68903 Sep 18 03:21 cron-20160918
    -rw-------. 1 root  root   81004 Sep 25 03:41 cron-20160925
    -rw-r--r--. 1 root  root   37445 Sep 29 11:52 dmesg
    -rw-r--r--. 1 root  root   37445 Aug 24 11:46 dmesg.old
    -rw-------. 1 root  root    5240 Aug 24 11:48 grubby
    drwx------. 2 root  root    4096 Sep 25 03:41 httpd
    -rw-r--r--. 1 root  root  291416 Sep 30 11:57 lastlog
    drwx------. 2 root  root    4096 Aug  4 09:10 letsencrypt
    -rw-------. 1 root  root       0 Sep 25 03:41 maillog
    -rw-------. 1 root  root       0 Aug 29 03:27 maillog-20160904
    -rw-------. 1 root  root       0 Sep  4 03:44 maillog-20160912
    -rw-------. 1 root  root       0 Sep 12 03:20 maillog-20160918
    -rw-------. 1 root  root       0 Sep 18 03:21 maillog-20160925
    drwxr-x---. 2 mysql mysql     24 Aug 11 18:47 mariadb
    -rw-------. 1 root  root   59766 Sep 30 12:07 messages
    -rw-------. 1 root  root   56540 Sep  4 03:44 messages-20160904
    -rw-------. 1 root  root   74206 Sep 12 03:20 messages-20160912
    -rw-------. 1 root  root   57079 Sep 18 03:21 messages-20160918
    -rw-------. 1 root  root   65147 Sep 25 03:41 messages-20160925
    drwx------. 2 root  root       6 Jun 10  2014 ppp
    -rw-------. 1 root  root    8668 Sep 30 12:02 secure
    -rw-------. 1 root  root    6912 Sep  4 00:02 secure-20160904
    -rw-------. 1 root  root    8832 Sep 12 00:05 secure-20160912
    -rw-------. 1 root  root    7316 Sep 18 00:02 secure-20160918
    -rw-------. 1 root  root    7872 Sep 25 00:04 secure-20160925
    -rw-------. 1 root  root       0 Sep 25 03:41 spooler
    -rw-------. 1 root  root       0 Aug 29 03:27 spooler-20160904
    -rw-------. 1 root  root       0 Sep  4 03:44 spooler-20160912
    -rw-------. 1 root  root       0 Sep 12 03:20 spooler-20160918
    -rw-------. 1 root  root       0 Sep 18 03:21 spooler-20160925
    -rw-------. 1 root  root       0 May 23 09:39 tallylog
    drwxr-xr-x. 2 root  root      22 Mar 31  2016 tuned
    -rw-r--r--. 1 root  root    1080 Sep 29 11:52 wpa_supplicant.log
    -rw-rw-r--. 1 root  utmp  101376 Sep 30 11:57 wtmp
    -rw-------. 1 root  root   22670 Sep 29 11:55 yum.log
    
    

    Dont see any zipped files in RED. Looked at the messages-20160904 but that only goes back to August 29th

    It is only configured to keep them for so long. Otherwise it would sprawl like crazy. If you want gobs of old logs you need to configure that and generally would be configuring it to ship externally.


Log in to reply