An Error Occurred - ('The stream or file "%s" could not be opened: '.$this->errorMessage, $this->url)? #1900

Closed
opened 2026-02-05 02:09:56 +03:00 by OVERLORD · 4 comments
Owner

Originally created by @labratrace on GitHub (Oct 14, 2020).

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
https://imgur.com/a/eZgsaTG

Your Configuration (please complete the following information):

  • Exact BookStack Version (Found in settings): Uh... wish I knew :(
  • PHP Version: PHP 7.4.9
  • Hosting Method (Nginx/Apache/Docker): nginx/1.18.0

Additional context
So I'm still a bit new to this. But I recently had to move my Bookstack software to a new server. And I received the error I see above.

Nginx is up, database is up, php looks like it's up and running. So I'm not sure what it is I should be looking for to resolve this issue and get bookstack up and running.

Edit: I enabled debugging on the server and, to be honest, I'm not sure what I'm looking at.

Originally created by @labratrace on GitHub (Oct 14, 2020). **Expected behavior** A clear and concise description of what you expected to happen. **Screenshots** https://imgur.com/a/eZgsaTG **Your Configuration (please complete the following information):** - Exact BookStack Version (Found in settings): Uh... wish I knew :( - PHP Version: PHP 7.4.9 - Hosting Method (Nginx/Apache/Docker): nginx/1.18.0 **Additional context** So I'm still a bit new to this. But I recently had to move my Bookstack software to a new server. And I received the error I see above. Nginx is up, database is up, php looks like it's up and running. So I'm not sure what it is I should be looking for to resolve this issue and get bookstack up and running. Edit: I enabled debugging on the server and, to be honest, I'm not sure what I'm looking at.
Author
Owner

@nutsflag commented on GitHub (Oct 14, 2020):

Hello @labratrace,
checks the permissions on files and folders. also try by putting 755 to test.

@nutsflag commented on GitHub (Oct 14, 2020): Hello @labratrace, checks the permissions on files and folders. also try by putting 755 to test.
Author
Owner

@labratrace commented on GitHub (Oct 14, 2020):

I found a similar page discussing this issue. I currently have permissions set to 777 on storage. Checking everything, but that didn't seem to change much.

Everything is set to 777 as of right now. Still no dice. Everything is owned by Nginx.

@labratrace commented on GitHub (Oct 14, 2020): I found a similar page discussing this issue. I currently have permissions set to 777 on storage. Checking everything, but that didn't seem to change much. Everything is set to 777 as of right now. Still no dice. Everything is owned by Nginx.
Author
Owner

@ssddanbrown commented on GitHub (Dec 17, 2020):

Hi @labratrace,
Sorry for my lack of reply, Do you still have this issue? If so, could you provide the output of running ls -alh storage/logs from your BookStack install folder (Assuming a unix/linux system is in use here).

That error is fairly specific to permissions of that log file shown.

@ssddanbrown commented on GitHub (Dec 17, 2020): Hi @labratrace, Sorry for my lack of reply, Do you still have this issue? If so, could you provide the output of running `ls -alh storage/logs` from your BookStack install folder (Assuming a unix/linux system is in use here). That error is fairly specific to permissions of that log file shown.
Author
Owner

@ssddanbrown commented on GitHub (May 2, 2021):

Since there's been no follow-up I'm going to close this. If the issue remains and is something you still require to be fixed please open a new issue, referencing this one.

@ssddanbrown commented on GitHub (May 2, 2021): Since there's been no follow-up I'm going to close this. If the issue remains and is something you still require to be fixed please open a new issue, referencing this one.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#1900