Skip to content

Conversation

jpsn123
Copy link

@jpsn123 jpsn123 commented Jan 31, 2024

Summary

For some reason, I need to run nextcloud as root, and in this case ffmpeg will block the process when it generates preview.

refencese:

https://www.php.net/manual/en/function.proc-open.php#97012
https://www.php.net/manual/en/function.stream-get-contents.php#106905

@jpsn123 jpsn123 changed the title bug fix, in some case stream reading functions may block indefinitely moive preview bug fix, in some case stream reading functions may block indefinitely Jan 31, 2024
@joshtrichards joshtrichards changed the title moive preview bug fix, in some case stream reading functions may block indefinitely moveie preview bug fix, in some case stream reading functions may block indefinitely Jan 31, 2024
@joshtrichards joshtrichards changed the title moveie preview bug fix, in some case stream reading functions may block indefinitely movie preview bug fix, in some case stream reading functions may block indefinitely Jan 31, 2024
@skjnldsv skjnldsv added the 2. developing Work in progress label Feb 21, 2024
@susnux susnux added this to the Nextcloud 30 milestone Apr 18, 2024
This was referenced Jul 30, 2024
This was referenced Aug 5, 2024
@skjnldsv skjnldsv mentioned this pull request Aug 13, 2024
@skjnldsv skjnldsv modified the milestones: Nextcloud 30, Nextcloud 31 Aug 14, 2024
@blizzz blizzz mentioned this pull request Jan 8, 2025
This was referenced Jan 14, 2025
This was referenced Jan 21, 2025
@blizzz blizzz mentioned this pull request Jan 29, 2025
1 task
@blizzz blizzz modified the milestones: Nextcloud 31, Nextcloud 32 Jan 29, 2025
Copy link
Member

@blizzz blizzz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

From the documentation:

In non-blocking mode an fgets() call will always return right away while in blocking mode it will wait for data to become available on the stream.

Could be more exhaustive. Is it possible that we only receive incomplete data with this setting?

@jpsn123 jpsn123 requested a review from a team as a code owner May 21, 2025 07:18
@jpsn123 jpsn123 requested review from Altahrim, artonge and leftybournes and removed request for a team May 21, 2025 07:18
@blizzz
Copy link
Member

blizzz commented Jun 10, 2025

@jpsn123 thanks for the adaptions! Would you mind rebasing one more time?

@jpsn123 jpsn123 reopened this Jun 16, 2025
@jpsn123
Copy link
Author

jpsn123 commented Jun 16, 2025

@blizzz thanks for remind, i amend it, merge to one commit

@blizzz blizzz requested a review from nickvergessen June 17, 2025 09:57
@blizzz blizzz added bug 3. to review Waiting for reviews and removed 2. developing Work in progress labels Jun 17, 2025
@jpsn123 jpsn123 force-pushed the master branch 2 times, most recently from f6bcc28 to 8b802d7 Compare June 19, 2025 04:35
This was referenced Aug 22, 2025
This was referenced Sep 2, 2025
This was referenced Sep 25, 2025
@skjnldsv skjnldsv modified the milestones: Nextcloud 32, Nextcloud 33 Sep 28, 2025
@artonge
Copy link
Contributor

artonge commented Oct 21, 2025

@jpsn123 sorry for the delay here. Can you sign off your commit?

git rebase HEAD~1 --signoff
git push --force-with-lease origin master

Then we should be good :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review Waiting for reviews bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants