<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <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>
    <p>Regards</p>
    <p>David Newman<br>
    </p>
    <br>
    <div class="moz-cite-prefix">On 31/10/2017 10:09, Alan.Stiles wrote:<br>
    </div>
    <blockquote
cite="mid:EMEW3|9363e8863928d5809f024808b60fc3day9UAA014eprints-tech-bounces|ecs.soton.ac.uk|HE1PR0401MB2379A0124D89A9885A2844B9CA5E0@HE1PR0401MB2379.eurprd04.prod.outlook.com"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=windows-1252">
      <meta name="Generator" content="Microsoft Word 15 (filtered
        medium)">
      <style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";}
span.hoenzb
        {mso-style-name:hoenzb;}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:Consolas;
        mso-fareast-language:EN-GB;}
span.EmailStyle21
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
      <div class="WordSection1">
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1F497D;mso-fareast-language:EN-US">Is
            there anything in
            {EPRINTS_ROOT]/lib/defaultcfg/workflows/file/  on your 3.3.7
            version?<o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1F497D;mso-fareast-language:EN-US"><o:p> </o:p></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 class="moz-txt-link-abbreviated" href="mailto:eprints-tech-bounces@ecs.soton.ac.uk">eprints-tech-bounces@ecs.soton.ac.uk</a>
            [<a class="moz-txt-link-freetext" href="mailto:eprints-tech-bounces@ecs.soton.ac.uk">mailto:eprints-tech-bounces@ecs.soton.ac.uk</a>]
            <b>On Behalf Of </b>Emilian Mitocariu<br>
            <b>Sent:</b> 31 October 2017 09:49<br>
            <b>To:</b> <a class="moz-txt-link-abbreviated" href="mailto:eprints-tech@ecs.soton.ac.uk">eprints-tech@ecs.soton.ac.uk</a><br>
            <b>Subject:</b> Re: [EP-tech] Failed to find workflow:
            file.default<o:p></o:p></span></p>
        <p class="MsoNormal"><o:p> </o:p></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:<o:p></o:p></p>
          <div>
            <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1F497D">[EPRINTS_ROOT]/archives/[ARCHIVE_NAME]/cfg/workflows/file/default.xml</span><o:p></o:p></p>
          </div>
          <p class="MsoNormal"><br>
            Only these two:<o:p></o:p></p>
          <div>
            <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1F497D">[EPRINTS_ROOT]/archives/[ARCHIVE_NAME]/cfg/workflows/eprint/default.xml</span><o:p></o:p></p>
          </div>
          <div>
            <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1F497D">[EPRINTS_ROOT]/archives/[ARCHIVE_NAME]/cfg/workflows/user/default.xml</span><o:p></o:p></p>
          </div>
        </div>
        <div>
          <p class="MsoNormal"><o:p> </o:p></p>
          <div>
            <p class="MsoNormal">On Tue, Oct 31, 2017 at 11:38 AM, David
              R Newman &lt;<a moz-do-not-send="true"
                href="mailto:drn@ecs.soton.ac.uk" target="_blank">drn@ecs.soton.ac.uk</a>&gt;
              wrote:<o:p></o:p></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,<o:p></o:p></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:<o:p></o:p></p>
                <p><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1F497D">[EPRINTS_ROOT]/archives/[ARCHIVE_NAME]/cfg/workflows/file/default.xml</span><o:p></o:p></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.<o:p></o:p></p>
                <p>Regards<o:p></o:p></p>
                <p><span style="color:#888888">David Newman<o:p></o:p></span></p>
                <div>
                  <div>
                    <div>
                      <p class="MsoNormal">On 31/10/2017 08:25, Emilian
                        Mitocariu wrote:<o:p></o:p></p>
                    </div>
                    <blockquote
                      style="margin-top:5.0pt;margin-bottom:5.0pt">
                      <div>
                        <p class="MsoNormal">There is a default.xml in
                          both directories.<o:p></o:p></p>
                      </div>
                      <div>
                        <p class="MsoNormal"><o:p> </o:p></p>
                        <div>
                          <p class="MsoNormal">On Tue, Oct 31, 2017 at
                            10:18 AM, Alan.Stiles &lt;<a
                              moz-do-not-send="true"
                              href="mailto:alan.stiles@open.ac.uk"
                              target="_blank">alan.stiles@open.ac.uk</a>&gt;
                            wrote:<o:p></o:p></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"
                                  style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><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/[ARCHIVE_NAME]/cfg/workflows/eprint/
                                    ?</span><o:p></o:p></p>
                                <p class="MsoNormal"
                                  style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><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/workflows/eprint/
                                    ?</span><o:p></o:p></p>
                                <p class="MsoNormal"
                                  style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1F497D"> </span><o:p></o:p></p>
                                <p class="MsoNormal"
                                  style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><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 moz-do-not-send="true"
                                      href="mailto:eprints-tech-bounces@ecs.soton.ac.uk"
                                      target="_blank">eprints-tech-bounces@ecs.soton.ac.uk</a>
                                    [mailto:<a moz-do-not-send="true"
                                      href="mailto:eprints-tech-bounces@ecs.soton.ac.uk"
                                      target="_blank">eprints-tech-bounces@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
                                      moz-do-not-send="true"
                                      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><o:p></o:p></p>
                                <div>
                                  <div>
                                    <p class="MsoNormal"
                                      style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
                                    <div>
                                      <p class="MsoNormal"
                                        style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Hi,<o:p></o:p></p>
                                      <div>
                                        <p class="MsoNormal"
                                          style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
                                      </div>
                                      <div>
                                        <p class="MsoNormal"
                                          style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">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:<o:p></o:p></p>
                                      </div>
                                      <p class="MsoNormal"
                                        style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">EPrints
                                        System Error<br>
                                        Failed to find workflow:
                                        file.default<o:p></o:p></p>
                                      <div>
                                        <p class="MsoNormal"
                                          style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
                                      </div>
                                      <div>
                                        <p class="MsoNormal"
                                          style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">This
                                          is what I found in apache
                                          logs:<o:p></o:p></p>
                                      </div>
                                      <div>
                                        <div>
                                          <p class="MsoNormal"
                                            style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">------------------------------------------------------------------<o:p></o:p></p>
                                        </div>
                                        <div>
                                          <p class="MsoNormal"
                                            style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">----------------
                                            EPrints System Error
                                            ----------------------------<o:p></o:p></p>
                                        </div>
                                        <div>
                                          <p class="MsoNormal"
                                            style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">------------------------------------------------------------------<o:p></o:p></p>
                                        </div>
                                        <div>
                                          <p class="MsoNormal"
                                            style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Failed
                                            to find workflow:
                                            file.default<o:p></o:p></p>
                                        </div>
                                        <div>
                                          <p class="MsoNormal"
                                            style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">------------------------------------------------------------------<o:p></o:p></p>
                                        </div>
                                        <div>
                                          <p class="MsoNormal"
                                            style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> at
/usr/share/eprints3/perl_lib/EPrints/Workflow.pm line 161.<o:p></o:p></p>
                                        </div>
                                        <div>
                                          <p class="MsoNormal"
                                            style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> 
                                                 
                                            EPrints::Workflow::new("EPrints::Workflow",
EPrints::Repository=HASH(0x558c15fabf88), "default", "item",
                                            EPrints::DataObj::File=HASH(0x558c16b95e08),
                                            "STAFF_ONLY",
                                            ARRAY(0x558c16b6c2b8),
                                            "processor",
                                            EPrints::ScreenProcessor=HASH(0x558c16d59ff8),
                                            ...) called at
                                            /usr/share/eprints3/perl_lib/EPrints/Plugin/Screen/Workflow.pm
                                            line 197<o:p></o:p></p>
                                        </div>
                                        <div>
                                          <p class="MsoNormal"
                                            style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> 
                                                 
EPrints::Plugin::Screen::Workflow::workflow(EPrints::Plugin::Screen::Workflow::Details=HASH(0x558c16b9a4b0))
                                            called at
                                            /usr/share/eprints3/perl_lib/EPrints/Plugin/Screen/Workflow/Details.pm
                                            line 116<o:p></o:p></p>
                                        </div>
                                        <div>
                                          <p class="MsoNormal"
                                            style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> 
                                                 
EPrints::Plugin::Screen::Workflow::Details::render(EPrints::Plugin::Screen::Workflow::Details=HASH(0x558c16b9a4b0))
                                            called at
                                            /usr/share/eprints3/perl_lib/EPrints/Plugin/Screen/Workflow/View.pm
                                            line 172<o:p></o:p></p>
                                        </div>
                                        <div>
                                          <p class="MsoNormal"
                                            style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> 
                                                 
EPrints::Plugin::Screen::Workflow::View::render(EPrints::Plugin::Screen::Workflow::View=HASH(0x558c16b8fe50))
                                            called at
                                            /usr/share/eprints3/perl_lib/EPrints/ScreenProcessor.pm
                                            line 377<o:p></o:p></p>
                                        </div>
                                        <div>
                                          <p class="MsoNormal"
                                            style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> 
                                                 
                                            EPrints::ScreenProcessor::process("EPrints::ScreenProcessor",
                                            "session",
                                            EPrints::Repository=HASH(0x558c15fabf88),
                                            "template", undef, "url",
                                            "/cgi/users/home") called at
/usr/share/eprints3/cgi/users/home line 25<o:p></o:p></p>
                                        </div>
                                        <div>
                                          <p class="MsoNormal"
                                            style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> 
                                                 
ModPerl::ROOT::ModPerl::Registry::usr_share_eprints3_cgi_users_home::handler(Apache2::RequestRec=SCALAR(0x558c1649a6f0))
                                            called at
                                            /usr/lib/x86_64-linux-gnu/perl5/5.22/ModPerl/RegistryCooker.pm
                                            line 207<o:p></o:p></p>
                                        </div>
                                        <div>
                                          <p class="MsoNormal"
                                            style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> 
                                                  eval {...} called at
                                            /usr/lib/x86_64-linux-gnu/perl5/5.22/ModPerl/RegistryCooker.pm
                                            line 207<o:p></o:p></p>
                                        </div>
                                        <div>
                                          <p class="MsoNormal"
                                            style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> 
                                                 
                                            ModPerl::RegistryCooker::run(ModPerl::Registry=HASH(0x558c16bfd268))
                                            called at
                                            /usr/lib/x86_64-linux-gnu/perl5/5.22/ModPerl/RegistryCooker.pm
                                            line 173<o:p></o:p></p>
                                        </div>
                                        <div>
                                          <p class="MsoNormal"
                                            style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> 
                                                 
ModPerl::RegistryCooker::default_handler(ModPerl::Registry=HASH(0x558c16bfd268))
                                            called at
                                            /usr/lib/x86_64-linux-gnu/perl5/5.22/ModPerl/Registry.pm
                                            line 32<o:p></o:p></p>
                                        </div>
                                        <div>
                                          <p class="MsoNormal"
                                            style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> 
                                                 
                                            ModPerl::Registry::handler("ModPerl::Registry",
Apache2::RequestRec=SCALAR(0x558c1649a6f0)) called at -e line 0<o:p></o:p></p>
                                        </div>
                                        <div>
                                          <p class="MsoNormal"
                                            style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> 
                                                  eval {...} called at
                                            -e line 0<o:p></o:p></p>
                                        </div>
                                        <div>
                                          <p class="MsoNormal"
                                            style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">[Tue
                                            Oct 31 06:30:25.401013 2017]
                                            [:error] [pid 6269:tid
                                            140362561611520]
                                            EPrints::abort()\n<o:p></o:p></p>
                                        </div>
                                        <div>
                                          <p class="MsoNormal"
                                            style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
                                        </div>
                                        <div>
                                          <p class="MsoNormal"
                                            style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">I
                                            couldn't find much about
                                            this error, does anyone know
                                            how to fix this?<o:p></o:p></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. <o:p></o:p></p>
                            </div>
                            <p class="MsoNormal"
                              style="margin-bottom:12.0pt"><br>
                              *** Options: <a moz-do-not-send="true"
                                href="http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech"
                                target="_blank">
