<div dir="ltr">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:<div><span style="color:rgb(31,73,125);font-family:Calibri,sans-serif;font-size:14.6667px">[EPRINTS_ROOT]/archives/[ARCHI</span><wbr style="color:rgb(31,73,125);font-family:Calibri,sans-serif;font-size:14.6667px"><span style="color:rgb(31,73,125);font-family:Calibri,sans-serif;font-size:14.6667px">VE_NAME]/cfg/workflows/file/</span><wbr style="color:rgb(31,73,125);font-family:Calibri,sans-serif;font-size:14.6667px"><span style="color:rgb(31,73,125);font-family:Calibri,sans-serif;font-size:14.6667px">default.xml</span><br></div><br>Only these two:<div><span style="color:rgb(31,73,125);font-family:Calibri,sans-serif;font-size:14.6667px">[EPRINTS_ROOT]/archives/[ARCHI</span><wbr style="color:rgb(31,73,125);font-family:Calibri,sans-serif;font-size:14.6667px"><span style="color:rgb(31,73,125);font-family:Calibri,sans-serif;font-size:14.6667px">VE_NAME]/cfg/workflows/eprint/</span><wbr style="color:rgb(31,73,125);font-family:Calibri,sans-serif;font-size:14.6667px"><span style="color:rgb(31,73,125);font-family:Calibri,sans-serif;font-size:14.6667px">default.xml</span><br></div><div><span style="color:rgb(31,73,125);font-family:Calibri,sans-serif;font-size:14.6667px">[EPRINTS_ROOT]/archives/[ARCHI</span><wbr style="color:rgb(31,73,125);font-family:Calibri,sans-serif;font-size:14.6667px"><span style="color:rgb(31,73,125);font-family:Calibri,sans-serif;font-size:14.6667px">VE_NAME]/cfg/workflows/user/</span><wbr style="color:rgb(31,73,125);font-family:Calibri,sans-serif;font-size:14.6667px"><span style="color:rgb(31,73,125);font-family:Calibri,sans-serif;font-size:14.6667px">default.xml</span><span style="color:rgb(31,73,125);font-family:Calibri,sans-serif;font-size:14.6667px"><br></span></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Oct 31, 2017 at 11:38 AM, 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 Emilian,</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:</p>
    <p><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1f497d">[EPRINTS_ROOT]/archives/[ARCHI<wbr>VE_NAME]/cfg/workflows/file/<wbr>default.xml</span></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.</p>
    <p>Regards</p><span class="HOEnZb"><font color="#888888">
    <p>David Newman<br>
    </p></font></span><div><div class="h5">
    <p><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1f497d"></span></p>
    <div class="m_-4221172981443358652moz-cite-prefix">On 31/10/2017 08:25, Emilian Mitocariu
      wrote:<br>
    </div>
    <blockquote type="cite">
      <div dir="ltr">There is a default.xml in both directories.</div>
      <div class="gmail_extra"><br>
        <div class="gmail_quote">On Tue, Oct 31, 2017 at 10:18 AM,
          Alan.Stiles <span dir="ltr">&lt;<a href="mailto:alan.stiles@open.ac.uk" target="_blank">alan.stiles@open.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 link="#0563C1" vlink="#954F72" lang="EN-GB">
              <div class="m_-4221172981443358652m_-7086091942858165430WordSection1">
                <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/[ARCHI<wbr>VE_NAME]/cfg/workflows/eprint/
                    ?</span></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></p>
                <p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1f497d"> </span></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.soton<wbr>.ac.uk</a>
                    [mailto:<a href="mailto:eprints-tech-bounces@ecs.soton.ac.uk" target="_blank">eprints-tech-bounces@e<wbr>cs.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></p>
                <div>
                  <div class="m_-4221172981443358652h5">
                    <p class="MsoNormal"> </p>
                    <div>
                      <p class="MsoNormal">Hi,</p>
                      <div>
                        <p class="MsoNormal"> </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:</p>
                      </div>
                      <p class="MsoNormal">EPrints System Error<br>
                        Failed to find workflow: file.default</p>
                      <div>
                        <p class="MsoNormal"> </p>
                      </div>
                      <div>
                        <p class="MsoNormal">This is what I found in
                          apache logs:</p>
                      </div>
                      <div>
                        <div>
                          <p class="MsoNormal">------------------------------<wbr>------------------------------<wbr>------</p>
                        </div>
                        <div>
                          <p class="MsoNormal">---------------- EPrints
                            System Error ----------------------------</p>
                        </div>
                        <div>
                          <p class="MsoNormal">------------------------------<wbr>------------------------------<wbr>------</p>
                        </div>
                        <div>
                          <p class="MsoNormal">Failed to find workflow:
                            file.default</p>
                        </div>
                        <div>
                          <p class="MsoNormal">------------------------------<wbr>------------------------------<wbr>------</p>
                        </div>
                        <div>
                          <p class="MsoNormal"> at
                            /usr/share/eprints3/perl_lib/E<wbr>Prints/Workflow.pm
                            line 161.</p>
                        </div>
                        <div>
                          <p class="MsoNormal">       
                            EPrints::Workflow::new(&quot;EPrint<wbr>s::Workflow&quot;,
                            EPrints::Repository=HASH(0x558<wbr>c15fabf88),
                            &quot;default&quot;, &quot;item&quot;,
                            EPrints::DataObj::File=HASH(0x<wbr>558c16b95e08),
                            &quot;STAFF_ONLY&quot;, ARRAY(0x558c16b6c2b8),
                            &quot;processor&quot;, EPrints::ScreenProcessor=HASH(<wbr>0x558c16d59ff8),
                            ...) called at /usr/share/eprints3/perl_lib/E<wbr>Prints/Plugin/Screen/Workflow.<wbr>pm
                            line 197</p>
                        </div>
                        <div>
                          <p class="MsoNormal">       
                            EPrints::Plugin::Screen::Workf<wbr>low::workflow(EPrints::Plugin:<wbr>:Screen::Workflow::Details=<wbr>HASH(0x558c16b9a4b0))
                            called at /usr/share/eprints3/perl_lib/E<wbr>Prints/Plugin/Screen/Workflow/<wbr>Details.pm
                            line 116</p>
                        </div>
                        <div>
                          <p class="MsoNormal">       
                            EPrints::Plugin::Screen::Workf<wbr>low::Details::render(EPrints::<wbr>Plugin::Screen::Workflow::<wbr>Details=HASH(0x558c16b9a4b0))
                            called at /usr/share/eprints3/perl_lib/E<wbr>Prints/Plugin/Screen/Workflow/<wbr>View.pm
                            line 172</p>
                        </div>
                        <div>
                          <p class="MsoNormal">       
                            EPrints::Plugin::Screen::Workf<wbr>low::View::render(EPrints::<wbr>Plugin::Screen::Workflow::<wbr>View=HASH(0x558c16b8fe50))
                            called at /usr/share/eprints3/perl_lib/E<wbr>Prints/ScreenProcessor.pm
                            line 377</p>
                        </div>
                        <div>
                          <p class="MsoNormal">       
                            EPrints::ScreenProcessor::proc<wbr>ess(&quot;EPrints::ScreenProcessor&quot;<wbr>,
                            &quot;session&quot;, EPrints::Repository=HASH(0x558<wbr>c15fabf88),
                            &quot;template&quot;, undef, &quot;url&quot;, &quot;/cgi/users/home&quot;)
                            called at /usr/share/eprints3/cgi/users/<wbr>home
                            line 25</p>
                        </div>
                        <div>
                          <p class="MsoNormal">       
                            ModPerl::ROOT::ModPerl::Regist<wbr>ry::usr_share_eprints3_cgi_<wbr>users_home::handler(Apache2::<wbr>RequestRec=SCALAR(0x558c1649a6<wbr>f0))
                            called at /usr/lib/x86_64-linux-gnu/perl<wbr>5/5.22/ModPerl/RegistryCooker.<wbr>pm
                            line 207</p>
                        </div>
                        <div>
                          <p class="MsoNormal">        eval {...} called
                            at /usr/lib/x86_64-linux-gnu/perl<wbr>5/5.22/ModPerl/RegistryCooker.<wbr>pm
                            line 207</p>
                        </div>
                        <div>
                          <p class="MsoNormal">       
                            ModPerl::RegistryCooker::run(M<wbr>odPerl::Registry=HASH(0x558c16<wbr>bfd268))
                            called at /usr/lib/x86_64-linux-gnu/perl<wbr>5/5.22/ModPerl/RegistryCooker.<wbr>pm
                            line 173</p>
                        </div>
                        <div>
                          <p class="MsoNormal">       
                            ModPerl::RegistryCooker::defau<wbr>lt_handler(ModPerl::Registry=<wbr>HASH(0x558c16bfd268))
                            called at /usr/lib/x86_64-linux-gnu/perl<wbr>5/5.22/ModPerl/Registry.pm
                            line 32</p>
                        </div>
                        <div>
                          <p class="MsoNormal">       
                            ModPerl::Registry::handler(&quot;Mo<wbr>dPerl::Registry&quot;,
                            Apache2::RequestRec=SCALAR(0x5<wbr>58c1649a6f0))
                            called at -e line 0</p>
                        </div>
                        <div>
                          <p class="MsoNormal">        eval {...} called
                            at -e line 0</p>
                        </div>
                        <div>
                          <p class="MsoNormal">[Tue Oct 31
                            06:30:25.401013 2017] [:error] [pid 6269:tid
                            140362561611520] EPrints::abort()\n</p>
                        </div>
                        <div>
                          <p class="MsoNormal"> </p>
                        </div>
                        <div>
                          <p class="MsoNormal">I couldn&#39;t find much
                            about this error, does anyone know how to
                            fix this?</p>
                        </div>
                      </div>
                    </div>
                  </div>
                </div>
              </div>
              -- 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.
            </div>
            <br>
            *** Options: <a href="http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech" rel="noreferrer" target="_blank">http://mailman.ecs.soton.ac.uk<wbr>/mailman/listinfo/eprints-tech</a><br>
            *** Archive: <a href="http://www.eprints.org/tech.php/" rel="noreferrer" target="_blank">http://www.eprints.org/tech.ph<wbr>p/</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>
      <br>
      <fieldset class="m_-4221172981443358652mimeAttachmentHeader"></fieldset>
      <br>
      <pre>*** Options: <a class="m_-4221172981443358652moz-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_-4221172981443358652moz-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_-4221172981443358652moz-txt-link-freetext" href="http://wiki.eprints.org/" target="_blank">http://wiki.eprints.org/</a>
*** EPrints developers Forum: <a class="m_-4221172981443358652moz-txt-link-freetext" href="http://forum.eprints.org/" target="_blank">http://forum.eprints.org/</a>
</pre>
    </blockquote>
    <br>
  </div></div></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>