Manual BookStack Installation on Windows 10

Поділитися
Вставка
  • Опубліковано 5 лис 2024

КОМЕНТАРІ • 64

  • @dangbro
    @dangbro 2 роки тому +1

    Thank you Dan! You have such grace in presenting information. I did the windows install at the same pace as the video. Forget the hiccup towards the end of video, I do make a lot of that, without errors nobody learns anything. :)

  • @paulpaschert6215
    @paulpaschert6215 Рік тому +1

    Best Installationtutorial out there on

  • @Awareness_is_Love
    @Awareness_is_Love Рік тому +1

    Thank's a lot Dan!! This was so helpful. Little bit tricky, but after a few additional errors i had to solve, I finally got it to work. Great job.

  • @tpks
    @tpks Рік тому

    The installation did not work for me with the command shell opened from XAMPP.
    Another try with the command shell opened from the Windows start menu with admin rights and it workes smoothly.
    Thank you for that video!
    It is very helpful for testing Bookstack and its features. :)

  • @jamesdavies6423
    @jamesdavies6423 Рік тому +1

    Very good demo/instructions , very clear and you speak well! thank you

  • @avd-avd
    @avd-avd Рік тому

    Thank you. I saw you changed also in the Apache config the Directory path.

  • @ericzhou5316
    @ericzhou5316 16 днів тому

    Follow the steps in the video, but I encountered an unknown error when trying to open localhost:8080. Is there anywhere I should check?

  • @creamsoda923
    @creamsoda923 9 місяців тому +2

    Thank you Mr.Pinkman

  • @jservitus8275
    @jservitus8275 5 місяців тому

    great tutorial but there is no recommendations for troubleshooting. I got all the way to the php artisan migrate command and was given a sqlstate [hy000] [1045} access denied error that I can't find a solution. I've gone back through this vid . . . FAR to many times but see no missteps.
    Anyone?

  • @justshortsreal
    @justshortsreal Рік тому +2

    I had an "This site can’t provide a secure connection" error and it was because my .env file was "APP_URL=https" when it needs to be "APP_URL=http:"

  • @bbvbfdgbfg
    @bbvbfdgbfg Рік тому +1

    Thank you so much for the detailed video. Could you help me with an error I am getting? I am trying to edit the HTTPS-hosts.conf file and I keep getting the same error that you got even after making the changes that you did.

  • @TheJojoMixer
    @TheJojoMixer 11 місяців тому +1

    Thank you very much!

  • @bnkz6268
    @bnkz6268 27 днів тому

    I might have another question. I believe the time zone is being displayed incorrectly for me, showing two hours less than it actually is. Where can I adjust this? Could you please help me with this question?

    • @BookStackApp
      @BookStackApp  26 днів тому

      System times are UTC by default.
      You can alter that by setting an "APP_TIMEZONE" option, for example:
      APP_TIMEZONE=Europe/Berlin
      Full timezone list here:
      www.php.net/manual/en/timezones.php
      This won't affect existing stored times though, so they main remain out by a couple of hours relative to new entries.

    • @bnkz6268
      @bnkz6268 26 днів тому

      @@BookStackApp Thank you very much

  • @vishnuyadavk
    @vishnuyadavk 6 місяців тому +2

    Anyone stuck in 17:10, just install 7zip and run the command again it will work

    • @YexTI
      @YexTI 2 дні тому

      Thanks

  • @nickhatch6285
    @nickhatch6285 Рік тому

    Thanks for the video it worked a treat for me. Is there a way of making the localhost instance of bookstack accessible from another PC on the same network so it can be shared by two users? Thanks.

    • @BookStackApp
      @BookStackApp  Рік тому

      Happy this was helpful!
      Yeah, that's possible, but you'll need to standardise on a hostname/IP that will point to the correct location from both systems/users (so your system's local network IP address).
      This would need to be updated in the apache virtualhost config (ServerName option) and BookStack APP_URL .env option.
      Also, the other system would need access/visibility to the webserver over the network (so no firewalls blocking anything.)

    • @nickhatch6285
      @nickhatch6285 Рік тому +1

      @@BookStackApp Thanks for getting back to me, all working a treat now from multiple clients.

  • @drakekl9413
    @drakekl9413 Рік тому

    5:12
    Why exactly is this the standard? For cross-platform projects, it is the recommended setting on Unix, not on Windows. And the installation video shows us a Windows installation of Git.

    • @BookStackApp
      @BookStackApp  Рік тому

      I didn't meant to say that is "the standard", I just meant it as that it would keep line ending the same/standard as per the source. As I said, probably no issue using the other options but I had not checked on any implications of converting line endings across the code-base so I chose the option I did just to be safe to not add another variable.

  • @MsTajc
    @MsTajc 11 місяців тому

    22:12:24 [Apache] Port 80 in use by "Unable to open process" with PID 7176!

    • @BookStackApp
      @BookStackApp  11 місяців тому

      This indicates that either something else is already serving web content on your machine, or you didn't change the port number as I did at about 28:35

  • @drakekl9413
    @drakekl9413 Рік тому

    11:11 Is it necessary to use port 8080? Or can I use another random number (like 3, 63485, 1698, ...) as well?

    • @BookStackApp
      @BookStackApp  Рік тому

      You can use any port you'd prefer. It'll need to be less than 65535, and anything below 1023 can often already be used by other things and sometimes needs more privileges depending on system, so between 1024 and 65535 is usually safe. There's a part in the video later on where the port number is used in apache config, so be sure to also change that.

  • @bnkz6268
    @bnkz6268 28 днів тому

    I followed the instructions as given, but unfortunately, I have a small problem. I'm trying to access the address ServerIP:8080 from another computer on the network, but unfortunately, no page loads. What am I doing wrong? Can someone please help me?

    • @BookStackApp
      @BookStackApp  28 днів тому +1

      Does it try to load for ages and never finish? Or do you get redirect (back to localhost or something else other than the IP) when trying to access (check in the URL bar)?
      If it's loading for ages, ensure you're accessing with "` in front of the URL (and that it's not defaulting to ""). Otherwise, it's generally reflecting a network level issue. Might be that access is blocked by a firewall on the network on the BookStack host. Or that the address does not resolve to the expected maching.
      If it's redirecting, then you need to use your local IP address in the "APP_URL" option when configuring the ".env" file.

    • @bnkz6268
      @bnkz6268 28 днів тому

      @@BookStackApp Exactly, it loads endlessly, doesn't finish, and then redirects back to localhost:8080, which of course doesn't display a page on the other device. I've temporarily disabled the firewall on the server, but unfortunately without success. In Chrome, there was a message saying that there might be something wrong with the protocol, hmm... I'm really trying to figure out what I can do.

    • @bnkz6268
      @bnkz6268 27 днів тому +1

      @@BookStackApp I would like to sincerely thank you for responding so quickly after such a long time. Thank you very much, everything is working.

  • @MrKosmos088
    @MrKosmos088 9 місяців тому

    thanks it works excellent, but i dont know how to share the access in my internal network to give access to my coworkers, is any configuration in env file?

    • @BookStackApp
      @BookStackApp  9 місяців тому +1

      There's no easy option within the BookStack config.
      This is a general networking/webserver level thing to manage.
      Within the apache config you'd need to user a "ServerName" that's your local network IP. (and restart apache).
      Then update the "APP_URL" value in the ".env" file file also be using your local IP instead of "localhost".
      Then you'd also need to make sure that port used (8080 in this video) is open on your Windows firewall.
      Then others should be able to connect on ":8080"

    • @MrKosmos088
      @MrKosmos088 9 місяців тому

      @@BookStackApp thanks!!!!

  • @raazdesai
    @raazdesai Рік тому +1

    Thank you.

  • @drakekl9413
    @drakekl9413 Рік тому

    Is there also a way to publish books on the internet after creating them? Because I only find installation tutorials for this local BookStack. What exactly do I need to install to publish BookStack books on the internet (https) after creating them instead of creating them only locally with no way of publishing them?

    • @BookStackApp
      @BookStackApp  Рік тому

      There is no concept of "Publishing" in BookStack.
      You could create a publicly accessible instance, but you could not easily "publish" between a private and public instance.
      Making an instance public to the internet is a matter of general networking. You could make a local windows install such as this publicly accessible on the internet, but it can be quite complicated (Depending on how your ISP provide things) and can have security implications.
      Typically it's easiest to set up an instance on webserver that's set-up for web access, like a VPS. My video here shows an example process of this: ua-cam.com/video/wq78komr9rs/v-deo.html

  • @dr.pepperthenecrohealer8730
    @dr.pepperthenecrohealer8730 2 роки тому

    How to you Copy the .env.example file to .env and fill with your own database and mail details. That is the part were I get stuck at and I wasn't able to generate a key

    • @BookStackApp
      @BookStackApp  2 роки тому +1

      I show the exact process at 18:05 in the video.

  • @istechdoc
    @istechdoc Рік тому

    Got an error message "An unknown error occurred" when I log in for the first time. Help? Windows 11.

    • @BookStackApp
      @BookStackApp  Рік тому +1

      Worth checking your error log, or enabling debug view:
      www.bookstackapp.com/docs/admin/debugging/#error-log-file

    • @istechdoc
      @istechdoc Рік тому

      @@BookStackApp [previous exception] [object] (Illuminate\\View\\ViewException(code: 0): SQLSTATE[HY000] [1044] Access denied for user 'bookstack'@'localhost' to database 'bookstack' (SQL: select * from `users` where `system_name` = public limit 1) (View: C:\\xampp\\htdocs\\bookstack\
      esources\\views\\layouts\\base.blade.php) at C:\\xampp\\htdocs\\bookstack\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php:760)
      [stacktrace]

  • @lukasmorn3812
    @lukasmorn3812 Рік тому

    i feel like such a noob. I constantly get error: mysqli extension is missing, i have no idea i thats bad, and looking up online forums does not help. This was supposed to be an easy: i want to build my own home wiki, and now i just feel awful :/

    • @BookStackApp
      @BookStackApp  Рік тому +1

      Don't be too hard on yourself. This isn't really made to be easy for installing like this on Windows, it can be a lot to understand, learn & go through if unfamiliar with web servers and stuff. I'm only confident with this stuff since I've been doing it for over 10 years now. I took me a lot of time to understand this stuff in the early days too.
      Not sure where you're seeing that error. You could make sure the `mysqli` and `pdo_mysql` extensions are not commented in the `php.ini` file (Which I go to at about 15:13 in this video).

  • @jaygreentree4394
    @jaygreentree4394 2 роки тому

    29:00 you can actually run vhosts on port 80 if you have a domain

    • @BookStackApp
      @BookStackApp  2 роки тому

      Apache is already running on port 80 & 443 by default.
      I use an alternative port here specifically to avoid any interference with any of the default apache vhosts (Like phpMyAdmin or the default xampp splash page).

    • @jaygreentree4394
      @jaygreentree4394 2 роки тому

      @@BookStackApp As long as you have the trailing slash / for /phpmyadmin/ it will load even with mod_rewrite enabled because phpmyadmin is symlinked to an outside directory

  • @mrtz7786
    @mrtz7786 Рік тому

    Hello there, any tips on setting up https for bookstack? We have a windows pki in our domain, but bookstack is my first webserver thing… so I cannot get it to work. Thanks!

    • @BookStackApp
      @BookStackApp  Рік тому

      I have no idea about Windows PKI, but otherwise all HTTPS configuration would be done in the virtual host file for apache as per normal apache config/processes (Many guides out there, I'd recommend the mozilla TLS configurator to help with this). Only thing that need to be done for BookStack itself is updating the `APP_URL` in the `.env` and run the "Update System URL" command if you have existing content: www.bookstackapp.com/docs/admin/commands/#update-system-url

  • @nhussain84
    @nhussain84 Рік тому

    love it.

  • @maezy8518
    @maezy8518 Рік тому

    Help me sir I cannot rename .env 18:32, it shows pop up warning message “you must type a filename.”

  • @Lorenz0408
    @Lorenz0408 Рік тому

    why dont i see css

    • @BookStackApp
      @BookStackApp  Рік тому

      Most often due to an incorrect "APP_URL" value in your ".env" relative to how you're accessing in browser.

  • @micro7567
    @micro7567 2 роки тому

    💕🌷

  • @carnap355
    @carnap355 Рік тому +1

    why can't there just be an exe installer...

    • @BookStackApp
      @BookStackApp  Рік тому

      Because it's not built to be a local desktop/windows application, and I don't want to dedicate a lot of time to specifically target that platform, I'd rather keep the project fairly platform abstract.

  • @crystalcortexx
    @crystalcortexx Рік тому +2

    This is insane.
    Why isn't there just an exe download like Notion???

    • @BookStackApp
      @BookStackApp  Рік тому +5

      Because this is built completely differently as a server-side-focused application.
      It might be possible to wrap the requirements to an exe but it's not really worth the initial and continued time & maintenance investment to make that work, especially when usage in local windows environments is really more of an edge case for platform usage.
      You could also say:
      This is insane. Why can't I use all of Notion's features for free & entirely within my control?

  • @tales-channel-channel
    @tales-channel-channel 11 місяців тому

    didn't work