Jump to content

mbo

Members
  • Posts

    11
  • Joined

  • Last visited

Everything posted by mbo

  1. Here is the final final solution Here is the detail 1. wget --header="TOKEN:secured_token" "http://mbo.helioho.st/cgi-bin/my_script_for_build.py" : this cgi script contains the commands that run "npm install" + "npm run build" 2. touch tmp/restart.txt : after "npm run build" I need to restart the Node JS application, according to Plesk documentation it can be done by creating a file named "restart.txt" in folder "tmp" 3. wget "http://mbo.helioho.st/api/version" : when creating the file "tmp/restart.txt" the server will restart after the next request, that's why I immediately send a request to my application in order it to restart immediately after my new build
  2. Hi @wolstech thank you for the fix, it solves my issue. Before creating the post I tried to disable Plesk SSL redirect, I didn't know I had to wait 2 hours so it didn't work, but now everything is fine. Concerning your remark concerning the mime type, I pretty sure that it is not related to my problem because I had the issue for a cgi script that returns a response with text/plain mime type.
  3. Hi, I am on Tommy server and my username is mbo. I have an error when I run the following command in git deploy actions curl "https://mbo.helioho.st/api/version" Here is the error I tried with wget wget "https://mbo.helioho.st/api/version" But I have the following error
  4. Thank you for this update @wolstech for this update I think it worked. I just need to trigger Node JS app restart after the build in CGI script. If you have any suggestion to do that it will be more than welcome 😄 otherwise I will google for it. By the way happy new year to all the team 🎉🎊
  5. Hi @wolstech Thank you for your answer. Do you have any suggestion to solve my issue? If I create a shell script that calls npm and I call the shell script in git deploy action, will I have same problem? Best regards
  6. I tried this but it didn't work I got this error
  7. Hi, I am on Tommy server and I use npm version 23.5.0. I want to run npm script after pulling the code from github, I have entered npm run-script build in "Deploy action" But I got the error " line 1: nodenv: command not found ". Can you tell me how to run the command "npm run-script build" right after pull? Best regards
  8. Thank you very much for your responsiveness!
  9. Thanx a lot @Krydos
  10. Hi @Krydos @MoneyBroz @wolstech, I hope this message finds you well. I would like to request the addition of a new domain. Based on my research in the forum, it appears that only an admin can perform this action. Could you kindly assist me with this? Here is the information for the new domain: new domain: mbo-wp.helioho.st Server: Tommy username: mbo Thank you in advance for your help. Please let me know if you need any additional information. Best regards
  11. Hi, I have the following error when trying to remotely access my Postgres database no pg_hba.conf entry for host "XX.XX.XX.XX", user "mbo_agency", database "mbo_agency_services", SSL on How can I grant access? Best regards
×
×
  • Create New...