Closed XK9274 closed 1 year ago
Took a look at the launch.sh and managed to resolve this with :
#!/bin/sh
echo $0 $*
IP=$(ip route get 1 | awk '{print $NF;exit}')
LD_PRELOAD=/mnt/SDCARD/miyoo/lib/libpadsp.so /mnt/SDCARD/.tmp_update/bin/infoPanel -t "Launching http FileBrowser" -m "http FileBrowser has been launched: $IP" --auto &
pkill -9 wpa_supplicant
pkill -9 udhcpc
pkill -9 ./filebrowser
cd /mnt/SDCARD/App/FileBrowser/
./filebrowser config set --branding.name "Onion"
./filebrowser config set --branding.files "/mnt/SDCARD/App/FileBrowser/theme"
nohup ./filebrowser -a $IP -p 80 -r /mnt/SDCARD -l /mnt/SDCARD/HTTPLOG.txt &
Hello,
Thank you for your feedback. the config file be updated, no need to have the absolute path of the image.
the app should just give you a message that is has been launched and closes, but it keep working in the background.
if you want to launch from terminal (You don't need to) use launch.sh not filebrowser or copy the last command in launch.sh
Forgot about this issue, yeah that was my bad i had problems with my build back then. Your version of filebrowser is great & added in to tweaks now! Closing.
With the standard config.json file contents the app shows as a blank (no image, no text) entry for me on Onion 4.2 beta.
I've renamed the zipfile output to Filebrowser and uploaded, editing the config.json & amending it to:
Resolved this.
However, the app now starts but shortly after exits out. and fails to load the server. Loading filebrowser from the directory gives:
Your IP string appears to work:
And starting your filebrowser from Putty also works and the webpage loads:
ETC: However starting the app on the miyoo with the launch.sh does not. It's probably due to the process being killed when the app does..