Skip to content
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

Error PHP fseek(): stream does not support seeking at #14617

Closed
claymca opened this issue Mar 10, 2019 · 9 comments
Closed

Error PHP fseek(): stream does not support seeking at #14617

claymca opened this issue Mar 10, 2019 · 9 comments
Labels
0. Needs triage Pending check for reproducibility or if it fits our roadmap

Comments

@claymca
Copy link

claymca commented Mar 10, 2019

When attempting view a video file I get the following error: " The video could not be loaded, either because the server or network failed or because the format is not supported."

And the following is reported in the logs: “Error PHP fseek(): stream does not support seeking at /var/www/nextcloud/apps/files_external/3rdparty/icewind/streams/src/Wrapper.php#82”

So to make sure the video can be played over the network I access the file from my Plex instance and the mp4 plays without error. I have googled and googled and no real solution has been posted. Is there anybody that has had the same error and have found a solution?

@Faldon
Copy link
Contributor

Faldon commented Mar 15, 2019

Does your video file reside on external storage mounted in Nextcloud? More specifically, resides it on external storage mounted as smb share in Nextcloud?

@HelloLemon1992
Copy link

I have the same problem. I find the logs, always happened by request a get method to remote.php/webdav/xxx.mp3. The files are storaged in S3.

@claymca
Copy link
Author

claymca commented Mar 22, 2019

Does your video file reside on external storage mounted in Nextcloud? More specifically, resides it on external storage mounted as smb share in Nextcloud?

The video resides on storage mounted as smb.
I installed another VM and installed Owncloud and the video plays fine in owncloud. I am getting some stuttering but I need to tune owncloud.

@Faldon
Copy link
Contributor

Faldon commented Mar 25, 2019

I'm not sure about S3, but SMB mounts definitely do not support fseek or rewind. I didn't have a look into the code responsible for playing videos yet, but obviously it seems to use this method there. Maybe trying to extract metadata.
But just start to stream/play a movie file should work though.

@Faldon Faldon added the 0. Needs triage Pending check for reproducibility or if it fits our roadmap label Mar 25, 2019
@claymca
Copy link
Author

claymca commented Mar 29, 2019

Quite a few videos will not even start to stream/play.

The stream quits with the error: "The video could not be loaded, either because the server or network failed or because the format is not supported."

@stale
Copy link

stale bot commented Jun 5, 2019

This issue has been automatically marked as stale because it has not had recent activity and it seems to be missing some essential informations. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale Ticket or PR with no recent activity label Jun 5, 2019
@skjnldsv skjnldsv removed stale Ticket or PR with no recent activity labels Jun 12, 2019
@msumm
Copy link

msumm commented Aug 21, 2019

I observe the same log entries every time I access a txt/md-file using the new Text App where the file is located on an external WebDAV storage.
Anyhow, there is no restriction in functionality - I can view and edit the files.

@jkroepke
Copy link

Yeah, because instead a seek, nextcloud will download the whole file first. It might be works with images oder textfiles but it wont work with large videos with the in browser video player.

@juliusknorr
Copy link
Member

Should be fixed since #20033 for S3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0. Needs triage Pending check for reproducibility or if it fits our roadmap
Projects
None yet
Development

No branches or pull requests

7 participants