<div dir="ltr">David, it still gives the same error, the <span style="font-size:12.8px">workflows/file/default.xml file didn&#39;t fix the problem. Didn&#39;t Alan said he tried the same thing but didn&#39;t work?</span></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Oct 31, 2017 at 12:32 PM, David R Newman <span dir="ltr">&lt;<a href="mailto:drn@ecs.soton.ac.uk" target="_blank">drn@ecs.soton.ac.uk</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">
    <p>Hi Emlian,</p>
    <p>On second thoughts, I am not sure this is a good idea it allows
      you to edit these fields, which could lead to bad things
      happening.  It is probably best if you strip out the component
      section and just leave:<br>
      <br>
      &lt;workflow xmlns=<a class="m_5623798372497519061moz-txt-link-rfc2396E" href="http://eprints.org/ep3/workflow" target="_blank"><font color="red"><b>MailScanner has detected a possible fraud attempt from &quot;eprints.org&quot; claiming to be</b></font> &quot;http://eprints.org/ep3/<wbr>workflow&quot;</a>
      xmlns:epc=<a class="m_5623798372497519061moz-txt-link-rfc2396E" href="http://eprints.org/ep3/control" target="_blank"><font color="red"><b>MailScanner has detected a possible fraud attempt from &quot;eprints.org&quot; claiming to be</b></font> &quot;http://eprints.org/ep3/<wbr>control&quot;</a>&gt;<br>
        &lt;flow&gt;<br>
          &lt;stage ref=&quot;main&quot;/&gt;<br>
        &lt;/flow&gt;<br>
        &lt;stage name=&quot;main&quot;/&gt;<br>
      &lt;/workflow&gt;</p>
    <p>Regards</p>
    <p>David Newman<br>
    </p><span class="">
    <br>
    <div class="m_5623798372497519061moz-cite-prefix">On 31/10/2017 10:21, David R Newman
      wrote:<br>
    </div>
    </span><blockquote type="cite"><span class="">
      
      <p>Hi Emilian,</p>
      <p>I have created a basic workflows/file/default.xml, it probably
        could do with some extra fields being added and it may show some
        phrases are missing but it should fix the original issue. 
        Please note, I edited this file on Windows if you copy this onto
        you linux server, you should probably run dos2unix over it to
        make sure it has the right line endings.<br>
      </p>
      </span><p>Regards</p>
      <p>David Newman<br>
      </p>
      <br><span class="">
      <div class="m_5623798372497519061moz-cite-prefix">On 31/10/2017 10:09, Alan.Stiles
        wrote:<br>
      </div>
      </span><blockquote type="cite">
        
        
        
        <div class="m_5623798372497519061WordSection1"><span class="">
          <p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1f497d">Is
              there anything in
              {EPRINTS_ROOT]/lib/defaultcfg/<wbr>workflows/file/  on your
              3.3.7 version?<u></u><u></u></span></p>
          <p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1f497d"><u></u> <u></u></span></p>
          </span><p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif" lang="EN-US">From:</span></b><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif" lang="EN-US"> <a class="m_5623798372497519061moz-txt-link-abbreviated" href="mailto:eprints-tech-bounces@ecs.soton.ac.uk" target="_blank">eprints-tech-bounces@ecs.<wbr>soton.ac.uk</a>
              [<a class="m_5623798372497519061moz-txt-link-freetext" href="mailto:eprints-tech-bounces@ecs.soton.ac.uk" target="_blank">mailto:eprints-tech-bounces@<wbr>ecs.soton.ac.uk</a>]
              <b>On Behalf Of </b>Emilian Mitocariu<span class=""><br>
              <b>Sent:</b> 31 October 2017 09:49<br>
              <b>To:</b> <a class="m_5623798372497519061moz-txt-link-abbreviated" href="mailto:eprints-tech@ecs.soton.ac.uk" target="_blank">eprints-tech@ecs.soton.ac.uk</a><br>
              </span><b>Subject:</b> Re: [EP-tech] Failed to find workflow:
              file.default<u></u><u></u></span></p><div><div class="h5">
          <p class="MsoNormal"><u></u> <u></u></p>
          <div>
            <p class="MsoNormal">David, the things is that it works on
              the old version of eprints (3.3.7) that I am migrating
              from but there is no such file:<u></u><u></u></p>
            <div>
              <p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1f497d">[EPRINTS_ROOT]/archives/[<wbr>ARCHIVE_NAME]/cfg/workflows/<wbr>file/default.xml</span><u></u><u></u></p>
            </div>
            <p class="MsoNormal"><br>
              Only these two:<u></u><u></u></p>
            <div>
              <p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1f497d">[EPRINTS_ROOT]/archives/[<wbr>ARCHIVE_NAME]/cfg/workflows/<wbr>eprint/default.xml</span><u></u><u></u></p>
            </div>
            <div>
              <p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1f497d">[EPRINTS_ROOT]/archives/[<wbr>ARCHIVE_NAME]/cfg/workflows/<wbr>user/default.xml</span><u></u><u></u></p>
            </div>
          </div>
          <div>
            <p class="MsoNormal"><u></u> <u></u></p>
            <div>
              <p class="MsoNormal">On Tue, Oct 31, 2017 at 11:38 AM,
                David R Newman &lt;<a href="mailto:drn@ecs.soton.ac.uk" target="_blank">drn@ecs.soton.ac.uk</a>&gt;
                wrote:<u></u><u></u></p>
              <blockquote style="border:none;border-left:solid #cccccc 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm">
                <div>
                  <p>Hi Emilian,<u></u><u></u></p>
                  <p>This looks as though it is a bug common with the
                    latest version of EPrints because this is a page
                    that is rarely accessed, as you would not typically
                    need a workflow to view/manage a file, as it is
                    embedded within an eprint.  You would need the
                    following file:<u></u><u></u></p>
                  <p><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1f497d">[EPRINTS_ROOT]/archives/[<wbr>ARCHIVE_NAME]/cfg/workflows/<wbr>file/default.xml</span><u></u><u></u></p>
                  <p>However, I am not aware of where such a file can be
                    found.  So I will have a dig around and see if I can
                    find anything.<u></u><u></u></p>
                  <p>Regards<u></u><u></u></p>
                  <p><span style="color:#888888">David Newman<u></u><u></u></span></p>
                  <div>
                    <div>
                      <div>
                        <p class="MsoNormal">On 31/10/2017 08:25,
                          Emilian Mitocariu wrote:<u></u><u></u></p>
                      </div>
                      <blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
                        <div>
                          <p class="MsoNormal">There is a default.xml in
                            both directories.<u></u><u></u></p>
                        </div>
                        <div>
                          <p class="MsoNormal"><u></u> <u></u></p>
                          <div>
                            <p class="MsoNormal">On Tue, Oct 31, 2017 at
                              10:18 AM, Alan.Stiles &lt;<a href="mailto:alan.stiles@open.ac.uk" target="_blank">alan.stiles@open.ac.uk</a>&gt;
                              wrote:<u></u><u></u></p>
                            <blockquote style="border:none;border-left:solid #cccccc 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm">
                              <div>
                                <div>
                                  <p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1f497d">Off
                                      the top of my head, and before
                                      morning caffeine, do you have a
                                      default.xml in
                                      [EPRINTS_ROOT]/archives/[<wbr>ARCHIVE_NAME]/cfg/workflows/<wbr>eprint/
                                      ?</span><u></u><u></u></p>
                                  <p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1f497d">And
                                      if not, is there one in
                                      [EPRINTS_ROOT]/lib/defaultcfg/<wbr>workflows/eprint/
                                      ?</span><u></u><u></u></p>
                                  <p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1f497d"> </span><u></u><u></u></p>
                                  <p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif" lang="EN-US">From:</span></b><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif" lang="EN-US"> <a href="mailto:eprints-tech-bounces@ecs.soton.ac.uk" target="_blank">eprints-tech-bounces@ecs.<wbr>soton.ac.uk</a>
                                      [mailto:<a href="mailto:eprints-tech-bounces@ecs.soton.ac.uk" target="_blank">eprints-tech-bounces@<wbr>ecs.soton.ac.uk</a>]
                                      <b>On Behalf Of </b>Mitocariu
                                      Emilian<br>
                                      <b>Sent:</b> 31 October 2017 06:54<br>
                                      <b>To:</b> <a href="mailto:eprints-tech@ecs.soton.ac.uk" target="_blank">eprints-tech@ecs.soton.ac.uk</a><br>
                                      <b>Subject:</b> [EP-tech] Failed
                                      to find workflow: file.default</span><u></u><u></u></p>
                                  <div>
                                    <div>
                                      <p class="MsoNormal"> <u></u><u></u></p>
                                      <div>
                                        <p class="MsoNormal">Hi,<u></u><u></u></p>
                                        <div>
                                          <p class="MsoNormal"> <u></u><u></u></p>
                                        </div>
                                        <div>
                                          <p class="MsoNormal">I
                                            recently migrated an eprints
                                            server from version <span style="font-size:9.5pt">3.3.7
                                              to version 3.3.15 and when
                                              I go to </span><i>Manage
                                              records</i> -&gt; <i>Files</i> and
                                            click View on one of the
                                            files I get this error:<u></u><u></u></p>
                                        </div>
                                        <p class="MsoNormal">EPrints
                                          System Error<br>
                                          Failed to find workflow:
                                          file.default<u></u><u></u></p>
                                        <div>
                                          <p class="MsoNormal"> <u></u><u></u></p>
                                        </div>
                                        <div>
                                          <p class="MsoNormal">This
                                            is what I found in apache
                                            logs:<u></u><u></u></p>
                                        </div>
                                        <div>
                                          <div>
                                            <p class="MsoNormal">------------------------------<wbr>------------------------------<wbr>------<u></u><u></u></p>
                                          </div>
                                          <div>
                                            <p class="MsoNormal">----------------
                                              EPrints System Error
                                              ----------------------------<u></u><u></u></p>
                                          </div>
                                          <div>
                                            <p class="MsoNormal">------------------------------<wbr>------------------------------<wbr>------<u></u><u></u></p>
                                          </div>
                                          <div>
                                            <p class="MsoNormal">Failed
                                              to find workflow:
                                              file.default<u></u><u></u></p>
                                          </div>
                                          <div>
                                            <p class="MsoNormal">------------------------------<wbr>------------------------------<wbr>------<u></u><u></u></p>
                                          </div>
                                          <div>
                                            <p class="MsoNormal"> at
/usr/share/eprints3/perl_lib/<wbr>EPrints/Workflow.pm line 161.<u></u><u></u></p>
                                          </div>
                                          <div>
                                            <p class="MsoNormal"> 
                                                   
                                              EPrints::Workflow::new(&quot;<wbr>EPrints::Workflow&quot;,
EPrints::Repository=HASH(<wbr>0x558c15fabf88), &quot;default&quot;, &quot;item&quot;,
                                              EPrints::DataObj::File=HASH(<wbr>0x558c16b95e08),
                                              &quot;STAFF_ONLY&quot;,
                                              ARRAY(0x558c16b6c2b8),
                                              &quot;processor&quot;,
                                              EPrints::ScreenProcessor=HASH(<wbr>0x558c16d59ff8),
                                              ...) called at
                                              /usr/share/eprints3/perl_lib/<wbr>EPrints/Plugin/Screen/<wbr>Workflow.pm
                                              line 197<u></u><u></u></p>
                                          </div>
                                          <div>
                                            <p class="MsoNormal"> 
                                                   
EPrints::Plugin::Screen::<wbr>Workflow::workflow(EPrints::<wbr>Plugin::Screen::Workflow::<wbr>Details=HASH(0x558c16b9a4b0))
                                              called at
                                              /usr/share/eprints3/perl_lib/<wbr>EPrints/Plugin/Screen/<wbr>Workflow/Details.pm
                                              line 116<u></u><u></u></p>
                                          </div>
                                          <div>
                                            <p class="MsoNormal"> 
                                                   
