[prev in list] [next in list] [prev in thread] [next in thread] 

List:       owncloud
Subject:    Re: [owncloud-user] notification on uploading a file to a folder
From:       Sergi <sse () okitup ! com>
Date:       2015-01-21 12:40:17
Message-ID: 54BF9E31.9020205 () okitup ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Hello,

well, if the user uploads a file she receives a notification, I can
track it on table oc_activity and oc_activity_mq, and she receives the
email.

BUT if someone using a share via link like :
 https://example.compublic.php?service=files&t=86c18c9d451cdf6f4fb46571135c6db0/
uploads a file, the folder's one doesn't receive a notification, this
upload is not logged to oc_activity or oc_activity_mq and not notified.

Maybe this type of notification is not taken into account anywhere, is it?

Thanks,
regards,
Sergi


On 16/01/15 14:30, Arman Khalatyan wrote:
> You can try to enable DEBUG in config.php and monitor owncloud.log
>
> ***********************************************************
>  Dr. Arman Khalatyan              eScience -SuperComputing 
>  Leibniz-Institut für Astrophysik Potsdam (AIP)            
>  An der Sternwarte 16, 14482 Potsdam, Germany              
> ***********************************************************
>
> On Fri, Jan 16, 2015 at 12:29 PM, Sergi <sse@okitup.com
> <mailto:sse@okitup.com>> wrote:
>
>     Hello,
>
>     nothing in mail.log; this owncloud instance is installed on debian
>     wheezy.
>
>     Thanks,
>     On 16/01/15 12:27, Arman Khalatyan wrote:
>>
>>     Strange,
>>     What about /var/log/maillog?
>>     What env you are running?
>>
>>     On Jan 16, 2015 9:39 AM, "Sergi" <sse@okitup.com
>>     <mailto:sse@okitup.com>> wrote:
>>
>>         Hello,
>>
>>         I have configured it hourly, yes.
>>
>>         And email works because, besides checking it from the
>>         administration panel, emails to send shared folder urls work.
>>
>>         Thanks,
>>         regards,
>>         Sergi
>>         On 15/01/15 20:56, Arman Khalatyan wrote:
>>>         The notifications are not triggered immediately, it is
>>>         configurable in Personal:
>>>         *You need to set up your email address before you can
>>>         receive notification emails.*
>>>         menu->hourly->daily->weekly. Did you check it?
>>>
>>>
>>>         ***********************************************************
>>>          Dr. Arman Khalatyan              eScience -SuperComputing 
>>>          Leibniz-Institut für Astrophysik Potsdam (AIP)            
>>>          An der Sternwarte 16, 14482 Potsdam, Germany              
>>>         ***********************************************************
>>>
>>>         On Thu, Jan 15, 2015 at 7:21 PM, Sergi <sse@okitup.com
>>>         <mailto:sse@okitup.com>> wrote:
>>>
>>>             Hello,
>>>
>>>             yes, the owncloud web page gets visits, many people uses
>>>             it ... I mean my own visits should trigger the ajax
>>>             cron, but notifications don't get through.
>>>
>>>             And that statement was an example, it is not anywhere.
>>>
>>>             Thanks,
>>>             regards,
>>>
>>>             On 15/01/15 19:16, Mark Ziegler wrote:
>>>>             Am 15.01.15 um 19:12 schrieb Sergi:
>>>>>             Hi,
>>>>>
>>>>>             yes, the docs tell the difference between different
>>>>>             options, but, they don't tell, for example, that
>>>>>             notifications won't work using ajax cron option.
>>>>             Where does this statement is written?
>>>>             Maybe no one visits your ownCloud web page and not cron
>>>>             is triggered?
>>>>
>>>>>
>>>>>             Or is there an explicit notifications.php that I have
>>>>>             to add to the cron file?
>>>>             No.
>>>>
>>>>             Cheers
>>>>
>>>>
>>>>
>>>>             _______________________________________________
>>>>             User mailing list
>>>>             User@owncloud.org <mailto:User@owncloud.org>
>>>>             http://mailman.owncloud.org/mailman/listinfo/user
>>>
>>>
>>>             _______________________________________________
>>>             User mailing list
>>>             User@owncloud.org <mailto:User@owncloud.org>
>>>             http://mailman.owncloud.org/mailman/listinfo/user
>>>
>>>
>>>
>>>
>>>         _______________________________________________
>>>         User mailing list
>>>         User@owncloud.org <mailto:User@owncloud.org>
>>>         http://mailman.owncloud.org/mailman/listinfo/user
>>
>>
>>         _______________________________________________
>>         User mailing list
>>         User@owncloud.org <mailto:User@owncloud.org>
>>         http://mailman.owncloud.org/mailman/listinfo/user
>>
>>
>>
>>     _______________________________________________
>>     User mailing list
>>     User@owncloud.org <mailto:User@owncloud.org>
>>     http://mailman.owncloud.org/mailman/listinfo/user
>
>
>
>     _______________________________________________
>     User mailing list
>     User@owncloud.org <mailto:User@owncloud.org>
>     http://mailman.owncloud.org/mailman/listinfo/user
>
>
>
>
> _______________________________________________
> User mailing list
> User@owncloud.org
> http://mailman.owncloud.org/mailman/listinfo/user


**

[Attachment #5 (text/html)]

<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <tt>Hello,<br>
      <br>
      well, if the user uploads a file she receives a notification, I
      can track it on table oc_activity and oc_activity_mq, and she
      receives the email.<br>
      <br>
      BUT if someone using a share via link like :<br>
&nbsp;<a class="moz-txt-link-freetext" \
href="https://example.compublic.php?service=files&amp;t=86c18c9d451cdf6f4fb46571135c6d \
b0/">https://example.compublic.php?service=files&amp;t=86c18c9d451cdf6f4fb46571135c6db0/</a><br>
  uploads a file, the folder's one doesn't receive a notification,
      this upload is not logged to </tt><tt><tt>oc_activity or
        oc_activity_mq and not notified.<br>
        <br>
        Maybe this type of notification is not taken into account
        anywhere, is it?<br>
        <br>
        Thanks,<br>
        regards,<br>
        Sergi<br>
        <br>
        <br>
      </tt> </tt>
    <div class="moz-cite-prefix">On 16/01/15 14:30, Arman Khalatyan
      wrote:<br>
    </div>
    <blockquote
cite="mid:CAAqDm6ZYnDsz05FxVU4wB-PbedgKBWUER0Mj+z1SNCLg28Zy1Q@mail.gmail.com"
      type="cite">
      <div dir="ltr">You can try to enable DEBUG in config.php and
        monitor owncloud.log<br>
      </div>
      <div class="gmail_extra"><br clear="all">
        <div>
          <div class="gmail_signature">
            <div dir="ltr">
              <pre cols="72"><span><pre \
cols="72">***********************************************************</pre></span> \
Dr. Arman Khalatyan              eScience -SuperComputing   Leibniz-Institut f&uuml;r \
Astrophysik Potsdam (AIP)              An der Sternwarte 16, 14482 Potsdam, Germany   \
 <span><pre cols="72">***********************************************************
</pre></span></pre>
            </div>
          </div>
        </div>
        <br>
        <div class="gmail_quote">On Fri, Jan 16, 2015 at 12:29 PM, Sergi
          <span dir="ltr">&lt;<a moz-do-not-send="true"
              href="mailto:sse@okitup.com" \
target="_blank">sse@okitup.com</a>&gt;</span>  wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div bgcolor="#FFFFFF" text="#000000"> <tt>Hello,<br>
                <br>
                nothing in mail.log; this owncloud instance is installed
                on debian wheezy.<br>
                <br>
                Thanks,<br>
              </tt>
              <div>
                <div class="h5">
                  <div>On 16/01/15 12:27, Arman Khalatyan wrote:<br>
                  </div>
                  <blockquote type="cite">
                    <p>Strange,<br>
                      What about /var/log/maillog?<br>
                      What env you are running?</p>
                    <div class="gmail_quote">On Jan 16, 2015 9:39 AM,
                      "Sergi" &lt;<a moz-do-not-send="true"
                        href="mailto:sse@okitup.com" \
target="_blank">sse@okitup.com</a>&gt;

                      wrote:<br type="attribution">
                      <blockquote class="gmail_quote" style="margin:0 0
                        0 .8ex;border-left:1px #ccc
                        solid;padding-left:1ex">
                        <div bgcolor="#FFFFFF" text="#000000"> <tt>Hello,<br>
                            <br>
                            I have configured it hourly, yes.<br>
                            <br>
                            And email works because, besides checking it
                            from the administration panel, emails to
                            send shared folder urls work.<br>
                            <br>
                            Thanks,<br>
                            regards,<br>
                            Sergi<br>
                          </tt>
                          <div>On 15/01/15 20:56, Arman Khalatyan wrote:<br>
                          </div>
                          <blockquote type="cite">
                            <div dir="ltr">
                              <div>The notifications are not triggered
                                immediately, it is configurable in
                                Personal: <br>
                                <strong>You need to set up your email
                                  address before you can receive
                                  notification emails.</strong> <br>
                              </div>
                              menu-&gt;hourly-&gt;daily-&gt;weekly. Did
                              you check it?<br>
                              <br>
                            </div>
                            <div class="gmail_extra"><br clear="all">
                              <div>
                                <div>
                                  <div dir="ltr">
                                    <pre cols="72"><span><pre \
cols="72">***********************************************************</pre></span> \
Dr. Arman Khalatyan              eScience -SuperComputing   Leibniz-Institut f&uuml;r \
Astrophysik Potsdam (AIP)              An der Sternwarte 16, 14482 Potsdam, Germany   \
 <span><pre cols="72">***********************************************************
</pre></span></pre>
                                  </div>
                                </div>
                              </div>
                              <br>
                              <div class="gmail_quote">On Thu, Jan 15,
                                2015 at 7:21 PM, Sergi <span dir="ltr">&lt;<a
                                    moz-do-not-send="true"
                                    href="mailto:sse@okitup.com"
                                    target="_blank">sse@okitup.com</a>&gt;</span>
                                wrote:<br>
                                <blockquote class="gmail_quote"
                                  style="margin:0 0 0
                                  .8ex;border-left:1px #ccc
                                  solid;padding-left:1ex">
                                  <div bgcolor="#FFFFFF" text="#000000">
                                    <tt>Hello,<br>
                                      <br>
                                      yes, the owncloud web page gets
                                      visits, many people uses it ... I
                                      mean my own visits should trigger
                                      the ajax cron, but notifications
                                      don't get through.<br>
                                      <br>
                                      And that statement was an example,
                                      it is not anywhere.<br>
                                      <br>
                                      Thanks,<br>
                                      regards,<br>
                                      <br>
                                    </tt>
                                    <div>
                                      <div>
                                        <div>On 15/01/15 19:16, Mark
                                          Ziegler wrote:<br>
                                        </div>
                                      </div>
                                    </div>
                                    <blockquote type="cite">
                                      <div>
                                        <div>
                                          <div>Am 15.01.15 um 19:12
                                            schrieb Sergi:<br>
                                          </div>
                                          <blockquote type="cite"> <tt>Hi,<br>
                                              <br>
                                              yes, the docs tell the
                                              difference between
                                              different options, but,
                                              they don't tell, for
                                              example, that
                                              notifications won't work
                                              using ajax cron option.<br>
                                            </tt></blockquote>
                                          Where does this statement is
                                          written?<br>
                                          Maybe no one visits your
                                          ownCloud web page and not cron
                                          is triggered?<br>
                                          <br>
                                          <blockquote type="cite"><tt> <br>
                                              Or is there an explicit
                                              notifications.php that I
                                              have to add to the cron
                                              file?<br>
                                            </tt></blockquote>
                                          <tt>No.<br>
                                            <br>
                                            Cheers<br>
                                            <br>
                                          </tt> <br>
                                          <fieldset></fieldset>
                                          <br>
                                        </div>
                                      </div>
                                      <span>
                                        \
<pre>_______________________________________________ User mailing list
<a moz-do-not-send="true" href="mailto:User@owncloud.org" \
target="_blank">User@owncloud.org</a> <a moz-do-not-send="true" \
href="http://mailman.owncloud.org/mailman/listinfo/user" \
target="_blank">http://mailman.owncloud.org/mailman/listinfo/user</a> </pre>
                                      </span></blockquote>
                                    <br>
                                  </div>
                                  <br>
_______________________________________________<br>
                                  User mailing list<br>
                                  <a moz-do-not-send="true"
                                    href="mailto:User@owncloud.org"
                                    target="_blank">User@owncloud.org</a><br>
                                  <a moz-do-not-send="true"
                                    \
                href="http://mailman.owncloud.org/mailman/listinfo/user"
                                    \
target="_blank">http://mailman.owncloud.org/mailman/listinfo/user</a><br>  <br>
                                </blockquote>
                              </div>
                              <br>
                            </div>
                            <br>
                            <fieldset></fieldset>
                            <br>
                            <pre>_______________________________________________
User mailing list
<a moz-do-not-send="true" href="mailto:User@owncloud.org" \
target="_blank">User@owncloud.org</a> <a moz-do-not-send="true" \
href="http://mailman.owncloud.org/mailman/listinfo/user" \
target="_blank">http://mailman.owncloud.org/mailman/listinfo/user</a> </pre>
                          </blockquote>
                          <br>
                        </div>
                        <br>
                        _______________________________________________<br>
                        User mailing list<br>
                        <a moz-do-not-send="true"
                          href="mailto:User@owncloud.org"
                          target="_blank">User@owncloud.org</a><br>
                        <a moz-do-not-send="true"
                          href="http://mailman.owncloud.org/mailman/listinfo/user"
                          \
target="_blank">http://mailman.owncloud.org/mailman/listinfo/user</a><br>  <br>
                      </blockquote>
                    </div>
                    <br>
                    <fieldset></fieldset>
                    <br>
                    <pre>_______________________________________________
User mailing list
<a moz-do-not-send="true" href="mailto:User@owncloud.org" \
target="_blank">User@owncloud.org</a> <a moz-do-not-send="true" \
href="http://mailman.owncloud.org/mailman/listinfo/user" \
target="_blank">http://mailman.owncloud.org/mailman/listinfo/user</a> </pre>
                  </blockquote>
                  <br>
                  <div> <br>
                  </div>
                </div>
              </div>
            </div>
            <br>
            _______________________________________________<br>
            User mailing list<br>
            <a moz-do-not-send="true" \
href="mailto:User@owncloud.org">User@owncloud.org</a><br>  <a moz-do-not-send="true"
              href="http://mailman.owncloud.org/mailman/listinfo/user"
              target="_blank">http://mailman.owncloud.org/mailman/listinfo/user</a><br>
  <br>
          </blockquote>
        </div>
        <br>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
User mailing list
<a class="moz-txt-link-abbreviated" \
href="mailto:User@owncloud.org">User@owncloud.org</a> <a \
class="moz-txt-link-freetext" \
href="http://mailman.owncloud.org/mailman/listinfo/user">http://mailman.owncloud.org/mailman/listinfo/user</a>
 </pre>
    </blockquote>
    <br>
    <div class="moz-signature">
      <br>
      <b><font face="arial" size="1"></font></b>
    </div>
  </body>
</html>



_______________________________________________
User mailing list
User@owncloud.org
http://mailman.owncloud.org/mailman/listinfo/user


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic