Uploaded image for project: 'MusicBrainz Server'
  1. MusicBrainz Server
  2. MBS-6163

Following INSTALL does not result in a runnable server

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2013-09-16
    • Component/s: Database setup
    • Labels:
      None

      Description

      I followed the instructions in INSTALL in Ubuntu 12.04. carton does not give any errors, but when I try to run the server I get

      nikki@ubuntu:~/musicbrainz-server$ carton exec – plackup -Ilib -r
      Watching ./lib app.psgi for file updates.
      Error while loading /home/nikki/musicbrainz-server/app.psgi: Can't locate Plack/Middleware/Debug/Base.pm in @INC (@INC contains: lib local/lib/perl5/i686-linux-gnu-thread-multi-64int local/lib/perl5 . /usr/share/perl/5.14 /usr/lib/perl/5.14) at /usr/share/perl/5.14/parent.pm line 20.
      BEGIN failed--compilation aborted at lib/Plack/Middleware/Debug/DAOLogger.pm line 2.
      Compilation failed in require at /home/nikki/musicbrainz-server/app.psgi line 8.
      BEGIN failed--compilation aborted at /home/nikki/musicbrainz-server/app.psgi line 8.

      This has been happening to a bunch of people, e.g. http://www.google.de/search?q=%22Can%27t+locate+Plack%2FMiddleware%2FDebug%2FBase.pm%22+site%3Achatlogs.musicbrainz.org and carton install Plack::Middleware::Debug::Base does nothing.

      The solution for that seems to be to use https://github.com/warpr/musicbrainz-server/raw/cpanfile/cpanfile in which case, why don't we just use that cpanfile in the first place?

      But then, after that, I get

      nikki@ubuntu:~/musicbrainz-server$ carton exec – plackup -Ilib -r
      Watching ./lib app.psgi for file updates.
      Error while loading /home/nikki/musicbrainz-server/app.psgi: Can't locate Math/Random/Secure.pm in @INC (@INC contains: lib local/lib/perl5/i686-linux-gnu-thread-multi-64int local/lib/perl5 . /usr/share/perl/5.14 /usr/lib/perl/5.14) at lib/MusicBrainz/Server/Data/Utils.pm line 11.
      BEGIN failed--compilation aborted at lib/MusicBrainz/Server/Data/Utils.pm line 11.
      Compilation failed in require at lib/MusicBrainz/Server/Controller/JS.pm line 3.
      BEGIN failed--compilation aborted at lib/MusicBrainz/Server/Controller/JS.pm line 3.
      Compilation failed in require at local/lib/perl5/Catalyst/Utils.pm line 306.
      Compilation failed in require at /home/nikki/musicbrainz-server/app.psgi line 21.
      BEGIN failed--compilation aborted at /home/nikki/musicbrainz-server/app.psgi line 21.

      which was also reported in http://forums.musicbrainz.org/viewtopic.php?id=4168 but unlike that thread, carton install Math::Random::Secure doesn't help.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                acid2 Oliver Charles
                Reporter:
                nikki nikki
              • Votes:
                2 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Due:
                  Created:
                  Updated:
                  Resolved:

                  Packages

                  Version Package
                  2013-09-16