What type of hardware are you using: Old laptop or computer What YunoHost version are you running: 12.0.11 What app is this about: Rclone
Describe your issue
Hello! I have installed rclone and gave it an admin password during the install as asked. When trying to actually access it through my user interface, a basic http auth pops up. It’s not an actual log in page, it’s a browser pop up asking for authentication. In the rclone service config I see it says the username and password should be my admin username and the admin password given during the rclone install, but it doesn’t work. Nothing I can think of or have tried works and I continue to get 401 errors. I’ve tried:
“admin”/rclone admin password
admin username/rclone admin password
admin username/admin user password
admin email/both passwords
just the rclone admin password without a username
I’ve tried to poke through the nginx config to see if I can find where this http auth is defined, but I haven’t been able to. I’ve attached the logs from the install of rclone.
Hiya! Sorry to bump, I couldn’t find if that wasn’t allowed, but didn’t see anything so I’m hoping this is alright.
I’m still looking for help with this issue, unsure why the admin username and password aren’t working for the HTTP auth popup that appears when trying to use rclone, or even why that basic auth popup is even appearing, from what I can find no other yunohost apps use that since it’s all done through the SSO
Did you try to reinstall it? I don’t get this kind of login pop-up. Note that I have installed it on /rclone of the main domain and set “how can access the app” to “admins” (should have been the default behaviour)
Doing an install on a new server, the install defaults to Visitors, I set it to Admins only, and the new install of rclone asks for the basic auth before visiting the app as well. Same behavior
Is your install a different version than what’s currently the default? Right now it says installed version for rclone is 1.69.0~ynh1
I have tried installing on another server, I get the same login.
Do you have any custom modifications to your server? Does your diagnosis show any error? Can you check nginx logs (webadmin >tools >services >nginx)? The state of the rclone service (webadmin >tools >services >rclone)?
Diagnosis shows some issues with email, but everything else is green. Nothing custom for the server, this one is a fresh install with rclone as the only app.
I can’t find any auth_basic lines in the nginx config. Nginx logs show the 401 error appearing when I try to access it and the auth fails. Logs here: hastebin
After poking around at rclone’s repo and the web gui repo within it, I think this is a problem with rclone itself and how it sets up the web server for the gui. Changing the service to run with --rc-no-auth and remove the --rc-user and --rc-pass options removes the basic auth pop up, and shows the rclone web gui login which accepts the admin username and rclone password which was set during app install.
Perhaps this is a work around that could be changed in rclone-ynh? Since it still requires log in with the web ui it’s still secured, just not with that odd basic auth pop up. I could try to test making this change and submit a PR to the testing branch.
I’m still confused why jarod’s server doesn’t ask for it