EPrints::Plugin::Screen::<wbr>Workflow::Details::render(<wbr>EPrints::Plugin::Screen::<wbr>Workflow::Details=HASH(<wbr>0x558c16b9a4b0))
                                              called at
                                              /usr/share/eprints3/perl_lib/<wbr>EPrints/Plugin/Screen/<wbr>Workflow/View.pm
                                              line 172<u></u><u></u></p>
                                          </div>
                                          <div>
                                            <p class="MsoNormal"> 
                                                   
EPrints::Plugin::Screen::<wbr>Workflow::View::render(<wbr>EPrints::Plugin::Screen::<wbr>Workflow::View=HASH(<wbr>0x558c16b8fe50))
                                              called at
                                              /usr/share/eprints3/perl_lib/<wbr>EPrints/ScreenProcessor.pm
                                              line 377<u></u><u></u></p>
                                          </div>
                                          <div>
                                            <p class="MsoNormal"> 
                                                   
                                              EPrints::ScreenProcessor::<wbr>process(&quot;EPrints::<wbr>ScreenProcessor&quot;,
                                              &quot;session&quot;,
                                              EPrints::Repository=HASH(<wbr>0x558c15fabf88),
                                              &quot;template&quot;, undef, &quot;url&quot;,
                                              &quot;/cgi/users/home&quot;) called
                                              at
