11 replies
tomspark wrote:
Good question — there isn't a default one anymore. The old admin/admin login was retired for security, so File Browser now has its own password that's unique to your box. The surest place to grab it is straight from the source — run this one line: sudo cat /opt/sparkbox/state/filebrowser-admin-password.txt Log in with the username and password it prints and you're in. (It's also listed under Settings then Service Passwords on your dashboard, but that command is the can't-fail one.)
jackhammer57 wrote:
I tried sudo cat /opt/sparkbox/state/filebrowser-admin-password.txt But I got no such file or directory
tomspark wrote:
Ah, that just means File Browser hasn't generated its password yet (or it's saved under a different folder if you installed SparkBox somewhere custom). No problem — there's a one-liner that makes a fresh one, applies it, and prints it for you: sudo sparkbox reset-password filebrowser When it finishes it'll show you the username (admin) and the new password to log in with. If it says sb-filebrowser isn't running, tell me and we'll get File Browser started first.
jackhammer57 wrote:
Thanks Tom, That worked. Got an issue with the program bumping me back to the root while browsing folders
tomspark wrote:
Nice, glad that sorted the login! On the folder thing — when it bumps you back to the root, are you opening File Browser at its own address (http://<your-nas-ip:8086), or through something else? Give the direct :8086 address a go if you aren't already; that usually makes folder browsing behave. If it still snaps back to root even opening it directly, tell me exactly what you click and we'll dig into the File Browser settings together.
jackhammer57 wrote:
So when in the filebrowser app, it opens to the data folder, and as I’m clicking through to the subfolders, and I’ve even noticed it happening on the data folder page, the browser seems to be auto refreshing and the screen refreshes back to the data folder page. Hopefully that makes sense. And yes I did open it directly through the NAS ip
tomspark wrote:
Thanks, that's a really useful detail. If the page reloads itself back to the data folder even while you're sitting still on it, that usually means File Browser is restarting underneath you — each restart drops you back to the start. Let's check. Run this and tell me what the STATUS column says: docker ps --filter name=sb-filebrowser If it keeps saying 'Up X seconds' (a low number that resets each time you look) or 'Restarting', that's File Browser crash-looping and we'll fix that. If it says 'Up 20 minutes' or more, it's something else and we'll look at its settings instead.
jackhammer57 wrote:
It’s got a healthy status and has been up for many minutes so it’s something else.
tomspark wrote:
Good — that rules out the app crashing, so it's not that. Your phrase 'the browser seems to be auto refreshing' makes me think something browser-side might be reloading the tab. Quick test that splits it cleanly: open File Browser in a private/incognito window (that turns off any browser extensions) and see if it still jumps back to the data folder. If it behaves itself in incognito, an extension was reloading the tab. If it STILL does it there, it's on the File Browser side and we'll grab the F12 console at the moment it reloads to see why. Either way we'll pin it down.
jackhammer57 wrote:
Tried in private mode and and it’s stable. Not having the auto refresh happening..
tomspark wrote:
That's the answer then, that's great. Since it behaves perfectly in a private window, the page jumping back to the data folder was one of your browser's add-ons reloading the tab, not File Browser or SparkBox. So nothing's wrong on your box at all. Easiest fix is just to use File Browser in a private window when you're moving files around. If you'd rather use your normal window, turn your extensions off one at a time (an ad-blocker or a refresh/tab-saver type is the usual culprit) until it stays put. Either way you're sorted, shout if it ever comes back.