Bagisto Forum

    Bagisto

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

    how to deploy to heroku

    Installing Bagisto
    2
    17
    864
    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.
    • T
      tk last edited by

      i just added the git repo to heroku straight from forking the repo on github to my account and deploying it
      i got forbidden >>
      https://bookscloud.herokuapp.com/
      http://cloudupp.herokuapp.com/open-file?file=image_06222021053453.png

      1 Reply Last reply Reply Quote 0
      • devansh-webkul
        devansh-webkul last edited by

        Hi @tk,

        You need to check the server permissions also.

        1 Reply Last reply Reply Quote 0
        • T
          tk last edited by

          server permission was there , i had to add public in url...

          1 Reply Last reply Reply Quote 0
          • T
            tk last edited by

            also the error now is >> Configuration cache cleared!Configuration cached successfully!Dropped all tables successfully.Migration table created successfully.Migrating: 2014_10_12_000000_create_users_tableMigrated: 2014_10_12_000000_create_users_table (180.44ms)Migrating: 2014_10_12_100000_create_admin_password_resets_tableMigrated: 2014_10_12_100000_create_admin_password_resets_table (57.79ms)Migrating: 2014_10_12_100000_create_password_resets_tableMigrated: 2014_10_12_100000_create_password_resets_table (72.05ms)Migrating: 2018_06_12_111907_create_admins_tableMigrated: 2018_06_12_111907_create_admins_table (64.63ms)Migrating: 2018_06_13_055341_create_roles_tableIn Connection.php line 678: SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error i n your SQL syntax; check the manual that corresponds to your MySQL server v ersion for the right syntax to use near 'json null, created_at timestamp null, updated_at timestamp null) default cha' at line 1 (SQL: create tabl e roles (id int unsigned not null auto_increment primary key, name va rchar(191) not null, description varchar(191) null, permission_type var char(191) not null, permissions json null, created_at timestamp null, updated_at timestamp null) default character set utf8mb4 collate 'utf8mb4_ unicode_ci' engine = InnoDB ROW_FORMAT=DYNAMIC)In Exception.php line 18: SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error i n your SQL syntax; check the manual that corresponds to your MySQL server v ersion for the right syntax to use near 'json null, created_at timestamp null, updated_at timestamp null) default cha' at line 1In PDOConnection.php line 79: SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error i n your SQL syntax; check the manual that corresponds to your MySQL server v ersion for the right syntax to use near 'json null, created_at timestamp null, updated_at timestamp null) default cha' at line 1

            1 Reply Last reply Reply Quote 0
            • T
              tk last edited by

              i used master branch
              if master is not the case then which to switch to >>
              http://cloudupp.herokuapp.com/open-file?file=file_06222021025019.png

              1 Reply Last reply Reply Quote 0
              • T
                tk last edited by

                on another server from digital ocean >>
                http://cloudupp.herokuapp.com/open-file?file=image_06222021030907.png
                what is this ?

                1 Reply Last reply Reply Quote 0
                • T
                  tk last edited by

                  how to get my mail server ?

                  1 Reply Last reply Reply Quote 0
                  • T
                    tk last edited by

                    got it working on digital ocean , heroku didnt work , error seen above
                    can someone help me configure this ?
                    to a bookshop ?>

                    1 Reply Last reply Reply Quote 0
                    • devansh-webkul
                      devansh-webkul last edited by devansh-webkul

                      @tk,

                      Everything is fine, your MySQL is a lower version please check the documentation and used the supported version.

                      1 Reply Last reply Reply Quote 0
                      • T
                        tk last edited by

                        I USED HEROKU

                        1 Reply Last reply Reply Quote 0
                        • T
                          tk last edited by

                          and freedb ,

                          1 Reply Last reply Reply Quote 0
                          • T
                            tk last edited by

                            its cleardb
                            9e7827e9-6182-4710-8073-ec31a928d09b-image.png

                            1 Reply Last reply Reply Quote 0
                            • devansh-webkul
                              devansh-webkul last edited by

                              Hi, Please mention your mysql version.

                              1 Reply Last reply Reply Quote 0
                              • T
                                tk last edited by

                                not written , please check with cleardb

                                1 Reply Last reply Reply Quote 0
                                • devansh-webkul
                                  devansh-webkul last edited by

                                  Hi @tk,

                                  But the error clearly signifies that it can't support JSON type. Please contact your provider.

                                  1 Reply Last reply Reply Quote 0
                                  • T
                                    tk last edited by

                                    this is the add on from heroku , clear db. what shall i tell them ?

                                    1 Reply Last reply Reply Quote 0
                                    • devansh-webkul
                                      devansh-webkul last edited by

                                      Gi @tk,

                                      If you are running Bagisto, then the database should be supported with JSON types. I already told you about this. You can check the documentation guide also.

                                      1 Reply Last reply Reply Quote 0
                                      • First post
                                        Last post