Upgrade Error: supplied argument not valid stream

Asked by DranoMax

Hello everyone, I'm having an error upgrading from 1.0.5 to 1.0.6 when it tries to backup my database. It will continually give an error:
WARNING: fwrite(): supplied argument is not a valid stream resource in <my_server>/xibo-server-1.0.6/upgrade.php on line 465.

It will give that same error over and over with different error line number until I stop it from running. I looked up what the error might mean and it seems it could be a permissions error, but I already have all of the permissions for upgrade.php.

Any help would be great, thanks.

Question information

Language:
English Edit question
Status:
Solved
For:
Xibo Edit question
Assignee:
No assignee Edit question
Solved by:
Alex Harrington
Solved:
Last query:
Last reply:
Revision history for this message
Alex Harrington (alexharrington) said :
#1

Its probably something specific to your system.

You should be doing your own database backup before the upgrade as per the notes so you can safely disable the automatic backup.

Just untick the box when prompted.

Alex

This email carries a disclaimer, a copy of which may be read at http://learning.longhill.org.uk/disclaimer

Revision history for this message
Best Alex Harrington (alexharrington) said :
#2

Actually are you sure your server library folder exists and is writable? That's where it will be trying to write.

Alex

This email carries a disclaimer, a copy of which may be read at http://learning.longhill.org.uk/disclaimer

Revision history for this message
DranoMax (alex-scroggins) said :
#3

Thanks Alex Harrington, that solved my question.

Revision history for this message
DranoMax (alex-scroggins) said :
#4

Thanks for the help, it was a permissions issue. I made the lib folder writable as well as the actual xibo-server-1.0.6 folder writable and it worked.