/usr/share/eprints3/cgi/users/<wbr>home line 25<u></u><u></u></p>
                                          </div>
                                          <div>
                                            <p class="MsoNormal"> 
                                                   
ModPerl::ROOT::ModPerl::<wbr>Registry::usr_share_eprints3_<wbr>cgi_users_home::handler(<wbr>Apache2::RequestRec=SCALAR(<wbr>0x558c1649a6f0))
                                              called at
                                              /usr/lib/x86_64-linux-gnu/<wbr>perl5/5.22/ModPerl/<wbr>RegistryCooker.pm
                                              line 207<u></u><u></u></p>
                                          </div>
                                          <div>
                                            <p class="MsoNormal"> 
                                                    eval {....} called at
/usr/lib/x86_64-linux-gnu/<wbr>perl5/5.22/ModPerl/<wbr>RegistryCooker.pm line 207<u></u><u></u></p>
                                          </div>
                                          <div>
                                            <p class="MsoNormal"> 
                                                   
                                              ModPerl::RegistryCooker::run(<wbr>ModPerl::Registry=HASH(<wbr>0x558c16bfd268))
                                              called at
                                              /usr/lib/x86_64-linux-gnu/<wbr>perl5/5.22/ModPerl/<wbr>RegistryCooker.pm
                                              line 173<u></u><u></u></p>
                                          </div>
                                          <div>
                                            <p class="MsoNormal"> 
                                                   
ModPerl::RegistryCooker::<wbr>default_handler(ModPerl::<wbr>Registry=HASH(0x558c16bfd268))
                                              called at
                                              /usr/lib/x86_64-linux-gnu/<wbr>perl5/5.22/ModPerl/Registry.pm
                                              line 32<u></u><u></u></p>
                                          </div>
                                          <div>
                                            <p class="MsoNormal"> 
                                                   
                                              ModPerl::Registry::handler(&quot;<wbr>ModPerl::Registry&quot;,
Apache2::RequestRec=SCALAR(<wbr>0x558c1649a6f0)) called at -e line 0<u></u><u></u></p>
                                          </div>
                                          <div>
                                            <p class="MsoNormal"> 
                                                    eval {...} called at
                                              -e line 0<u></u><u></u></p>
                                          </div>
                                          <div>
                                            <p class="MsoNormal">[Tue
                                              Oct 31 06:30:25.401013
                                              2017] [:error] [pid
                                              6269:tid 140362561611520]
                                              EPrints::abort()\n<u></u><u></u></p>
                                          </div>
                                          <div>
                                            <p class="MsoNormal"> <u></u><u></u></p>
                                          </div>
                                          <div>
                                            <p class="MsoNormal">I
                                              couldn&#39;t find much about
                                              this error, does anyone
                                              know how to fix this?<u></u><u></u></p>
                                          </div>
                                        </div>
                                      </div>
                                    </div>
                                  </div>
                                </div>
                                <p class="MsoNormal">-- The Open
                                  University is incorporated by Royal
                                  Charter (RC 000391), an exempt charity
                                  in England &amp; Wales and a charity
                                  registered in Scotland (SC 038302).
                                  The Open University is authorised and
                                  regulated by the Financial Conduct
                                  Authority in relation to its secondary
                                  activity of credit broking. <u></u><u></u></p>
                              </div>
                              <p class="MsoNormal" style="margin-bottom:12.0pt"><br>
                                *** Options: <a href="http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech" target="_blank">
