Comments (8)
I relly can't reproduce the pbm ...
maybe there is a special setting ? or maybe the scanner is stuck on 1 file ? then it would be interesting to test with this file
from apps.
Are there any settings for the media app? If so, I didn't find them yet ;)
Yes, maybe the scanner did get stuck on one file, but if so, I currently have no means to find out - there's nothing in the log file... I have set the log level to debug, so I guess there is no scanning progress output to the log currently even in debug mode? Anybody having an idea where to start instrumenting the code to get such feedback? I'd be willing to do this, and I feel confident I have enough php knowledge to do so, a starting hint would be nice though ;)
from apps.
@RandolfCarter please ping me back if this issue is still reproducible.
from apps.
Just trying it on 4.5.8 - now the scan doesn't even seem to start properly; the progress indicator doesn't show any progress, even after half an hour, and pressing the "Pause" button has no effect (I would expect it to change to "Resume" or something, but really nothing happens).
Not sure about the server activity - there sometimes are smaller apache2&mysql CPU spikes, but not continously...
There is one possibly related error message in the apache error log:
[Fri Mar 29 20:30:37 2013] [error] [client a.b.c.d] request failed: error reading the headers
Edit: The error message doesn't seem to be related, at least it didn't show up on a second try.
Edit 2: In the second try now something seems to be happening (although I pressed the Pause button multiple times already), there is some progress (about 1px of it ;)). Also seeing high mysqld activity. Will report later how it continues.
from apps.
@RandolfCarter are there any js errors in browser console?
from apps.
@VicDeo didn't check that yet, did so now; yes there is an error, when I press the "Pause" button, it shows
TypeError: Scanner.toggle is not a function @ https://myowncloud/owncloud/apps/media/js/collection.js:364
Have now also seen two different ones when starting the rescan:
The connection to https://myowncloud/owncloud/?app=media&getfile=ajax/api.php&action=scan&requesttoken=d295ad493ca796ff1a63 was interrupted while the page was loading. @ https://myowncloud/owncloud/remote.php/core.js:319
Firefox can't establish a connection to the server at https://myowncloud/owncloud/?app=media&getfile=ajax/api.php&action=scan&requesttoken=c306b1e2b52f8883cf50. @ https://myowncloud/owncloud/remote.php/core.js:319
And something is happening now, the progress bar is advancing, and the mysqld load is high. Will wait now and see how far it gets, keeping the JS console open.
from apps.
After 10 hours the rescanning is still not finished, and the progress indicator doesn't seem to have advanced in comparison to where it was after approximately 4 hours; there is no more continuous mysql load as it was before (basically there's no load at the moment).
What I noticed was that at some point, requests like this started to happening every ~5 seconds:
GET https://myowncloud/owncloud/?app=media&getfile=ajax/api.php&action=scan&requesttoken=56599defd6ab6183dd1e [HTTP/1.1 200 OK 36ms]
There are no errors from ownCloud in apache error log; there are a few errors in the ownCloud log from the rescan like this:
Warning media error reading album tag in 'mediafile.mp3'
but the last one is from approx. 2 hours after rescan start...
So it seems the issue is still appearing exactly as described, and furthermore the Pause doesn't work anymore :(
WIll check on OC5/master as well.
Any other info I can provide to help resolve this?
from apps.
@VicDeo Just tested on OC5. The scanning is MUCH faster there (only takes about 10 minutes, and also finishes) - but it doesn't seem to find all my music... at least there's a huge difference between what OC5 shows and what OC4.5 shows (OC4.5 shows approx. 8 times more artists than OC5...).
The Music files are exactly the same, and linked into owncloud exactly the same way (via a local custom mount).
On a quick glance I didn't find any errors in the apache error log or owncloud log; and only one thing in the javascript console - the Pause button doesn't work the same way as in OC4.5, and the JS error is:
TypeError: Scanner.toggle is not a function @ https://myowncloud/owncloud5/apps/media/js/collection.js:364
Should I report a new issue for the problem that OC5 music app doesn't find all music?
from apps.
Related Issues (20)
- External storage, google drive broken *update* Readme if not connecting. HOT 2
- Segate Personal Storage Cloud (arm7) update fault HOT 1
- the OS X calendar caldav connection to owncloud 9.1.1 is broken. HOT 1
- Move bundled apps to separate repo HOT 1
- Delete files_videoviewer since files_videoplayer is not bundled? HOT 3
- Login failed despite correct credentials HOT 6
- Access class methods of other apps HOT 2
- Bad UX creating a tag in the admin/additonal menu HOT 1
- External Sites public, viewable on shared folders HOT 2
- Stop using private OC_Group class
- user_external with imap: too many connections to the server HOT 7
- calendar app Certificate has been revoked HOT 1
- saml HOT 1
- Zyxel Owncloud deletes files after uninstalling !!! HOT 2
- [user_external] imap: username and [email protected] are treated as different users HOT 2
- owncloud folder erased if you run device maintenance HOT 1
- [external]: using custom icons makes ownCloud not available after upgrading to 10.0.3 HOT 7
- user_external: disabling logins with '@' does not work any more
- Move user_external and external to separate repos HOT 8
- Stop using $CLASSPATH
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from apps.