logs path is empty

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Tw33ki
    Junior Member
    • Sep 2019
    • 19

    logs path is empty

    Hello,

    unfortunatly my logs folder is empty:

    espo@espocrm:/var/www/html/espocrm/data$ ls -l
    insgesamt 252
    drwxrwxr-x 3 www-data www-data 4096 Okt 7 10:39 cache
    -rw-rw-r-- 1 www-data www-data 6365 Okt 7 10:39 config.php
    drwxrwxr-x 2 www-data www-data 4096 Sep 26 10:28 logs
    drwxr-xr-x 4 www-data www-data 241664 Okt 7 10:39 upload
    espo@espocrm:/var/www/html/espocrm/data$ ls -a logs
    . ..
    espo@espocrm:/var/www/html/espocrm/data$

    I have no idea, why that log-folder is empty. Userrights are ok (i gues).
    Does anyone have an idea?
    Last edited by Tw33ki; 10-07-2019, 08:57 AM. Reason: (changes group-bit)
  • Maximus
    Senior Member
    • Nov 2018
    • 2731

    #2
    Hello,
    Directory entry as simply a "link" to a list of the files the directory contains. 'ls' command shows you the size of that link, not the total space occupied by the contents of the directory. The minimum size a file or directory entry/link must occupy is one block, which is usually 4096 bytes/4K on most ext3/4 filesystems.

    Comment

    • Tw33ki
      Junior Member
      • Sep 2019
      • 19

      #3
      Shouldn't i find some files in ../logs ?

      Comment

      • Maximus
        Senior Member
        • Nov 2018
        • 2731

        #4
        Only if you will get some error.

        Comment

        • Tw33ki
          Junior Member
          • Sep 2019
          • 19

          #5
          i have some problem with e-mail. it doenst sync back sent mails to imap-host. So i guess there should be some log? (Imap-host i've checked, no errors here)

          Comment

          • Maximus
            Senior Member
            • Nov 2018
            • 2731

            #6
            > it doenst sync back sent mails to imap-host.
            As I know it is fetching email from IMAP host to EspoCRM only. So it shouldn't sync back emails from EspoCRM to gmail email box.
            https://github.com/espocrm/documenta...nfiguration.md.

            Comment

            • Tw33ki
              Junior Member
              • Sep 2019
              • 19

              #7
              Originally posted by Maximus
              > it doenst sync back sent mails to imap-host.
              As I know it is fetching email from IMAP host to EspoCRM only. So it shouldn't sync back emails from EspoCRM to gmail email box.
              https://github.com/espocrm/documenta...nfiguration.md.
              Yes, in ur link u are right.
              But on my Installation i'm able to set "sync back sent e-mails"..."to folder" . I will attach Screenshot.

              I Really want to use this feature because i need to get sent mails when i'm offline.

              Comment

              • Maximus
                Senior Member
                • Nov 2018
                • 2731

                #8
                This option means that sent emails will be stored on the IMAP server.

                Comment

                • Tw33ki
                  Junior Member
                  • Sep 2019
                  • 19

                  #9
                  yes, but for some reason it doenst work. I cant find e-mails that i send with espocrm in my imap-server.

                  Comment

                  • Maximus
                    Senior Member
                    • Nov 2018
                    • 2731

                    #10
                    I see, that you are using your own email server. Could you try to reproduce this on gmail (imap.gmail.com). If on Gmail it will work, then this issue rather applies to your email server configs.

                    Comment

                    • Tw33ki
                      Junior Member
                      • Sep 2019
                      • 19

                      #11
                      i've made an google account and tried it. But same issue.
                      Arent there any logs about that e-mail stuff for debugging?

                      Comment

                      • Tw33ki
                        Junior Member
                        • Sep 2019
                        • 19

                        #12
                        hm... for some reason it works after updating to ver 5.7.3.. But for some reason now pulling sent mails from imap host isnt working anymore. do u have an idea for this ?
                        thanks for ur help btw!!!!!

                        Comment

                        • Maximus
                          Senior Member
                          • Nov 2018
                          • 2731

                          #13
                          > But for some reason now pulling sent mails from imap host isnt working anymore.
                          Please check the log file in data/logs. Perhaps cron is disabled (Administration -> Settings -> Disable Cron.

                          Comment

                          • Tw33ki
                            Junior Member
                            • Sep 2019
                            • 19

                            #14
                            Crontab ist still runnig.

                            Oct 18 17:18:01 espocrm CRON[27447]: (www-data) CMD (cd /var/www/html/espocrm; /usr/bin/php7.3 -f cron.php)
                            Oct 18 17:19:01 espocrm CRON[27450]: (www-data) CMD (cd /var/www/html/espocrm; /usr/bin/php7.3 -f cron.php)
                            Oct 18 17:20:01 espocrm CRON[27453]: (www-data) CMD (cd /var/www/html/espocrm; /usr/bin/php7.3 -f cron.php)
                            Oct 18 17:21:01 espocrm CRON[27457]: (www-data) CMD (cd /var/www/html/espocrm; /usr/bin/php7.3 -f cron.php)
                            Oct 18 17:22:01 espocrm CRON[27460]: (www-data) CMD (cd /var/www/html/espocrm; /usr/bin/php7.3 -f cron.php)
                            Oct 18 17:23:01 espocrm CRON[27463]: (www-data) CMD (cd /var/www/html/espocrm; /usr/bin/php7.3 -f cron.php)
                            Oct 18 17:24:01 espocrm CRON[27466]: (www-data) CMD (cd /var/www/html/espocrm; /usr/bin/php7.3 -f cron.php)
                            Oct 18 17:25:01 espocrm CRON[27469]: (www-data) CMD (cd /var/www/html/espocrm; /usr/bin/php7.3 -f cron.php)
                            Oct 18 17:26:01 espocrm CRON[27472]: (www-data) CMD (cd /var/www/html/espocrm; /usr/bin/php7.3 -f cron.php)
                            Oct 18 17:27:01 espocrm CRON[27477]: (www-data) CMD (cd /var/www/html/espocrm; /usr/bin/php7.3 -f cron.php)
                            Oct 18 17:28:01 espocrm CRON[27480]: (www-data) CMD (cd /var/www/html/espocrm; /usr/bin/php7.3 -f cron.php)
                            Oct 18 17:29:01 espocrm CRON[27483]: (www-data) CMD (cd /var/www/html/espocrm; /usr/bin/php7.3 -f cron.php)
                            Oct 18 17:30:01 espocrm CRON[27486]: (www-data) CMD (cd /var/www/html/espocrm; /usr/bin/php7.3 -f cron.php)
                            Oct 18 17:31:01 espocrm CRON[27489]: (www-data) CMD (cd /var/www/html/espocrm; /usr/bin/php7.3 -f cron.php)
                            Oct 18 17:32:01 espocrm CRON[27492]: (www-data) CMD (cd /var/www/html/espocrm; /usr/bin/php7.3 -f cron.php)
                            Oct 18 17:33:01 espocrm CRON[27495]: (www-data) CMD (cd /var/www/html/espocrm; /usr/bin/php7.3 -f cron.php)
                            Oct 18 17:34:01 espocrm CRON[27499]: (www-data) CMD (cd /var/www/html/espocrm; /usr/bin/php7.3 -f cron.php)
                            Oct 18 17:35:01 espocrm CRON[27502]: (www-data) CMD (cd /var/www/html/espocrm; /usr/bin/php7.3 -f cron.php)
                            Oct 18 17:36:01 espocrm CRON[27505]: (www-data) CMD (cd /var/www/html/espocrm; /usr/bin/php7.3 -f cron.php)
                            Oct 18 17:37:01 espocrm CRON[27508]: (www-data) CMD (cd /var/www/html/espocrm; /usr/bin/php7.3 -f cron.php)
                            Oct 18 17:38:01 espocrm CRON[27511]: (www-data) CMD (cd /var/www/html/espocrm; /usr/bin/php7.3 -f cron.php)


                            I checked logs already. there are just some infos about upgrades. should i post it?

                            Comment

                            • Maximus
                              Senior Member
                              • Nov 2018
                              • 2731

                              #15
                              > But for some reason now pulling sent mails from imap host isnt working anymore.

                              Is there any new error that describes this issue occurred in the log?

                              I have tested IMAP connection on my EspoCRM ver.5.7.5 with imap.gmail.com host. It works good.

                              Comment

                              Working...