http://mailman.ecs.soton.ac.<wbr>uk/mailman/listinfo/eprints-<wbr>tech</a><br>
                                *** Archive: <a href="http://www.eprints.org/tech.php/" target="_blank">http://www.eprints.org/tech.<wbr>php/</a><br>
                                *** EPrints community wiki: <a href="http://wiki.eprints.org/" target="_blank">http://wiki.eprints.org/</a><br>
                                *** EPrints developers Forum: <a href="http://forum.eprints.org/" target="_blank">
                                  http://forum.eprints.org/</a><u></u><u></u></p>
                            </blockquote>
                          </div>
                          <p class="MsoNormal"><u></u> <u></u></p>
                        </div>
                        <p class="MsoNormal" style="margin-bottom:12.0pt"><u></u> <u></u></p>
                        <pre>*** Options: <a href="http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech" target="_blank">http://mailman.ecs.soton.ac.<wbr>uk/mailman/listinfo/eprints-<wbr>tech</a><u></u><u></u></pre>
                        <pre>*** Archive: <a href="http://www.eprints.org/tech.php/" target="_blank">http://www.eprints.org/tech.<wbr>php/</a><u></u><u></u></pre>
                        <pre>*** EPrints community wiki: <a href="http://wiki.eprints.org/" target="_blank">http://wiki.eprints.org/</a><u></u><u></u></pre>
                        <pre>*** EPrints developers Forum: <a href="http://forum.eprints.org/" target="_blank">http://forum.eprints.org/</a><u></u><u></u></pre>
                      </blockquote>
                      <p class="MsoNormal"><u></u> <u></u></p>
                    </div>
                  </div>
                </div>
                <p class="MsoNormal" style="margin-bottom:12.0pt"><br>
                  *** Options: <a href="http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech" target="_blank">
http://mailman.ecs.soton.ac.<wbr>uk/mailman/listinfo/eprints-<wbr>tech</a><br>
                  *** Archive: <a href="http://www.eprints.org/tech.php/" target="_blank">http://www.eprints.org/tech.<wbr>php/</a><br>
                  *** EPrints community wiki: <a href="http://wiki.eprints.org/" target="_blank">http://wiki.eprints.org/</a><br>
                  *** EPrints developers Forum: <a href="http://forum.eprints.org/" target="_blank">
                    http://forum.eprints.org/</a><u></u><u></u></p>
              </blockquote>
            </div>
            <p class="MsoNormal"><u></u> <u></u></p>
          </div>
        </div></div></div><div><div class="h5">
        <br>
        <fieldset class="m_5623798372497519061mimeAttachmentHeader"></fieldset>
        <br>
        <pre>*** Options: <a class="m_5623798372497519061moz-txt-link-freetext" href="http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech" target="_blank">http://mailman.ecs.soton.ac.<wbr>uk/mailman/listinfo/eprints-<wbr>tech</a>
*** Archive: <a class="m_5623798372497519061moz-txt-link-freetext" href="http://www.eprints.org/tech.php/" target="_blank">http://www.eprints.org/tech.<wbr>php/</a>
*** EPrints community wiki: <a class="m_5623798372497519061moz-txt-link-freetext" href="http://wiki.eprints.org/" target="_blank">http://wiki.eprints.org/</a>
*** EPrints developers Forum: <a class="m_5623798372497519061moz-txt-link-freetext" href="http://forum.eprints.org/" target="_blank">http://forum.eprints.org/</a>
</pre>
      </div></div></blockquote><div><div class="h5">
      <br>
      <br>
      <fieldset class="m_5623798372497519061mimeAttachmentHeader"></fieldset>
      <br>
      <pre>*** Options: <a class="m_5623798372497519061moz-txt-link-freetext" href="http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech" target="_blank">http://mailman.ecs.soton.ac.<wbr>uk/mailman/listinfo/eprints-<wbr>tech</a>
*** Archive: <a class="m_5623798372497519061moz-txt-link-freetext" href="http://www.eprints.org/tech.php/" target="_blank">http://www.eprints.org/tech.<wbr>php/</a>
*** EPrints community wiki: <a class="m_5623798372497519061moz-txt-link-freetext" href="http://wiki.eprints.org/" target="_blank">http://wiki.eprints.org/</a>
*** EPrints developers Forum: <a class="m_5623798372497519061moz-txt-link-freetext" href="http://forum.eprints.org/" target="_blank">http://forum.eprints.org/</a>
</pre>
    </div></div></blockquote>
    <br>
  </div>

<br>*** Options: <a href="http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech" rel="noreferrer" target="_blank">http://mailman.ecs.soton.ac.<wbr>uk/mailman/listinfo/eprints-<wbr>tech</a><br>
*** Archive: <a href="http://www.eprints.org/tech.php/" rel="noreferrer" target="_blank">http://www.eprints.org/tech.<wbr>php/</a><br>
*** EPrints community wiki: <a href="http://wiki.eprints.org/" rel="noreferrer" target="_blank">http://wiki.eprints.org/</a><br>
*** EPrints developers Forum: <a href="http://forum.eprints.org/" rel="noreferrer" target="_blank">http://forum.eprints.org/</a><br>
<br></blockquote></div><br></div>