-
-
Notifications
You must be signed in to change notification settings - Fork 54
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
occ audioplayer:scan unknown_user #93
Comments
a check for an existing user is missing |
Test after occ audioplayer:scan unknown_user and validate if user actually exists #93I manually included the patch and tested the occ audioplayer:scan
It seemes the error has not disappeared. Then I tried to delete the wrong user
Again I tried to delete the non-existent user
The default directories and the default files for the non-existent user klaus are in Nextcloud Data-directory. Second test: really unknown user
Validation if user actually exists #93 was successful. Conclusion: This new error looks like not distinguishing between Klaus and klaus and klauS.I think its an server problem, not an audioplayer problem. |
Because user klaus did not exist, Klaus was deleted. That's a bug in server, imo. "Login names may contain letters (a-z, A-Z), numbers (0-9), dashes (-), underscores (), periods (.) and at signs (@)."_ (Source) – No info about case sensitivity. |
Issue for "userExists($user) not case sensitive" |
background: |
fix: catch special characters in album #87 fix: occ catch unknown user #93 fix: correct album sort order to case-insensitive fix: first search result row is partially hidden under the top menu #74 enhancement: Ukrainian translation #94 enhancement: folders as additional filter category #98 enhancement: search for cover in album folder #24 enhancement: Opus support #92
root@ncserver:~# sudo -u www-data php /var/www/nextcloud/occ audioplayer:scan klaus
Wrong user-name klaus --> Klaus
Expected behavior
telling: unknown user,
Actual behavior
audioplayer tries to find the music and installed in nextcloud/data the default directories and the default files for the wrong user klaus
Possible solution (optional)
first check if known user
Server configuration
Operating system:
Ubuntu 16.04.1 LTS (GNU/Linux 4.4.0-1029-raspi2 armv7l)
Web server:
nginx_1.11.5-1~xenial_armhf
Database:
mariadb
PHP version:
php7.0
ownCloud/Nextcloud version: (see
/status.php
)nextcloud 10.0.1
Updated from an older ownCloud/Nextcloud or fresh install:
fresh install
Where did you install Audio Player from:
audioplayer-1.3.0.tar.gz with wget
Are you using external storage, if yes which one:
local/smb/sftp/...
yes local , system mounted CIFS filesystem
Are you using encryption: yes/no
no
Client configuration
Operating system:
Kubuntu 16.4 LTS
Browser:
Firefox 50.0
The text was updated successfully, but these errors were encountered: