Krayin Forum

    Krayin

    • Register
    • Login
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    1. Home
    2. United_MFO
    U
    • Profile
    • Following 0
    • Followers 0
    • Topics 3
    • Posts 7
    • Best 0
    • Controversial 0
    • Groups 0

    United_MFO

    @United_MFO

    0
    Reputation
    1
    Profile views
    7
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    United_MFO Unfollow Follow

    Latest posts made by United_MFO

    • RE: Deploy Krayin with heroku

      @Rishabh-Webkul it's not a specific problem.

      I want to understand the best way to deploy to heroku, whether it's via CLI or connected to GITHUB.

      in the deployment connected to GITHUB, when the deployment is done, it stays on the krayin installation screen forever, even after entering the database data, it doesn't install, is that right?

      posted in General Discussion
      U
      United_MFO
    • Deploy Krayin with heroku

      i was given this link as a guide to upload the krayin crm to heroku :
      https://cloudkul.com/blog/how-to-deploy-bagisto-on-heroku/

      But in this link it says to upload the application to heroku with the dependencies using the command “git add -f .”, but I'm having trouble updating the crm and uploading the updates to github because I don't want to upload these dependencies to github for security reasons. I've tried uploading the application without the dependencies to heroku either using the CLI or connected directly to GitHub, the application goes up and is on a screen to enter the database credentials, I put the credentials and install, but it does not leave the “installing krayin” screen, I would like to know how I can proceed? if I can only upload my application along with the dependencies or if there is another way?

      posted in General Discussion
      U
      United_MFO
    • RE: Deploy with Heroku

      @Rishabh-Webkul I managed to deploy, thank you.

      However, with the application live, when doing a small action like deleting a contact, I received an error of "CSRF token mismatch.", how can I fix it?

      posted in Comments & Feedback
      U
      United_MFO
    • RE: Deploy with Heroku

      here are the logs after connecting to the bank, deploying, running the migrations, seeders, giving the command “heroku run php artisan krayin-crm:install”, restarting, clearing the cache and running “heroku open” :

      2024-12-18T18:36:41.361030+00:00 app[api]: Set DB_HOST config vars by user contato@unitedmfo.com.br
      2024-12-18T18:36:49.375133+00:00 app[api]: Release v9 created by user contato@unitedmfo.com.br
      2024-12-18T18:36:49.375133+00:00 app[api]: Set DB_PORT config vars by user contato@unitedmfo.com.br
      2024-12-18T18:37:03.397327+00:00 app[api]: Release v10 created by user contato@unitedmfo.com.br
      2024-12-18T18:37:03.397327+00:00 app[api]: Set DB_DATABASE config vars by user contato@unitedmfo.com.br
      2024-12-18T18:37:12.272153+00:00 app[api]: Release v11 created by user contato@unitedmfo.com.br
      2024-12-18T18:37:12.272153+00:00 app[api]: Set DB_USERNAME config vars by user contato@unitedmfo.com.br
      2024-12-18T18:37:26.025458+00:00 app[api]: Release v12 created by user contato@unitedmfo.com.br
      2024-12-18T18:37:26.025458+00:00 app[api]: Set DB_PASSWORD config vars by user contato@unitedmfo.com.br
      2024-12-18T18:47:11.944820+00:00 app[api]: Starting process with command php artisan migrate --force by user contato@unitedmfo.com.br
      2024-12-18T18:47:12.578820+00:00 heroku[run.3419]: State changed from starting to up
      2024-12-18T18:47:15.683159+00:00 heroku[run.3419]: Process exited with status 127
      2024-12-18T18:47:15.713343+00:00 heroku[run.3419]: State changed from up to complete
      2024-12-18T18:50:17.000000+00:00 app[api]: Build started by user contato@unitedmfo.com.br
      2024-12-18T18:51:28.733836+00:00 app[api]: Deploy 8bf70893 by user contato@unitedmfo.com.br
      2024-12-18T18:51:28.733836+00:00 app[api]: Release v13 created by user contato@unitedmfo.com.br
      2024-12-18T18:51:28.758337+00:00 app[api]: Scaled to web@1:Basic by user contato@unitedmfo.com.br
      2024-12-18T18:51:32.000000+00:00 app[api]: Build succeeded
      2024-12-18T18:51:32.818267+00:00 heroku[web.1]: Starting process with command vendor/bin/heroku-php-apache2 public/
      2024-12-18T18:51:33.947101+00:00 app[web.1]: DOCUMENT_ROOT changed to 'public/'
      2024-12-18T18:51:34.066734+00:00 app[web.1]: Available RAM is 512M Bytes
      2024-12-18T18:51:34.066762+00:00 app[web.1]: PHP memory_limit is 128M Bytes
      2024-12-18T18:51:34.073793+00:00 app[web.1]: Starting php-fpm with 4 workers...
      2024-12-18T18:51:34.176454+00:00 app[web.1]: Starting httpd...
      2024-12-18T18:51:34.568852+00:00 heroku[web.1]: State changed from starting to up
      2024-12-18T18:56:40.281449+00:00 app[api]: Starting process with command php artisan migrate --force by user contato@unitedmfo.com.br
      2024-12-18T18:56:46.282446+00:00 heroku[run.9827]: State changed from starting to up
      2024-12-18T18:56:49.763652+00:00 heroku[run.9827]: Process exited with status 1
      2024-12-18T18:56:49.789579+00:00 heroku[run.9827]: State changed from up to complete
      2024-12-18T18:59:01.539886+00:00 app[api]: Release v14 created by user contato@unitedmfo.com.br
      2024-12-18T18:59:01.539886+00:00 app[api]: Set DB_HOST config vars by user contato@unitedmfo.com.br
      2024-12-18T18:59:01.909594+00:00 heroku[web.1]: Restarting
      2024-12-18T18:59:01.964010+00:00 heroku[web.1]: State changed from up to starting
      2024-12-18T18:59:02.654487+00:00 heroku[web.1]: Stopping all processes with SIGTERM
      2024-12-18T18:59:02.677358+00:00 app[web.1]: SIGTERM received, attempting graceful shutdown...
      2024-12-18T18:59:02.677539+00:00 app[web.1]: Stopping httpd gracefully...
      2024-12-18T18:59:03.691119+00:00 app[web.1]: Stopping php-fpm gracefully...
      2024-12-18T18:59:03.716799+00:00 app[web.1]: Shutdown complete.
      2024-12-18T18:59:03.758038+00:00 heroku[web.1]: Process exited with status 143
      2024-12-18T18:59:07.131792+00:00 heroku[web.1]: Starting process with command vendor/bin/heroku-php-apache2 public/
      2024-12-18T18:59:08.793769+00:00 app[web.1]: DOCUMENT_ROOT changed to 'public/'
      2024-12-18T18:59:08.970988+00:00 app[web.1]: Available RAM is 512M Bytes
      2024-12-18T18:59:08.970990+00:00 app[web.1]: PHP memory_limit is 128M Bytes
      2024-12-18T18:59:08.988992+00:00 app[web.1]: Starting php-fpm with 4 workers...
      2024-12-18T18:59:09.090305+00:00 app[web.1]: Starting httpd...
      2024-12-18T18:59:09.685160+00:00 heroku[web.1]: State changed from starting to up
      2024-12-18T18:59:12.742855+00:00 heroku[web.1]: Restarting
      2024-12-18T18:59:12.793151+00:00 heroku[web.1]: State changed from up to starting
      2024-12-18T18:59:13.582195+00:00 heroku[web.1]: Stopping all processes with SIGTERM
      2024-12-18T18:59:13.621128+00:00 app[web.1]: SIGTERM received, attempting graceful shutdown...
      2024-12-18T18:59:13.621140+00:00 app[web.1]: Stopping httpd gracefully...
      2024-12-18T18:59:14.634458+00:00 app[web.1]: Stopping php-fpm gracefully...
      2024-12-18T18:59:14.659370+00:00 app[web.1]: Shutdown complete.
      2024-12-18T18:59:14.714247+00:00 heroku[web.1]: Process exited with status 143
      2024-12-18T18:59:16.777296+00:00 heroku[web.1]: Starting process with command vendor/bin/heroku-php-apache2 public/
      2024-12-18T18:59:18.183950+00:00 app[web.1]: DOCUMENT_ROOT changed to 'public/'
      2024-12-18T18:59:18.331406+00:00 app[web.1]: Available RAM is 512M Bytes
      2024-12-18T18:59:18.331432+00:00 app[web.1]: PHP memory_limit is 128M Bytes
      2024-12-18T18:59:18.348757+00:00 app[web.1]: Starting php-fpm with 4 workers...
      2024-12-18T18:59:18.453748+00:00 app[web.1]: Starting httpd...
      2024-12-18T18:59:18.537610+00:00 heroku[web.1]: State changed from starting to up
      2024-12-18T18:59:28.213151+00:00 app[api]: Starting process with command php artisan migrate --force by user contato@unitedmfo.com.br
      2024-12-18T18:59:32.789815+00:00 heroku[run.1008]: State changed from starting to up
      2024-12-18T18:59:46.879164+00:00 heroku[run.1008]: Process exited with status 0
      2024-12-18T18:59:46.908481+00:00 heroku[run.1008]: State changed from up to complete
      2024-12-18T18:59:56.582810+00:00 app[api]: Starting process with command php artisan db:seed --force by user contato@unitedmfo.com.br
      2024-12-18T19:00:01.160359+00:00 heroku[run.1961]: State changed from starting to up
      2024-12-18T19:00:06.671741+00:00 heroku[run.1961]: Process exited with status 0
      2024-12-18T19:00:06.696104+00:00 heroku[run.1961]: State changed from up to complete
      2024-12-18T19:00:15.542505+00:00 app[api]: Starting process with command php artisan krayin-crm:install by user contato@unitedmfo.com.br
      2024-12-18T19:00:21.010125+00:00 heroku[run.3310]: State changed from starting to up
      2024-12-18T19:01:48.340368+00:00 heroku[run.3310]: Process exited with status 0
      2024-12-18T19:01:48.359061+00:00 heroku[run.3310]: State changed from up to complete
      2024-12-18T19:02:02.744901+00:00 app[api]: Starting process with command touch storage/app/installed by user contato@unitedmfo.com.br
      2024-12-18T19:02:07.446521+00:00 heroku[run.1934]: State changed from starting to up
      2024-12-18T19:02:10.574882+00:00 heroku[run.1934]: Process exited with status 0
      2024-12-18T19:02:10.598878+00:00 heroku[run.1934]: State changed from up to complete
      2024-12-18T19:02:22.416574+00:00 app[api]: Starting process with command php artisan config:clear by user contato@unitedmfo.com.br
      2024-12-18T19:02:27.627277+00:00 heroku[run.2330]: State changed from starting to up
      2024-12-18T19:02:31.657353+00:00 heroku[run.2330]: Process exited with status 0
      2024-12-18T19:02:31.683923+00:00 heroku[run.2330]: State changed from up to complete
      2024-12-18T19:04:39.475769+00:00 heroku[web.1]: Restarting
      2024-12-18T19:04:39.524379+00:00 heroku[web.1]: State changed from up to starting
      2024-12-18T19:04:40.137142+00:00 heroku[web.1]: Stopping all processes with SIGTERM
      2024-12-18T19:04:40.162034+00:00 app[web.1]: SIGTERM received, attempting graceful shutdown...
      2024-12-18T19:04:40.162238+00:00 app[web.1]: Stopping httpd gracefully...
      2024-12-18T19:04:41.175900+00:00 app[web.1]: Stopping php-fpm gracefully...
      2024-12-18T19:04:41.197831+00:00 app[web.1]: Shutdown complete.
      2024-12-18T19:04:41.259908+00:00 heroku[web.1]: Process exited with status 143
      2024-12-18T19:04:43.670974+00:00 heroku[web.1]: Starting process with command vendor/bin/heroku-php-apache2 public/
      2024-12-18T19:04:44.875657+00:00 app[web.1]: DOCUMENT_ROOT changed to 'public/'
      2024-12-18T19:04:44.986143+00:00 app[web.1]: Available RAM is 512M Bytes
      2024-12-18T19:04:44.986172+00:00 app[web.1]: PHP memory_limit is 128M Bytes
      2024-12-18T19:04:44.992827+00:00 app[web.1]: Starting php-fpm with 4 workers...
      2024-12-18T19:04:45.094100+00:00 app[web.1]: Starting httpd...
      2024-12-18T19:04:45.283006+00:00 heroku[web.1]: State changed from starting to up
      2024-12-18T19:05:32.837564+00:00 app[web.1]: 10.1.53.218 - - [18/Dec/2024:19:05:32 +0000] "GET / HTTP/1.1" 302 454 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36
      2024-12-18T19:05:32.838096+00:00 heroku[router]: at=info method=GET path="/" host=crm-united-111717f13027.herokuapp.com request_id=f326c3c0-6f02-49af-9724-180f6571e1aa fwd="45.6.96.13" dyno=web.1 connect=0ms service=170ms status=302 bytes=726 protocol=https
      2024-12-18T19:05:33.059701+00:00 app[web.1]: 10.1.53.218 - - [18/Dec/2024:19:05:32 +0000] "GET /install HTTP/1.1" 200 241221 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36
      2024-12-18T19:05:33.069221+00:00 heroku[router]: at=info method=GET path="/install" host=crm-united-111717f13027.herokuapp.com request_id=a09ee0b0-af6f-4c60-8cc5-c6cbbe87a89f fwd="45.6.96.13" dyno=web.1 connect=0ms service=88ms status=200 bytes=242562 protocol=https

      posted in Comments & Feedback
      U
      United_MFO
    • RE: Deploy with Heroku

      @Rishabh-Webkul what should my procfile look like?

      posted in Comments & Feedback
      U
      United_MFO
    • Deploy with Heroku

      I'm trying to upload the crm to Heroku with the JAWSDB database with MYSQL, but I'm not succeeding.

      I create the app on Heroku, connect it to my repository where the crm is, my repository already contains the Procfile file, I deploy it, connect it to the bank, pass in the correct credentials, run the command “heroku run php artisan krayin-crm:install”, fill in all the credentials, and when I run “heroku open” it opens the link with the url at the end “installer”, as if it hadn't installed properly, I don't know what to do, could you please guide me?

      On the heroku platform, the environment variables are all set up correctly.

      Translated with DeepL.com (free version)

      posted in Comments & Feedback
      U
      United_MFO
    • How can I change Krayin's logo to my logo

      How can I change the Krayin logo to my logo, what steps should I follow and where should I change it?

      posted in General Discussion
      U
      United_MFO