RetroPie-Manager web app (Recalbox-Manager fork/mod)
-
Sure, you can do whatever you want :)
I'm playing around with django now because I'd like to understand what's under the hood. It's possible in the future I'll release a new version (with another repo of course) not forked from Recalbox Manager and completely written from scratch.I'd like to extend it's functions so we will be able to manage rom subfolders (1 level i think) and play around some more with roms and files.
Any request from you?
-
Hey guys,
Love the web interface, install worked perfectly. Only problem I am having is with autostart. I followed the instructions to start on boot, and its not working. I added this line to autostart.sh:
/home/pi/RetroPie-Manager/rpmanager.sh --start --user pi 2>&1 &
emulationstation #autoWeb manager doesn't start at boot. I know the path to is correct, and I also tried removing the "2>&1 &", and still doesn't work. Any ideas? :-/
RetroPie 4.0 RC1
Pi3
Logitech F310 -
@simbz23
I'm not used to use the autostart feature., but I would like to help you with it.Can you change the line on your
autostart.sh
to this?:/home/pi/RetroPie-Manager/rpmanager.sh --start --user pi 2>&1 > /tmp/rpmanager.log
And then paste the
/tmp/rpmanager.log
here. -
@herb_fargus
Did you give up that RetroPie scriptmodule for RetroPie-Manager installation?
If yes, would you mind if I try to finish it? -
Thanks for the reply @meleu !
Ran the command like you asked, and the log file was created after a reboot of the pi3, but has nothing inside of it? :-/
-
@meleu this is as far as I got with it:
But yeah feel free, I am starting a new job and finishing moving so I don't know if I'll have the time.
-
@simbz23
Some questions to let me try to understand what can be the problem:If you use the same command direct in the command line, does it work?
Where exactly is your
autostart.sh
(what directory)?Is there some other command on your
autostart.sh
? Do they work? -
@meleu said in RetroPie-Manager web app (Recalbox-Manager fork/mod):
@simbz23
Some questions to let me try to understand what can be the problem:If you use the same command direct in the command line, does it work?
Where exactly is your
autostart.sh
(what directory)?Is there some other command on your
autostart.sh
? Do they work?- By direct in the command line, I'm assuming you mean put my original command in a terminal prompt? Here is what I did at a terminal prompt:
/home/pi/RetroPie-Manager/rpmanager.sh --start --user pi 2>&1 &
And I got this response:
Error: only privileged users (ex.: root) can use --user option.
- My autostart.sh is in /opt/retropie/configs/all, as per the instructions
- No other commands are in there. As my original post shows, and per the instructions, the RetroPie Manager command should come before the emulationstation #auto command. They both don't have be on the same lines I'm assuming?
-
@simbz23 said in RetroPie-Manager web app (Recalbox-Manager fork/mod):
(...) And I got this response:
Error: only privileged users (ex.: root) can use --user option.Well, if you are logged as the user
pi
, there is no need to use the--user
option. At least it lets you launch retropie-manager from the command line. ;-)- My autostart.sh is in /opt/retropie/configs/all/emulationstation, as per the instructions
I think it sould be at
/opt/retropie/configs/all/
, and NOT inside theemulationstation
subdirectory.Also, try to put a
sudo
before thatrpmanager
command in theautostart.sh
to see what happens... -
@meleu said in RetroPie-Manager web app (Recalbox-Manager fork/mod):
@simbz23 said in RetroPie-Manager web app (Recalbox-Manager fork/mod):
(...) And I got this response:
Error: only privileged users (ex.: root) can use --user option.Well, if you are logged as the user
pi
, there is no need to use the--user
option. At least it lets you launch retropie-manager from the command line. ;-)- My autostart.sh is in /opt/retropie/configs/all/emulationstation, as per the instructions
I think it sould be at
/opt/retropie/configs/all/
, and NOT inside theemulationstation
subdirectory.Also, try to put a
sudo
before thatrpmanager
command in theautostart.sh
to see what happens...My bad, @meleu I accidentally added emulationstation in my previous post. The file was already in the right location though.
Good news is, your suggestion of adding sudo before the command worked! Thank you for your help, I really appreciate it!
Perhaps whoever is in charge of the install instructions on the RetroPie-Manager github should add "sudo" to the command?
-
@simbz23 adding sudo to the script is bad practise. The sudo issue should be addressed in the code or file permissions
-
@herb_fargus said in RetroPie-Manager web app (Recalbox-Manager fork/mod):
@simbz23 adding sudo to the script is bad practise. The sudo issue should be addressed in the code or file permissions
Agreed. My skills with unix is spotty, do you suggest to "chown" the file, or the folder it's in?
-
@simbz23 yeah you can chown the folder it's installed in. I automated it through my module script (https://github.com/HerbFargus/RetroPie-Setup/blob/742d55a313ff6184dba23c207a3db5827a873fef/scriptmodules/supplementary/retropie-manager.sh#L50), I used the same method xboxdrv uses for starting on boot with rc.local rather than through the autostart function. Multiple ways to do it.
-
I'll try to adapt rpmanager to deal with it and adapt the module that herb made to use rpmanager.
-
I'm not sure what user id runs the
autostart.sh
.
@simbz23 can you please put the following line in yourautostart.sh
?id > /tmp/autostart-id.log
And then paste here the content of the
/tmp/autostart-id.log
? -
@meleu said in RetroPie-Manager web app (Recalbox-Manager fork/mod):
id > /tmp/autostart-id.log
@meleu you got it, more than happy to help. Here is the output of autostart-id.log:
uid=1000(pi) gid=1000(pi) groups=1000(pi),4(adm),20(dialout),24(cdrom),27(sudo),29(audio),44(video),46(plugdev),60(games),100(users),101(input),108(netdev),997(gpio),998(i2c),999(spi)
-
@simbz23
Oh! It's the pi user! :D
No need to usesudo
nor--user
. Change your line to this:/home/pi/RetroPie-Manager/rpmanager.sh --start 2>&1 &
And you can delete the
id
line.Updating the README. Thanks for the feedback!
-
@meleu That worked as well! Thanks to you and @herb_fargus for the help, much appreciated! I'm glad I could help out in anyway I can. Its the least I can do for this awesome community!
-
What is the current status of this project? Would love to see it added to the experimental packages. Amazing how many talented people get drawn to Retropie.
-
This is awesome. Cant wait to get home and try it out! Thanks for sharing...I had no idea.
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.