Comments (4)
from cherrymusic.
Thanks for the help, but sorry, I'm not sure how to "verify using ps". How would I do that when the cherrymusic program won't start?
In the init.d script, which I found referenced on the wiki here, I do see:
start-stop-daemon --start --background --chdir $DIR --chuid $USER:$GROUP --make-pidfile --pidfile $PIDFILE --quiet --exec $PYTHON $DAEMON --test > /dev/null || return 1
start-stop-daemon --start --background --chdir $DIR --chuid $USER:$GROUP --make-pidfile --pidfile $PIDFILE --quiet --exec $PYTHON $DAEMON -- $DAEMON_ARGS || return 2
The --chuid $USER:$GROUP part is what made me think it should be running as the Pi $User, but I'm not really clear on how Bash works.
The man page for start-stop-daemon says;
-c, --chuid username|uid[:group|gid] Change to this username/uid before starting the process. You can also specify a group by appending a :, then the group or gid in the same way as you would for the chown(1) command (user:group).
Does that help?
Thanks again. I have used CM for quite a long time now and I'd hate to not get it working now on this new Pi.
from cherrymusic.
Thanks for the help, but sorry, I'm not sure how to "verify using ps". How would I do that when the cherrymusic program won't start?
You could point CMs basedir to a world readable folder to make it start to check, just to narrow down the problem
from cherrymusic.
Thanks for your help, I mean that, but it's still not working. Today I tried going back to the cron job, using the systemd service you have in the Setup Guide in the wiki and again making the init.d idea work. They all fail and I can't tell why and I'm just done.
I am using the screen approach for now, even though that won't survive a reboot and it's fine. I'll come back to this again someday.
I'll close this issue.
from cherrymusic.
Related Issues (20)
- Ignore specific music files when indexing HOT 3
- feature request: sort by date
- Can't open file browser, "failed to load file browser"
- French translation
- Cherrymusic behing nginx with uwsgi HOT 1
- No Local Access If Internet Is down
- cherrypy gets wedged when you try to gracefully shut down
- Download button next to each album
- Error on run - invalid literal for int() with base 10: '' HOT 1
- unicode problem when download a playlist
- http 400 failed to load file browser HOT 2
- generate stream url? HOT 1
- Not rebinding to localhost on initial setup
- Site is down HOT 2
- Question > Status of the project HOT 1
- feature request: remote control HOT 2
- I created docker container which runs on raspberry pi 2B HOT 1
- Patch to make it work with Python 3.10 HOT 1
- Project home page URL no longer accessible HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cherrymusic.