Giter Site home page Giter Site logo

Comments (10)

tkem avatar tkem commented on September 25, 2024
INFO Enabled extensions: mopify, spotify, mpd, http, stream, spotmop, m3u, softwaremixer, file, local-images, local

Looks like mopidy, when running as a service, cannot find the local-sqlite extension, though it can find, for example, local-images. So, how did you install mopidy-local-sqlite?

from mopidy-local-sqlite.

jpgaroto avatar jpgaroto commented on September 25, 2024

I installed it just like the documentation says (pip install Mopidy-Local-SQLite). It was my first use of pip so I don't know any other way to install it. As I said, it worked fine running Mopidy with my user but not as a service.
If I need to install it in a different way please tell me how and I'll try.

thanks a lot.

from mopidy-local-sqlite.

jpgaroto avatar jpgaroto commented on September 25, 2024

No other idea? Any help please?

from mopidy-local-sqlite.

tkem avatar tkem commented on September 25, 2024

sudo pip install mopidy-local-sqlite should work.
Another option on Debian/Ubuntu would be installing from apt.mopidy.com: https://docs.mopidy.com/en/latest/installation/debian/

from mopidy-local-sqlite.

tkem avatar tkem commented on September 25, 2024

However, since this doesn't seem to be an issue with mopidy-local-sqlite specifically, but more some kind of general installation question, I'd suggest posting this on https://discuss.mopidy.com if the problem persists.

from mopidy-local-sqlite.

tkem avatar tkem commented on September 25, 2024

Is this still an issue?

from mopidy-local-sqlite.

tkem avatar tkem commented on September 25, 2024

Closing due to inactivity.

from mopidy-local-sqlite.

marrobHD avatar marrobHD commented on September 25, 2024

I had the same issue. I had to run the mopidy as pi user not root

from mopidy-local-sqlite.

kingosticks avatar kingosticks commented on September 25, 2024

Does the same solution work?

sudo pip install mopidy-local-sqlite should work.
Another option on Debian/Ubuntu would be installing from apt.mopidy.com: https://docs.mopidy.com/en/latest/installation/debian/

from mopidy-local-sqlite.

kingosticks avatar kingosticks commented on September 25, 2024

Just to be clear for anyone else that lands here.

I had the same issue. I had to run the mopidy as pi user not root

We suggest and provide documentation for running Mopidy as:

  • your normal user. For example, pi when using Raspbian.
  • Or as a service.

There is no requirement to run Mopidy as the root user and in general you should avoid running things as root where possible.

When you run Mopidy as a service you must be sure to install anything from PyPI in such a way that the service user (mopidy) can find it. Just as @tkem said, normally that's the case of using sudo pip install <SOME PACKAGE>. Or alternatively, installing the package(s) using your package manager i.e. sudo apt install <SOME PACKAGE>.

from mopidy-local-sqlite.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.