• Welcome to the Chevereto User Community!

    Here, users from all over the world come together to learn, share, and collaborate on everything related to Chevereto. It's a place to exchange ideas, ask questions, and help improve the software.

    Please keep in mind:

    • This community is user-driven. Always be polite and respectful to others.
    • Support development by purchasing a Chevereto license, which also gives you priority support.
    • Go further by joining the Community Subscription for even faster response times and to help sustain this space
  • Chevereto Support CLST

    Support response

    Support checklist

    • Got a Something went wrong message? Read this guide and provide the actual error. Do not skip this.
    • Confirm that the server meets the System Requirements
    • Check for any available Hotfix - your issue could be already reported/fixed
    • Read documentation - It will be required to Debug and understand Errors for a faster support response

fwrite(): Write of 1578 bytes failed with errno=9 Bad file descriptor in

schultz-it-solutions

Chevereto Member
Hey Rodolfo,
i am pretty sure this is a configuration issue on my side, but I seem to be unable to find the nessessary hints in the forums or documentation. So I hope you can point me to the correct solution...

Setting:
I have a chevereto4 test installation and am trying to get it to work, before I can migrate my actual instance.
Windows Server, Apache http, PHP 8.0.10, MariaDB 10.6.11
Installation in a subdirectory of the domain.

During install, right after writing the database connection details, I get these errors (see errorlog below):
fwrite(): Write of 1578 bytes failed with errno=9 Bad file descriptor in ... Stream.php:247

thanks for your help
Ruediger Schultz



# PHP Fatal error: Uncaught Chevere\\Throwable\\Exceptions\\ErrorException: fwrite(): Write of 1578 bytes failed with errno=9 Bad file descriptor in [CHEVERETO-ROOT]gallery4\\app\\vendor\\nyholm\\psr7\\src\\Stream.php:247
# Stack trace:
# #0 [internal function]: Chevere\\ThrowableHandler\\errorAsException()
# #1 [CHEVERETO-ROOT]gallery4\\app\\vendor\\nyholm\\psr7\\src\\Stream.php(247): fwrite()
# #2 [CHEVERETO-ROOT]gallery4\\app\\vendor\\chevere\\chevere\\src\\Writer\\StreamWriter.php(42): Nyholm\\Psr7\\Stream->write()
# #3 [CHEVERETO-ROOT]gallery4\\app\\legacy\\load\\register-handlers.php(50): Chevere\\Writer\\StreamWriter->write()
# #4 [internal function]: {closure}()
# #5 {main}
# Next Chevere\\Throwable\\Exceptions\\RuntimeException: Unable to write provided string in [CHEVERETO-ROOT]gallery4\\app\\vendor\\chevere\\chevere\\src\\Writer\\StreamWriter.php:44
# Stack trace:
# #0 [CHEVERETO-ROOT]gallery4\\app\\legacy\\load\\register-handlers.php(50): Chevere\\Writer\\StreamWriter->write()
# #1 [internal function]: {closure}()
# #2 {main}
# thrown in [CHEVERETO-ROOT]gallery4\\app\\vendor\\chevere\\chevere\\src\\Writer\\StreamWriter.php on line 44
# PHP Fatal error: Uncaught Chevere\\Throwable\\Exceptions\\ErrorExc
# eption: fwrite(): Write of 1744 bytes failed with errno=9 Bad file descriptor in [CHEVERETO-ROOT]gallery4\\app\\vendor\\nyholm\\psr7\\src\\Stream.php:247
# Stack trace:
# #0 [internal function]: Chevere\\ThrowableHandler\\errorAsException()
# #1 [CHEVERETO-ROOT]gallery4\\app\\vendor\\nyholm\\psr7\\src\\Stream.php(247): fwrite()
# #2 [CHEVERETO-ROOT]gallery4\\app\\vendor\\chevere\\chevere\\src\\Writer\\StreamWriter.php(42): Nyholm\\Psr7\\Stream->write()
# #3 [CHEVERETO-ROOT]gallery4\\app\\legacy\\load\\register-handlers.php(50): Chevere\\Writer\\StreamWriter->write()
# #4 [CHEVERETO-ROOT]gallery4\\app\\vendor\\chevere\\throwable-handler\\src\\functions.php(149): {closure}()
# #5 [internal function]: Chevere\\ThrowableHandler\\shutdownErrorAsException()
# #6 {main}
# Next Chevere\\Throwable\\Exceptions\\RuntimeException: Unable to write provided string in [CHEVERETO-ROOT]gallery4\\app\\vendor\\chevere\\chevere\\src\\Writer\\StreamWriter.php:44
# Stack trace:
# #0 [CHEVERETO-ROOT]gallery4\\app\\legacy\\load\\register-handlers.php(50): Chevere\\Writer\\StreamWriter->write()
# #1 [CHEVERETO-ROOT]gallery4\\app\\vendor\\chevere\\throwable-handler\\src\\functions.php(149): {closure}()
# #2 [internal function]: Chevere\\ThrowableHandler\\shutdownErrorAsException()
# #3 {main}
# thrown in [CHEVERETO-ROOT]gallery4\\app\\vendor\\chevere\\chevere\\src\\Writer\\StreamWriter.php on line 44
 
I don't think that this is an error of the software.

It happens during a file streaming and under Windows. You should be aware that the software was designed for Unix-like systems and issues like this aren't covered by us.


If you find a solution please let us know in the community topic you created for the same issue.
 
Back
Top