
dietpi-bugreport ID b2da1b9d-e0b7-48f8-8109-4f87ef663fdeShould show Aria2 web UI
 it shows apache directory listing
@sureshachary
Thanks for your report.
It looks like the Gihub repo folder structure was changed: https://github.com/ziahamza/webui-aria2/commit/54c56d57ae0e175530d98530d8bc830c57208127
The actual WebUI is now within the docs/ directory.
Could you try to open 10.0.0.2/aria2/docs in the browser instead?
So we need to download/install this subdir only then. Need to check if the files in patent dir are still needed or just for own build, docker and NodeJS exec.
Thank you, yes the folder structure has changed. http://10.0.0.2/aria2/docs is working.
@sureshachary
Great to hear. I reopened to not forget fixing this. We try to apply/setup the WebUI the way, that you can access again via <IP/domain>/aria2.
Perhaps install size can be reduced by downloading the docs sub directory only and leave out the others.
Also at least we can think about using the additional methods, e.g. allow users to decide whether they want to use it via usual webserver or via NodeJS. The latter could be beneficial is either you have no other use for the webserver or you already have other software that require NodeJS.
Okay
Symlink not compatible:
ln -sf /var/www/aria2/docs/index.html /var/www/aria2/index.html

This appears to work 🈯️
mv /var/www/aria2/docs/* /var/www/aria2/
However, if they have any matching file names added in the future, will break installation.
Therefore, for now and to prevent potential future issues with moving files, i'll simply update the online doc to reflect the new URL.
🈯️ https://dietpi.com/phpbb/viewtopic.php?f=8&t=5&p=6177#p6177
Completed.
Delete parent dir and move docs over
mv /var/www/aria2/docs /tmp/
rm -R /var/www/aria2/*
mv /tmp/docs/* /var/www/aria2/
rm -R /tmp/docs
Parent dir not required?
Interesting, this works 🈯️
But if they make changes in the future, that relies on the parent dir, this could break our installation. I'll leave this as is, with the updated online doc link.
Most helpful comment
@sureshachary
Thanks for your report.
It looks like the Gihub repo folder structure was changed: https://github.com/ziahamza/webui-aria2/commit/54c56d57ae0e175530d98530d8bc830c57208127
The actual WebUI is now within the docs/ directory.
Could you try to open
10.0.0.2/aria2/docsin the browser instead?So we need to download/install this subdir only then. Need to check if the files in patent dir are still needed or just for own build, docker and NodeJS exec.