mirror of
https://github.com/BookStackApp/BookStack.git
synced 2026-02-05 00:29:48 +03:00
Manual install doesnt work #250
Closed
opened 2026-02-04 18:03:52 +03:00 by OVERLORD
·
20 comments
No Branch/Tag Specified
development
l10n_development
further_theme_development
release
llm_only
vectors
v25-11
docker_env
drawio_rendering
user_permissions
ldap_host_failover
svg_image
prosemirror
captcha_example
fix/video-export
v25.12.3
v25.12.2
v25.12.1
v25.12
v25.11.6
v25.11.5
v25.11.4
v24.11.4
v25.11.3
v25.11.2
v25.11.1
v25.11
v25.07.3
v25.07.2
v25.07.1
v25.07
v25.05.2
v25.05.1
v25.05
v25.02.5
v25.02.4
v25.02.3
v25.02.2
v25.02.1
v25.02
v24.12.1
v24.12
v24.10.3
v24.10.2
v24.10.1
v24.10
v24.05.4
v24.05.3
v24.05.2
v24.05.1
v24.05
v24.02.3
v24.02.2
v24.02.1
v24.02
v23.12.3
v23.12.2
v23.12.1
v23.12
v23.10.4
v23.10.3
v23.10.2
v23.10.1
v23.10
v23.08.3
v23.08.2
v23.08.1
v23.08
v23.06.2
v23.06.1
v23.06
v23.05.2
v23.05.1
v23.05
v23.02.3
v23.02.2
v23.02.1
v23.02
v23.01.1
v23.01
v22.11.1
v22.11
v22.10.2
v22.10.1
v22.10
v22.09.1
v22.09
v22.07.3
v22.07.2
v22.07.1
v22.07
v22.06.2
v22.06.1
v22.06
v22.04.2
v22.04.1
v22.04
v22.03.1
v22.03
v22.02.3
v22.02.2
v22.02.1
v22.02
v21.12.5
v21.12.4
v21.12.3
v21.12.2
v21.12.1
v21.12
v21.11.3
v21.11.2
v21.11.1
v21.11
v21.10.3
v21.10.2
v21.10.1
v21.10
v21.08.6
v21.08.5
v21.08.4
v21.08.3
v21.08.2
v21.08.1
v21.08
v21.05.4
v21.05.3
v21.05.2
v21.05.1
v21.05
v21.04.6
v21.04.5
v21.04.4
v21.04.3
v21.04.2
v21.04.1
v21.04
v0.31.8
v0.31.7
v0.31.6
v0.31.5
v0.31.4
v0.31.3
v0.31.2
v0.31.1
v0.31.0
v0.30.7
v0.30.6
v0.30.5
v0.30.4
v0.30.3
v0.30.2
v0.30.1
v0.30.0
v0.29.3
v0.29.2
v0.29.1
v0.29.0
v0.28.3
v0.28.2
v0.28.1
v0.28.0
v0.27.5
v0.27.4
v0.27.3
v0.27.2
v0.27.1
v0.27
v0.26.4
v0.26.3
v0.26.2
v0.26.1
v0.26.0
v0.25.5
v0.25.4
v0.25.3
v0.25.2
v0.25.1
v0.25.0
v0.24.3
v0.24.2
v0.24.1
v0.24.0
v0.23.2
v0.23.1
v0.23.0
v0.22.0
v0.21.0
v0.20.3
v0.20.2
v0.20.1
v0.20.0
v0.19.0
v0.18.5
v0.18.4
v0.18.3
v0.18.2
v0.18.1
v0.18.0
v0.17.4
v0.17.3
v0.17.2
v0.17.1
v0.17.0
v0.16.3
v0.16.2
v0.16.1
v0.16.0
v0.15.3
v0.15.2
v0.15.1
v0.15.0
v0.14.3
v0.14.2
v0.14.1
v0.14.0
v0.13.1
v0.13.0
v0.12.2
v0.12.1
v0.12.0
v0.11.2
v0.11.1
v0.11.0
v0.10.0
v0.9.3
v0.9.2
v0.9.1
v0.9.0
v0.8.2
v0.8.1
v0.8.0
v0.7.6
v0.7.5
v0.7.4
v0.7.3
0.7.2
v.0.7.1
v0.7.0
v0.6.3
v0.6.2
v0.6.1
v0.6.0
v0.5.0
Labels
Clear labels
🎨 Design
📖 Docs Update
🐛 Bug
🐛 Bug
:cat2:🐈 Possible duplicate
💿 Database
☕ Open to discussion
💻 Front-End
🐕 Support
🚪 Authentication
🌍 Translations
🔌 API Task
🏭 Back-End
⛲ Upstream
🔨 Feature Request
🛠️ Enhancement
🛠️ Enhancement
🛠️ Enhancement
❤️ Happy feedback
🔒 Security
🔍 Pending Validation
💆 UX
📝 WYSIWYG Editor
🌔 Out of scope
🔩 API Request
:octocat: Admin/Meta
🖌️ View Customization
❓ Question
🚀 Priority
🛡️ Blocked
🚚 Export System
♿ A11y
🔧 Maintenance
> Markdown Editor
No Label
🐕 Support
Milestone
No items
No Milestone
Projects
Clear projects
No project
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: starred/BookStack#250
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @petrk94 on GitHub (Jan 31, 2017).
Hello,
Im trying to install bookstack on my virtual shared server.
Im following the https://www.bookstackapp.com/docs/admin/installation/#manual
because the hoster doesnt support docker, but it doesnt work as expected and I get on the site xxx.canopus.uberspace.de/BookStack/
this error:
Forbidden
You don't have permission to access / on this server.
Apache/2.2.15 (CentOS) Server at book1234.canopus.uberspace.de Port 80
Anyone an idea what can be the reason?
I have installed composer with this manual: https://getcomposer.org/doc/00-intro.md#locally
Installed PHPVERSION=5.6
Hope you can help me and maybe check and extend the manual.
Thanks
@Ethanb00 commented on GitHub (Jan 31, 2017):
That sounds like it may be a permissions issue. I would suggest looking at your apache error logs.
@petrk94 commented on GitHub (Jan 31, 2017):
I have checked the error log and got this:
I have made the folders writeable as written in the manual with chmod 777 for test.
But still no change
@Ethanb00 commented on GitHub (Jan 31, 2017):
Assuming you didn't make changes to .htaccess for bookstack, then the origin of your issue is in one of your .conf files (either apache.conf/httpd.conf or the site-enabled conf for bookstack).
You probably have something that says something like "Options -Indexes". That will cause this error.
@lommes commented on GitHub (Jan 31, 2017):
Another reason maybe that you point to the root directory of Bookstack but there is no index.php file. You need to point to the public subdirectory.
Since the DocumentRoot is fixed in uberspace hosting to /var/www/virtual/
<username>/html you have to change directory to /var/www/virtual/<username>an place the BookStack sources there and symlink BookStackApp/public to htmlThis is specific to uberspace and it took me some time to figure it out. If you run in any errors don't hessitate to contact their support. They do a great job
edit
just saw your paths above:
place BookStack folder in
/var/www/virtual/book1234/so there is/var/www/virtual/book1234/BookStack/publicdelete or move
/var/www/virtual/book1234/htmland runcd /var/www/virtual/book1234/ && ln -s BookStack/public htmlBookStack then will be available directly with http://book1234.canopus.uberspace.de
@petrk94 commented on GitHub (Jan 31, 2017):
Well I have created a .htaccess file and filled with:
because it didnt got created by itself
@Ethanb00 commented on GitHub (Jan 31, 2017):
there shouldn't be a need to create your own htaccess file. If you need the original htaccess file, it is located in the repo (under public/.htaccess)
Why did you write your own?
@petrk94 commented on GitHub (Jan 31, 2017):
Because there was point:
And because I dont could edit a .htaccess file, I have created a new one.
I will try it with the file you say
@Ethanb00 commented on GitHub (Jan 31, 2017):
the rewrite rules indicated should be in your httpd.conf, not a new htaccess. But you should need those anyway if you have a functioning htaccess file in the public directory.
@petrk94 commented on GitHub (Jan 31, 2017):
I have now deleted my .htaccess file and used this one in this repo
Now I get the forbidden too, but with error and access log.
Error log:
Access log:
@Ethanb00 commented on GitHub (Jan 31, 2017):
Ok, cool. Thanks.
Can you post your httpd.conf?
@petrk94 commented on GitHub (Jan 31, 2017):
Dont know whether this would help you?
@Ethanb00 commented on GitHub (Jan 31, 2017):
Ok I think your issue is in here.
Your Directory sections aren't allowing access to the htaccess files.
@Ethanb00 commented on GitHub (Jan 31, 2017):
Is there a reason why you are using SymLinksIfOwnerMatch?
@petrk94 commented on GitHub (Feb 1, 2017):
ok and what I need to change?
The hosting provider is blocking it:
.
@Ethanb00 commented on GitHub (Feb 1, 2017):
Good question.
I don't know your exact setup so you'll have to do some tooling around with the directory settings and apache rules.
@lommes commented on GitHub (Feb 1, 2017):
uberspace.de is a shared hosting provider, so there might be some restrictions which are not present on eg a VPS.
you should re-read my comment which explains all steps necessary to get a laravel app running there.
@petrk94 commented on GitHub (Feb 21, 2017):
@lommes
I have tried it as you have shown in the comment
But it still not work :(
Im not sure what it cause, I have set the PHP Version to 5.6.6, only the MySQL version is 5.1, and I can not change that.
@petrk94 commented on GitHub (Feb 21, 2017):
@lommes I will try sloppy.io and arukas with the docker image.
But at sloppy I have choose /solidnerd/bookstack as docker image, but it dont has run out of the box.
I will check it later
@ssddanbrown commented on GitHub (Feb 23, 2017):
Thanks @Ethanb00 and @lommes for looking into this.
@petrk94 Sorry to hear you've been having issues installing BookStack. Apps like these can be awkward to set up in the limitations of shared hosting. Since BookStack is built on the Laravel framework it should install very similarly to other laravel applications. You could try contacting your hosts's support services requesting help installing a 'Laravel Application' since that's a more common requirement that they may be more familiar with.
@ssddanbrown commented on GitHub (Jul 28, 2017):
Closing due to issue age and the fact the conversation came to a close, Feel free to comment if you want to discuss further though and this issue can be re-opened.