You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a Raspberry Pi 3B that's running an sd card loaded with a Kiwix image that includes this "File Manager" app, but I can't figure out how to upload files to it so other devices on the network can access them, I can't find any instructions anywhere.
Hi @vandergriffchris7-prog, the app linked in the dashboard is the end-user one which is read-only.
To add content to it, you need to append /admin/?p= to the app URL and enter the admin credentials. Credentials are admin / admin-password on the standard images.
Once logged-in, you can upload arbitrary files.
I have no idea what that means, I had to Google how to load the image onto an sd card to make this thing. Do I need to log into it like it's a router I'm changing the settings on?
Okay, I did that, logged in and all, it seems like I'm uploading files, but I can't seem to find a way to make them actually upload and stay there. I made a folder in the app for some PDFs, entered the folder, hit the upload button, dragged my files over, they gave me a progress bar like they were uploading, but then they're just NOT staying there. I don't know if I'm missing a "save" button or something, but moving off of or refreshing the page makes them all disappear. Is there somewhere with clear instructions or a user guide for that particular app?
Thank you @vandergriffchris7-prog for the detail ; I could reproduce the issue with a larger file. There's no short term solution unfortunately.
@kelson42 I identified a side issue: chunks are stored inside the container fs instead of the instructed mounted path (that's because it's lighttpd doing so before passing them to PHP). We could fix that by setting server.upload-dirs in lighttpd.conf.
The broader issue is the lack of feedback. The server app only logs successful chunk uploads.
On the client side, there's no feedback. Successful chunk uploads do update the progressbar but that's it.
Failing chunk upload is visible in the console (NS_BINDING_ABORTED) and that's it. Failure (or this kind at least) is most likely unexpected and not handled.
I would be happy to download a corrected image that actually includes a fully working version of the file manager application. The file manager app was a big draw to the system for my off-grid "network".
@vandergriffchris7-prog We will work on this to solve this issue, but this will take around 7 weeks until we start this effort. Thank you in advance for your patience.
I realize we didn't come back to this issue ; here's the recap:
WiFi on the hotspot is 802.11n on channel 11.
When talking about file transfers, it's very slow (not an issue for browsing or playing videos though).
When used with many nearby networks and generally many WiFi devices, there's a lot of interference (participates to slowness).
Our File Manager app uses tinyfilemanager (not using outdated offline branch but doing similar in Dockerfile)
Multiple reports of probably uploaded? files that are not visible after upload.
UI/UX doesn't work well in our case: Upload UI: a completed upload, an in-progress upload and a pending upload (not started)
hard to tell (especially when you have no experience with the tool) what's going on: is it uploaded, uploading, not uploading? It gets a bit more clear only once a significant part of the file has been uploaded and it looks like a progress bar.
the sole progress indicator is the bar, on large file (and/or slow connection), it seems to be stuck
errors are not always reported:
NS_ERROR_CONNECTION_REFUSED triggers an immediately disapearing toast, thumbnail has an X overlay and hover on the thumbnail shows a red error message.
NS_BINDING_ABORTED does not trigger anything. Stops
when reported, errored uploads doesn't stand out
A reported error
Hover on a reported error
I see three interconnected issues:
Slowness of transfers.
Frequency of issues in transfers (increased by slowness)
Inappropriate User feedback
Speed
We have now implemented two WiFi profiles in the hotspot:
Coverage one which is almost identical to the previous one. There's nothing we can do about it.
Performance one which has a smaller coverage area but is a lot faster and more stable.
Here are actual transfer speeds with both profile, with a single user connected. Duration are extrapolated from tests (35GiB and 8GiB)
Profile
Average actual speed
1GiB duration
100GiB duration
Coverage
816 KiB/s
21 minutes and 25 seconds
1 day, 11 hours and 41 minutes
Perf
9.6 MiB/s
1 minute and 46 seconds
2 hours, 57 minutes and 46 seconds
The sole solution for better speed is: planning those when there are fewer users or, way better, switching to Performance profile.
Large file transfers would likely not happen everyday so a Hotspot needing coverage profile could exceptionally switch to Perf for some transfers and switch back after.
Frequency of issues
On Performance profile, this does not happen because it's a lot more reliable both because of how it works and also because there are less interference.
For those on Coverage profile, we could tweak the upload settings to:
reduce chunk size. It's currently at 2MB. In coverage speed test above some chunks took up to 27s to transfer (72KiB/s)
increase (or disable?) timeout (for chunk). Currently at 2mn.
increase number of retries (for chunk). Currently at 3.
report/investigate upstream to:
add backoff mechanism so retries are more useful
detect/report those cases like NS_BINDING_ABORTING
UI Feedback
Note
tinyfilemanager is using dropzone.js client side with its config (chunks, 2MB, 2mn timeout, 3 retries, single parallel upload) but the UI is the stock UI.
We're using the latest stable version. New version in beta doesn't mention any fix.
There are several UI/UX things we could do, depending on how much effort we want to invest:
disable thumbnails? When uploading, images are represented via a thumbnail of their content. It might help when uploading multiple files but it's also a distraction.
colored replacement icons for error and success overlay. Actual ones are lighter with less opacity➡️
keep success overlay permanently instead of short animation
display amount transfered (initialy in bytes/KB then in percentage?) instead of just the filling bar
If I understood correctly, on Performance profile the issue doesn't happen (or is less likely to happen)?
Would it then make sense just to inform users to change to that profile, if the file size is above a certain size?
We could show, for example, something like: "For large files, switch to the Performance WiFi profile in your hotspot settings for faster, more reliable uploads" in the UI.
Or, based on what you wrote, would it actually be able to switch automatically, temporarily, without user action?
And: If we do that, wouldn't it then mean that we don't necessarily need to do any of the UI/UX improvements or tweaks on the Coverage profile?
If I understood correctly, on Performance profile the issue doesn't happen (or is less likely to happen)?
It doesn't happen under normal conditions.
Would it then make sense just to inform users to change to that profile, if the file size is above a certain size?
It could. Given it's not systematic and more linked to radio environment, I'd show such a suggestion upon failure to upload.
Or, based on what you wrote, would it actually be able to switch automatically, temporarily, without user action?
Not possible.
And: If we do that, wouldn't it then mean that we don't necessarily need to do any of the UI/UX improvements or tweaks on the Coverage profile?
Errors can still happen on Perf profile. Some people won't be able to switch profile. I consider the current UX deceptive in some cases. Those should be done anyway IMO.
First, implement showing the suggestion to switch profile after a failed upload
-> release
-> then monitor user feedback to see how often it still happens after that
-> then decide whether to move on to fixing the UI/UX and reduce chunk size etc.
@kelson42 I identified a side issue: chunks are stored inside the container fs instead of the instructed mounted path (that's because it's lighttpd doing so before passing them to PHP). We could fix that by setting server.upload-dirs in lighttpd.conf.
Modifying server.upload-dirs can be one good solution.
Well, you say that you've solved the issue and implemented a bunch of things, but I'm the paying customer that originally reported this bug, and I've seen zero change. I still don't have a reliable way to upload things to the file manager, and if you all think there's a workaround, it hasn't been explained to me in plain English.
@vandergriffchris7-prog, we are currently releasing a new version. Please send an email to contact@kiwix.org with your purchase confirmation email (so we have the date and the variant you're using). We'll send you a link to download the new image version for you to install.
Activity
rgaudin commentedon Sep 8, 2025
Hi @vandergriffchris7-prog, the app linked in the dashboard is the end-user one which is read-only.
To add content to it, you need to append
/admin/?p=to the app URL and enter the admin credentials. Credentials areadmin/admin-passwordon the standard images.Once logged-in, you can upload arbitrary files.
vandergriffchris7-prog commentedon Sep 9, 2025
I have no idea what that means, I had to Google how to load the image onto an sd card to make this thing. Do I need to log into it like it's a router I'm changing the settings on?
rgaudin commentedon Sep 9, 2025
@vandergriffchris7-prog when you use the File Manager, you're likely connected to http://resources.kiwix.hotspot/
To upload files, you would instead go to http://resources.kiwix.hotspot/admin/?p=
vandergriffchris7-prog commentedon Sep 9, 2025
Okay, I did that, logged in and all, it seems like I'm uploading files, but I can't seem to find a way to make them actually upload and stay there. I made a folder in the app for some PDFs, entered the folder, hit the upload button, dragged my files over, they gave me a progress bar like they were uploading, but then they're just NOT staying there. I don't know if I'm missing a "save" button or something, but moving off of or refreshing the page makes them all disappear. Is there somewhere with clear instructions or a user guide for that particular app?
[-]I'm just trying to figure out how to use the File Manager app[/-][+]Unable to complete upload[/+]rgaudin commentedon Sep 9, 2025
Thank you @vandergriffchris7-prog for the detail ; I could reproduce the issue with a larger file. There's no short term solution unfortunately.
@kelson42 I identified a side issue: chunks are stored inside the container fs instead of the instructed mounted path (that's because it's lighttpd doing so before passing them to PHP). We could fix that by setting
server.upload-dirsinlighttpd.conf.The broader issue is the lack of feedback. The server app only logs successful chunk uploads.
On the client side, there's no feedback. Successful chunk uploads do update the progressbar but that's it.
Failing chunk upload is visible in the console (
NS_BINDING_ABORTED) and that's it. Failure (or this kind at least) is most likely unexpected and not handled.8 remaining items
vandergriffchris7-prog commentedon Sep 19, 2025
I would be happy to download a corrected image that actually includes a fully working version of the file manager application. The file manager app was a big draw to the system for my off-grid "network".
kelson42 commentedon Sep 21, 2025
@vandergriffchris7-prog We will work on this to solve this issue, but this will take around 7 weeks until we start this effort. Thank you in advance for your patience.
rgaudin commentedon Nov 26, 2025
I realize we didn't come back to this issue ; here's the recap:
offlinebranch but doing similar in Dockerfile)NS_ERROR_CONNECTION_REFUSEDtriggers an immediately disapearing toast, thumbnail has an X overlay and hover on the thumbnail shows a red error message.NS_BINDING_ABORTEDdoes not trigger anything. StopsI see three interconnected issues:
Speed
We have now implemented two WiFi profiles in the hotspot:
Here are actual transfer speeds with both profile, with a single user connected. Duration are extrapolated from tests (35GiB and 8GiB)
The sole solution for better speed is: planning those when there are fewer users or, way better, switching to Performance profile.
Large file transfers would likely not happen everyday so a Hotspot needing coverage profile could exceptionally switch to Perf for some transfers and switch back after.
Frequency of issues
On Performance profile, this does not happen because it's a lot more reliable both because of how it works and also because there are less interference.
For those on Coverage profile, we could tweak the upload settings to:
NS_BINDING_ABORTINGUI Feedback
Note
tinyfilemanager is using dropzone.js client side with its config (chunks, 2MB, 2mn timeout, 3 retries, single parallel upload) but the UI is the stock UI.
We're using the latest stable version. New version in beta doesn't mention any fix.
There are several UI/UX things we could do, depending on how much effort we want to invest:
@kelson42 @anupulu @siemsie please advise.
anupulu commentedon Nov 27, 2025
@rgaudin
Thank you for writing it all down.
If I understood correctly, on Performance profile the issue doesn't happen (or is less likely to happen)?
Would it then make sense just to inform users to change to that profile, if the file size is above a certain size?
We could show, for example, something like: "For large files, switch to the Performance WiFi profile in your hotspot settings for faster, more reliable uploads" in the UI.
Or, based on what you wrote, would it actually be able to switch automatically, temporarily, without user action?
And: If we do that, wouldn't it then mean that we don't necessarily need to do any of the UI/UX improvements or tweaks on the Coverage profile?
rgaudin commentedon Nov 27, 2025
It doesn't happen under normal conditions.
It could. Given it's not systematic and more linked to radio environment, I'd show such a suggestion upon failure to upload.
Not possible.
Errors can still happen on Perf profile. Some people won't be able to switch profile. I consider the current UX deceptive in some cases. Those should be done anyway IMO.
anupulu commentedon Nov 27, 2025
Ok. In that case maybe it could be done in steps?
First, implement showing the suggestion to switch profile after a failed upload
-> release
-> then monitor user feedback to see how often it still happens after that
-> then decide whether to move on to fixing the UI/UX and reduce chunk size etc.
Updated success and error upload icons
rgaudin commentedon Nov 29, 2025
FYI, as I was refreshing base images, I've added a couple of those changes:
kelson42 commentedon Nov 30, 2025
After discussing the matter with @rgaudin, I woukd recommend to:
#64 should be treated at a later time.
gstrauss commentedon Dec 8, 2025
Modifying
server.upload-dirscan be one good solution.If disk space is an issue for uploading large files, then see also
lighttpd.confoptionsserver.stream-request-body
server.stream-response-body
kelson42 commentedon Dec 9, 2025
@rgaudin Any reason we keep this issue open, considering we have implemented a bunch of things to fix this issue already?
vandergriffchris7-prog commentedon Dec 9, 2025
Well, you say that you've solved the issue and implemented a bunch of things, but I'm the paying customer that originally reported this bug, and I've seen zero change. I still don't have a reliable way to upload things to the file manager, and if you all think there's a workaround, it hasn't been explained to me in plain English.
rgaudin commentedon Dec 9, 2025
@vandergriffchris7-prog, we are currently releasing a new version. Please send an email to contact@kiwix.org with your purchase confirmation email (so we have the date and the variant you're using). We'll send you a link to download the new image version for you to install.