http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech</a><br>
                              *** Archive: <a moz-do-not-send="true"
                                href="http://www.eprints.org/tech.php/"
                                target="_blank">http://www.eprints.org/tech.php/</a><br>
                              *** EPrints community wiki: <a
                                moz-do-not-send="true"
                                href="http://wiki.eprints.org/"
                                target="_blank">http://wiki.eprints.org/</a><br>
                              *** EPrints developers Forum: <a
                                moz-do-not-send="true"
                                href="http://forum.eprints.org/"
                                target="_blank">
                                http://forum.eprints.org/</a><o:p></o:p></p>
                          </blockquote>
                        </div>
                        <p class="MsoNormal"><o:p> </o:p></p>
                      </div>
                      <p class="MsoNormal" style="margin-bottom:12.0pt"><o:p> </o:p></p>
                      <pre>*** Options: <a moz-do-not-send="true" href="http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech" target="_blank">http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech</a><o:p></o:p></pre>
                      <pre>*** Archive: <a moz-do-not-send="true" href="http://www.eprints.org/tech.php/" target="_blank">http://www.eprints.org/tech.php/</a><o:p></o:p></pre>
                      <pre>*** EPrints community wiki: <a moz-do-not-send="true" href="http://wiki.eprints.org/" target="_blank">http://wiki.eprints.org/</a><o:p></o:p></pre>
                      <pre>*** EPrints developers Forum: <a moz-do-not-send="true" href="http://forum.eprints.org/" target="_blank">http://forum.eprints.org/</a><o:p></o:p></pre>
                    </blockquote>
                    <p class="MsoNormal"><o:p> </o:p></p>
                  </div>
                </div>
              </div>
              <p class="MsoNormal" style="margin-bottom:12.0pt"><br>
                *** Options: <a moz-do-not-send="true"
                  href="http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech"
                  target="_blank">
http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech</a><br>
                *** Archive: <a moz-do-not-send="true"
                  href="http://www.eprints.org/tech.php/"
                  target="_blank">http://www.eprints.org/tech.php/</a><br>
                *** EPrints community wiki: <a moz-do-not-send="true"
                  href="http://wiki.eprints.org/" target="_blank">http://wiki.eprints.org/</a><br>
                *** EPrints developers Forum: <a moz-do-not-send="true"
                  href="http://forum.eprints.org/" target="_blank">
                  http://forum.eprints.org/</a><o:p></o:p></p>
            </blockquote>
          </div>
          <p class="MsoNormal"><o:p> </o:p></p>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">*** Options: <a class="moz-txt-link-freetext" href="http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech">http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech</a>
*** Archive: <a class="moz-txt-link-freetext" href="http://www.eprints.org/tech.php/">http://www.eprints.org/tech.php/</a>
*** EPrints community wiki: <a class="moz-txt-link-freetext" href="http://wiki.eprints.org/">http://wiki.eprints.org/</a>
*** EPrints developers Forum: <a class="moz-txt-link-freetext" href="http://forum.eprints.org/">http://forum.eprints.org/</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>