-
-
Notifications
You must be signed in to change notification settings - Fork 53
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
[BUG] Call to undefined method OC\Files\Node\Folder::getContent() #576
Comments
After some investigation I found this error occurred on the file on External storage mounted using sftp. |
hello, |
Yes. it still exists. |
Hi, |
Hello, these are last lines:
|
Hi,
|
The command was this:
There are several thousand of lines before these I've already pasted here. All of them shows found audio files or covers. |
Hi, |
Here is it: Alternative album art: tmp/THE_BIG_PLAYLIST/MP3/cover.jpg SFTP is SFTP mounted external storage. |
ok. and when you navigate to this cover.jpg file and open it. is it working? another try would be to remove it and see if the scanner works then |
Rello, I think Alternative album art lacks of |
There is no file cover.jpg in this directory! |
ah. getting there. in the mount of your external storage, did you enable the updating? or perhaps run an @r4sas |
Yes, it is set with "Once every direct access". I started again: Next I found that command files:cleanup will clean file cache. After start result is: Then started again audioplayer:scan. Result is error in another cover.jpg file. This time there is file, but named Cover.jpg (with capital first letter). File is OK when I open it in Nextcloud. Again performed clean files and scan files but error is the same. |
I am running out of ideas.
The image is technically not there. This is caught by the scanner and the cover is not written to the database. |
Is it possible to add a line to check if file exists before try to open it? |
I am still thinking. If I could reproduce the error, I could try a catch... |
I see error is: |
fyi: I keep on investigating. I have to push the current bugfix release - without this fix - for the upcoming NC25 release... |
Hello, |
When try to scan files this error occurred:
Error: Call to undefined method OC\Files\Node\Folder::getContent() in /var/www/html/nextcloud/apps/audioplayer/lib/Controller/ScannerController.php:783
Steps to reproduce the behavior:
Start from console:
sudo -u www-data php --define apc.enable_cli=1 /var/www/html/nextcloud/occ audioplayer:scan --all -v
From web also does not work, probably for the same error.
The text was updated successfully, but these errors were encountered: