ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Interesting Take On A Wiki - Testing Now

    IT Discussion
    wiki
    8
    71
    7.0k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • ObsolesceO
      Obsolesce
      last edited by

      Dont specify a zone and it will default to the current one in use...

      JaredBuschJ 1 Reply Last reply Reply Quote 1
      • JaredBuschJ
        JaredBusch @black3dynamite
        last edited by

        @black3dynamite said in Interesting Take On A Wiki - Testing Now:

        I've got it. In /etc/httpd/conf/httpd.conf file.

        Changing <Directory "/var/www/html"> to <Directory "/var/www/html/bookstack/public">
        And also changing AllowOverride None to AllowOverride All fixes the not found page.

        Just tested this and it does resolve the issues.
        But, I think it will be cleaner to use the vhost file simply named bookstack.conf

        1 Reply Last reply Reply Quote 1
        • JaredBuschJ
          JaredBusch @Obsolesce
          last edited by

          @tim_g said in Interesting Take On A Wiki - Testing Now:

          Dont specify a zone and it will default to the current one in use...

          😛

          1 Reply Last reply Reply Quote 0
          • JaredBuschJ
            JaredBusch
            last edited by JaredBusch

            I will clean up the above instructions and make a how to install post today.

            1 Reply Last reply Reply Quote 1
            • dafyreD
              dafyre @JaredBusch
              last edited by

              @jaredbusch said in Interesting Take On A Wiki - Testing Now:

              @dafyre said in Interesting Take On A Wiki - Testing Now:

              So from start to finish, running JB's script everything worked for me out of the box, except for one thing. I had to

              firewall-cmd --set-default-zone=public

              But that may be because my install was done with the Server DVD and not a minimal install.

              Not my problem that you failed to follow instruction.
              0_1519057716158_f26429b9-383d-4a49-8fc7-5c9d0834e3aa-image.png

              Yes, yes, I know. I posted that for others who don't follow your instructions.

              Admittedly, I did look for the "Minimal" option, but that must not be available on the 2GB iso.

              1 Reply Last reply Reply Quote 0
              • dafyreD
                dafyre
                last edited by

                The WSYWIG editor is pretty cool... You can paste in images and such from the clipboard.

                It also integrates with Draw.io for inserting diagrams into your page.

                1 Reply Last reply Reply Quote 0
                • JaredBuschJ
                  JaredBusch
                  last edited by

                  Dev closed the issue stating they don't want the conf file in the repo for silly reasons.. but meh.. instructions coming shortly.

                  following my own instructions one more time with the target of making a guide.

                  1 Reply Last reply Reply Quote 1
                  • guyinpvG
                    guyinpv
                    last edited by

                    It forces https? I just wanted to throw it up into WAMP but don't want to fart with trying to make SSL work on it.
                    Any way to disable that and play with it without SSL?

                    scottalanmillerS JaredBuschJ 2 Replies Last reply Reply Quote 0
                    • scottalanmillerS
                      scottalanmiller @guyinpv
                      last edited by

                      @guyinpv said in Interesting Take On A Wiki - Testing Now:

                      It forces https? I just wanted to throw it up into WAMP but don't want to fart with trying to make SSL work on it.
                      Any way to disable that and play with it without SSL?

                      You don't need to do anything with SSL to make it work. Works by default.

                      1 Reply Last reply Reply Quote 0
                      • JaredBuschJ
                        JaredBusch @guyinpv
                        last edited by

                        @guyinpv said in Interesting Take On A Wiki - Testing Now:

                        It forces https? I just wanted to throw it up into WAMP but don't want to fart with trying to make SSL work on it.
                        Any way to disable that and play with it without SSL?

                        It absolutely does not use SSL by default.

                        No idea what you did to think that.

                        Now, I would never use it without SSL. But that is different.

                        guyinpvG 1 Reply Last reply Reply Quote 1
                        • guyinpvG
                          guyinpv @JaredBusch
                          last edited by

                          @jaredbusch said in Interesting Take On A Wiki - Testing Now:

                          @guyinpv said in Interesting Take On A Wiki - Testing Now:

                          It forces https? I just wanted to throw it up into WAMP but don't want to fart with trying to make SSL work on it.
                          Any way to disable that and play with it without SSL?

                          It absolutely does not use SSL by default.

                          No idea what you did to think that.

                          Now, I would never use it without SSL. But that is different.

                          Interesting.

                          After I installed it and got all the Composer packages updated and migrated the DB and all those things, ready to open it, it refused to open, it immediately redirects to https. I looked in htaccess files for any kind of redirect but didn't see it.

                          What else could be making it switch to https on its own?

                          JaredBuschJ 1 Reply Last reply Reply Quote 0
                          • JaredBuschJ
                            JaredBusch @guyinpv
                            last edited by JaredBusch

                            @guyinpv said in Interesting Take On A Wiki - Testing Now:

                            @jaredbusch said in Interesting Take On A Wiki - Testing Now:

                            @guyinpv said in Interesting Take On A Wiki - Testing Now:

                            It forces https? I just wanted to throw it up into WAMP but don't want to fart with trying to make SSL work on it.
                            Any way to disable that and play with it without SSL?

                            It absolutely does not use SSL by default.

                            No idea what you did to think that.

                            Now, I would never use it without SSL. But that is different.

                            Interesting.

                            After I installed it and got all the Composer packages updated and migrated the DB and all those things, ready to open it, it refused to open, it immediately redirects to https. I looked in htaccess files for any kind of redirect but didn't see it.

                            What else could be making it switch to https on its own?

                            Are you using my actual guide or the temp notes that were posted earlier in this thread?

                            Actual Guide: https://mangolassi.it/topic/16471/install-bookstack-on-fedora-27

                            JaredBuschJ guyinpvG 2 Replies Last reply Reply Quote 2
                            • JaredBuschJ
                              JaredBusch @JaredBusch
                              last edited by

                              @jaredbusch said in Interesting Take On A Wiki - Testing Now:

                              @guyinpv said in Interesting Take On A Wiki - Testing Now:

                              @jaredbusch said in Interesting Take On A Wiki - Testing Now:

                              @guyinpv said in Interesting Take On A Wiki - Testing Now:

                              It forces https? I just wanted to throw it up into WAMP but don't want to fart with trying to make SSL work on it.
                              Any way to disable that and play with it without SSL?

                              It absolutely does not use SSL by default.

                              No idea what you did to think that.

                              Now, I would never use it without SSL. But that is different.

                              Interesting.

                              After I installed it and got all the Composer packages updated and migrated the DB and all those things, ready to open it, it refused to open, it immediately redirects to https. I looked in htaccess files for any kind of redirect but didn't see it.

                              What else could be making it switch to https on its own?

                              Are you using my actual guide or the temp notes that were posted earlier in this thread?

                              Actual Guide: https://mangolassi.it/topic/16471/install-bookstack-on-fedora-27

                              The .env file contains an APP_URL value that it will force redirect to if uncommented.

                              1 Reply Last reply Reply Quote 0
                              • guyinpvG
                                guyinpv @JaredBusch
                                last edited by

                                @jaredbusch said in Interesting Take On A Wiki - Testing Now:

                                @guyinpv said in Interesting Take On A Wiki - Testing Now:

                                @jaredbusch said in Interesting Take On A Wiki - Testing Now:

                                @guyinpv said in Interesting Take On A Wiki - Testing Now:

                                It forces https? I just wanted to throw it up into WAMP but don't want to fart with trying to make SSL work on it.
                                Any way to disable that and play with it without SSL?

                                It absolutely does not use SSL by default.

                                No idea what you did to think that.

                                Now, I would never use it without SSL. But that is different.

                                Interesting.

                                After I installed it and got all the Composer packages updated and migrated the DB and all those things, ready to open it, it refused to open, it immediately redirects to https. I looked in htaccess files for any kind of redirect but didn't see it.

                                What else could be making it switch to https on its own?

                                Are you using my actual guide or the temp notes that were posted earlier in this thread?

                                Actual Guide: https://mangolassi.it/topic/16471/install-bookstack-on-fedora-27

                                I just followed regular old install instructions https://www.bookstackapp.com/docs/admin/installation/

                                Everything worked fine up until opening it. But of course that could be due to who knows what goofy WAMP config with virtual host and all that.

                                I'm now giving it another go on a dedicated cPanel on a VPS to see if that works better.

                                1 Reply Last reply Reply Quote 0
                                • JaredBuschJ
                                  JaredBusch
                                  last edited by JaredBusch

                                  @guyinpv said in Interesting Take On A Wiki - Testing Now:

                                  @jaredbusch said in Interesting Take On A Wiki - Testing Now:

                                  @guyinpv said in Interesting Take On A Wiki - Testing Now:

                                  @jaredbusch said in Interesting Take On A Wiki - Testing Now:

                                  @guyinpv said in Interesting Take On A Wiki - Testing Now:

                                  It forces https? I just wanted to throw it up into WAMP but don't want to fart with trying to make SSL work on it.
                                  Any way to disable that and play with it without SSL?

                                  It absolutely does not use SSL by default.

                                  No idea what you did to think that.

                                  Now, I would never use it without SSL. But that is different.

                                  Interesting.

                                  After I installed it and got all the Composer packages updated and migrated the DB and all those things, ready to open it, it refused to open, it immediately redirects to https. I looked in htaccess files for any kind of redirect but didn't see it.

                                  What else could be making it switch to https on its own?

                                  Are you using my actual guide or the temp notes that were posted earlier in this thread?

                                  Actual Guide: https://mangolassi.it/topic/16471/install-bookstack-on-fedora-27

                                  I just followed regular old install instructions https://www.bookstackapp.com/docs/admin/installation/

                                  Everything worked fine up until opening it. But of course that could be due to who knows what goofy WAMP config with virtual host and all that.

                                  I'm now giving it another go on a dedicated cPanel on a VPS to see if that works better.

                                  There is no guide there I don't know WTF you are talking about.

                                  They have "9 steps", an Ubuntu script, a community docker install and some "security engineer" with a CentOS 7 install and telling you to disable SELinux and the firewall.
                                  0_1519169737724_971fc1e2-6b08-46a2-a327-f9f6a60e44fc-image.png

                                  1 Reply Last reply Reply Quote 0
                                  • guyinpvG
                                    guyinpv
                                    last edited by

                                    That's right. 9 steps to install it via Composer. All that worked except for forcing https which didn't work on my WAMP.

                                    I'm doing it again on cPanel but have to finish tomorrow.

                                    JaredBuschJ ObsolesceO 2 Replies Last reply Reply Quote 0
                                    • JaredBuschJ
                                      JaredBusch @guyinpv
                                      last edited by

                                      @guyinpv said in Interesting Take On A Wiki - Testing Now:

                                      That's right. 9 steps to install it via Composer. All that worked except for forcing https which didn't work on my WAMP.

                                      I'm doing it again on cPanel but have to finish tomorrow.

                                      Except it isn't. Those 9 steps are assuming all kinds of things.

                                      1 Reply Last reply Reply Quote 0
                                      • ObsolesceO
                                        Obsolesce @guyinpv
                                        last edited by

                                        @guyinpv said in Interesting Take On A Wiki - Testing Now:

                                        That's right. 9 steps to install it via Composer. All that worked except for forcing https which didn't work on my WAMP.

                                        I'm doing it again on cPanel but have to finish tomorrow.

                                        why don't you do it on Linux following JB's guide?

                                        JaredBuschJ 1 Reply Last reply Reply Quote 0
                                        • JaredBuschJ
                                          JaredBusch @Obsolesce
                                          last edited by

                                          @tim_g said in Interesting Take On A Wiki - Testing Now:

                                          @guyinpv said in Interesting Take On A Wiki - Testing Now:

                                          That's right. 9 steps to install it via Composer. All that worked except for forcing https which didn't work on my WAMP.

                                          I'm doing it again on cPanel but have to finish tomorrow.

                                          why don't you do it on Linux following JB's guide?

                                          Because this guy is worse than @Dashrender about doing things the hard way.

                                          guyinpvG 1 Reply Last reply Reply Quote 0
                                          • guyinpvG
                                            guyinpv @JaredBusch
                                            last edited by

                                            @jaredbusch said in Interesting Take On A Wiki - Testing Now:

                                            @tim_g said in Interesting Take On A Wiki - Testing Now:

                                            @guyinpv said in Interesting Take On A Wiki - Testing Now:

                                            That's right. 9 steps to install it via Composer. All that worked except for forcing https which didn't work on my WAMP.

                                            I'm doing it again on cPanel but have to finish tomorrow.

                                            why don't you do it on Linux following JB's guide?

                                            Because this guy is worse than @Dashrender about doing things the hard way.

                                            That's funny. Their tutorial was far less hard than yours, and yours didn't cover my environment. But thanks anyway.

                                            I was on a WHM/cPanel setup on a VPS. While I did have SSH access as root, I used my cpanel user only at first. Apache and MySQL, not Nginx and MariaDB. But anyhoo.

                                            Problem 1: Changing documentroot for Apache. I had the host do this, even though I could do it from root. Otherwise use of /public folder wouldn't work. Anybody on a cPanel would have to do this. If the site is an "addon" domain, it's easy, but if it's the primary domain (as mine was), the process is a little more involved.

                                            Problem 2: I got a "No input file specified" blank page when trying to open it. This apparently had something to do with using fastCGI or PHP-FPM or something. Again the host made a server change, I believe all they did was turn off PHP-FPM. (this site is using PHP 7.2).

                                            Problem 3: After fixing that, the site was redirecting to the /login address but simply went to 404. To fix this, I had to do a bunch of Composer things, update Composer itself, global self-update, enable fopen urls until finally Composer had no warnings or errors when updating. When I first ran composer update, it downloaded everything and created the vendor folder, but apparently it still couldn't work because of version issues between Laravel and artisan and composer or some weird nonsense. I needed su ability to get composer updated here.

                                            Problem 4: Nothing worked yet, because when the host messed with PHP it generated a new htaccess file and left out all the stuff in the default one. I fixed that up.

                                            Problem 5: Site now loads without 404 error, but instead just throws a server 500. The Illuminate package had permission errors writing in the Storage folder even with 755 permissions. To fix this (as other suggested online), I set folders to 777.
                                            Then I had to run artisan cache:clear and composer dump-autoload. In general I always thought 777 was anathema but that's what everybody said to do.

                                            I finally got the freaking login after that.

                                            Problem 6: It still couldn't upload files to the uploads folder, so again had to go set 777. For the heck of it, I went and set bootstrap/cache to 777 too since that is the third folder they wanted to ensure write access. Now pictures could upload.

                                            Now finally the installation is working.

                                            Just by way of reference for anybody else who uses a cPanel setup. Composer was just there already on the VPS, but not up to date. And when using su, the Composer path is not set in globals so I had to reference full path.
                                            Documentroot needs changed (including addition config if using SSL).
                                            Potentially FastCGI issues. Some of this can be changed from WHM.
                                            Give full 777 folder permissions.

                                            Profit.

                                            1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 4 / 4
                                            • First post
                                              Last post