Jump to content

Krydos

Chief Executive Officer
  • Posts

    24,612
  • Joined

  • Last visited

  • Days Won

    871

Everything posted by Krydos

  1. Morty Apache restarts take between 4 to 9 seconds over the last month, so it would be impossible to see a 504 error because the restart needs to take more than 30 to 60 seconds seconds for it to actually timeout. During a 9 second Apache restart the page would just spin for an extra couple seconds during loading, and then display the website without any error. Nobody is ever even going to notice that, and it would be indistinguishable from your internet lagging slightly. Right now Morty has 608 virtualhosts so we would likely need to triple or quadruple that number in order for a 504 error to be possible. 503 error on a PHP script is likely the PHP script running for too long and getting killed. Perhaps try benchmarking your PHP scripts and see how long they are running for. Your load looks fine so we could increase your PHP timeout if you need, but it might not be necessary if you can optimize your code to not have to run for so long.
  2. WSGI control access has been enabled on the domain gdjkhp.heliohost.us. To restart your Flask app and load new code changes in simply edit /home/gdjkhp.heliohost.us/httpdocs/flask.wsgi. Adding a blank line, removing a blank line, adding a space, or removing a space are examples of editing the file. As long as the last modified timestamp changes it will clear the server cache. Let us know if you run into any issues.
  3. HelioHost has released a new YouTube video on how to install Nginx on a VPS. Check it out and subscribe at https://youtu.be/zHwWs7Tt2zc We are going to try to continue releasing new videos every 2 weeks, because some users find it much easier to follow a video guide rather than reading the text guides we have at https://wiki.helionet.org Please let us know if there is a specific topic that you think would be good for our next video. Also if you don't mind subscribing to our YouTube channel that would be a great way to get some free advertising. We are a small non-profit funded by donations so we don't have a huge budget to afford paid advertising, so the more word of mouth recommendations, the more social media likes, and the more subscribes we can get goes a long ways towards finding more users and continuing to grow. Even if you can't donate, this is a great way to help us for free. Thanks!
      • 1
      • Like
  4. Your VPS is being rebuilt and you'll get an email in about 7 minutes when it is done. Your next free rebuild will be available on 2025-05-20. Let us know if you need help with anything else.
  5. WSGI control access has been enabled on the domain arniskali.com. To restart your Flask app and load new code changes in simply edit /home/talesaz.heliohost.us/arniskali.com/bma/flask.wsgi. Adding a blank line, removing a blank line, adding a space, or removing a space are examples of editing the file. As long as the last modified timestamp changes it will clear the server cache. Let us know if you run into any issues. WSGI control access has been enabled on the domain thelema93.com.br. To restart your Flask app and load new code changes in simply edit /home/talesaz.heliohost.us/thelema93.com.br/oeto/flask.wsgi. Adding a blank line, removing a blank line, adding a space, or removing a space are examples of editing the file. As long as the last modified timestamp changes it will clear the server cache. Let us know if you run into any issues.
  6. Installed. You can see the current list of installed modules for Morty's Python 3.12 at https://krydos3.heliohost.org/pyinfo/info3.12.py Keep in mind that you don't have WSGI restart access on any of your domains right now, so after you change code you may see the old code and the old errors popping up again. If you want WSGI access again just let us know which domain you're using now.
  7. When you upgrade your VPS you are presented with this message. If you have a suggestion on how to make that clearer please let us know. Your VPS has been upgraded to 10 GB memory as requested. I've already suggested you request a free rebuild several times, and that is definitely still applicable. Your VPS has crashed so many times that the filesystem is a mess, and it seems like a ton of permissions on important files and directories are all messed up as well. A rebuild would wipe the whole thing, and reinstall the operating system back to the original state when you first purchased it, so make sure you have a backup of any important files first if you do decide to take my advice.
  8. I'm confused. You requested and I enabled WSGI restart access on talesaz.heliohost.us. But now you're posting logs from a different domain. Which domain are you trying to run Flask on?
  9. I just re-enabled the WSGI access and it should go into effect after the next Apache restart.
  10. Installed. You can see the current list of installed modules on Morty's Python 3.12 at https://krydos3.heliohost.org/pyinfo/info3.12.py
  11. If 99.47% uptime isn't good enough you can always upgrade to Morty which has 100% uptime at https://heliohost.org/dashboard/move/ If you are planning on moving over you can let us know what Python modules you need in advance since they don't move with you.
  12. We can't set up DKIM, SPF, and DMARC for you because you're not using our nameservers. You either need to change your NS records to ns1.heliohost.org and ns2.heliohost.org or set up DKIM, SPF, and DMARC yourself on registrar-servers.com.
  13. Probably not. I tried changing your password several times, and Plesk didn't update the git password correctly. I suspect if you change your account password the git password will remain the same as the one I emailed you.
  14. I tested this by changing your password, and I can confirm that Plesk is not setting the git password correctly. I have emailed you the new password that I tested git with. Let us know if you can access your repo with that password.
  15. This forum account has been deleted as requested. You should be able to change your other forum account email now.
  16. Try this Login at https://heliohost.org/login/ Continue to Plesk Click your username in the top right corner Click edit profile Change the password Go to https://ygo.helioho.st/plesk-git/comforting.git/ Try logging in with the new password
  17. A wiki account has been created for you, and the instructions on how to login and set a password have been emailed to you. Thanks in advance for your contributions to our wiki.
  18. WSGI control access has been enabled on the domain arniskali.com. To restart your Flask app and load new code changes in simply edit /home/talesaz.heliohost.us/arniskali.com/bma/flask.wsgi. Adding a blank line, removing a blank line, adding a space, or removing a space are examples of editing the file. As long as the last modified timestamp changes it will clear the server cache. Let us know if you run into any issues.
  19. WSGI control access has been enabled on the domain thelema93.com.br. To restart your Flask app and load new code changes in simply edit /home/talesaz.heliohost.us/thelema93.com.br/oeto/flask.wsgi. Adding a blank line, removing a blank line, adding a space, or removing a space are examples of editing the file. As long as the last modified timestamp changes it will clear the server cache. Let us know if you run into any issues.
  20. The domain thelema93.com.br has been added to your account.
  21. WSGI control access has been enabled on the domain talesazoeto.heliohost.us. To restart your Flask app and load new code changes in simply edit /home/talesaz.heliohost.us/talesazoeto.heliohost.us/oeto/flask.wsgi. Adding a blank line, removing a blank line, adding a space, or removing a space are examples of editing the file. As long as the last modified timestamp changes it will clear the server cache. Let us know if you run into any issues.
  22. Still the same thing [Wed Apr 16 16:12:21.564404 2025] [wsgi:error] [pid 3963178:tid 3963190] [remote x.x.x.x:47984] raise OperationalError("MySQL Connection not available.") I have a connection monitoring script running. Try to trigger the error, or give me a URL I can refresh to see if I can cause the error to happen.
  23. One of the reasons I don't like Python very much [Wed Apr 16 15:13:59.541642 2025] [wsgi:error] [pid 3394794:tid 3394834] [remote x.x.x.x:57302] mod_wsgi (pid=3394794): Failed to exec Python script file '/home/talesaz.heliohost.us/httpdocs/bma/flask.wsgi'. [Wed Apr 16 15:13:59.541971 2025] [wsgi:error] [pid 3394794:tid 3394834] [remote x.x.x.x:57302] mod_wsgi (pid=3394794): Exception occurred processing WSGI script '/home/talesaz.heliohost.us/httpdocs/bma/flask.wsgi'. [Wed Apr 16 15:13:59.542404 2025] [wsgi:error] [pid 3394794:tid 3394834] [remote x.x.x.x:57302] Traceback (most recent call last): [Wed Apr 16 15:13:59.543014 2025] [wsgi:error] [pid 3394794:tid 3394834] [remote x.x.x.x:57302] File "/home/talesaz.heliohost.us/httpdocs/bma/flask.wsgi", line 9, in <module> [Wed Apr 16 15:13:59.543061 2025] [wsgi:error] [pid 3394794:tid 3394834] [remote x.x.x.x:57302] from run import app as application [Wed Apr 16 15:13:59.543106 2025] [wsgi:error] [pid 3394794:tid 3394834] [remote x.x.x.x:57302] File "/home/talesaz.heliohost.us/httpdocs/bma/run.py", line 1, in <module> [Wed Apr 16 15:13:59.543137 2025] [wsgi:error] [pid 3394794:tid 3394834] [remote x.x.x.x:57302] from app import app [Wed Apr 16 15:13:59.543179 2025] [wsgi:error] [pid 3394794:tid 3394834] [remote x.x.x.x:57302] File "/home/talesaz.heliohost.us/httpdocs/bma/app/__init__.py", line 6, in <module> [Wed Apr 16 15:13:59.543197 2025] [wsgi:error] [pid 3394794:tid 3394834] [remote x.x.x.x:57302] from config import Config # Importa o arquivo de configura\xc3\xa7\xc3\xa3o [Wed Apr 16 15:13:59.543208 2025] [wsgi:error] [pid 3394794:tid 3394834] [remote x.x.x.x:57302] ^^^^^^^^^^^^^^^^^^^^^^^^^ [Wed Apr 16 15:13:59.543271 2025] [wsgi:error] [pid 3394794:tid 3394834] [remote x.x.x.x:57302] File "/home/talesaz.heliohost.us/httpdocs/bma/config.py", line 5 [Wed Apr 16 15:13:59.543323 2025] [wsgi:error] [pid 3394794:tid 3394834] [remote x.x.x.x:57302] \tSQLALCHEMY_ENGINE_OPTIONS = { [Wed Apr 16 15:13:59.543380 2025] [wsgi:error] [pid 3394794:tid 3394834] [remote x.x.x.x:57302] ^ [Wed Apr 16 15:13:59.543423 2025] [wsgi:error] [pid 3394794:tid 3394834] [remote x.x.x.x:57302] TabError: inconsistent use of tabs and spaces in indentation
  24. That doesn't give a lot of information. Maybe it's timing out? Try this again, and when you get the 500 error let me know the timestamp and I'll see if there are any more information in the logs that you can't access.
  25. [Tue Apr 15 23:37:05.906471 2025] [wsgi:error] [pid 291720:tid 291730] [remote 186.205.7.186:53756] ret = self._execute_context( [Tue Apr 15 23:37:05.906475 2025] [wsgi:error] [pid 291720:tid 291730] [remote 186.205.7.186:53756] ^^^^^^^^^^^^^^^^^^^^^^ [Tue Apr 15 23:37:05.906480 2025] [wsgi:error] [pid 291720:tid 291730] [remote 186.205.7.186:53756] File "/usr/local/python3.12/lib/python3.12/site-packages/sqlalchemy/engine/base.py", line 1818, in _execute_context [Tue Apr 15 23:37:05.906484 2025] [wsgi:error] [pid 291720:tid 291730] [remote 186.205.7.186:53756] self._handle_dbapi_exception( [Tue Apr 15 23:37:05.906489 2025] [wsgi:error] [pid 291720:tid 291730] [remote 186.205.7.186:53756] File "/usr/local/python3.12/lib/python3.12/site-packages/sqlalchemy/engine/base.py", line 2352, in _handle_dbapi_exception [Tue Apr 15 23:37:05.906495 2025] [wsgi:error] [pid 291720:tid 291730] [remote 186.205.7.186:53756] raise sqlalchemy_exception.with_traceback(exc_info[2]) from e [Tue Apr 15 23:37:05.906499 2025] [wsgi:error] [pid 291720:tid 291730] [remote 186.205.7.186:53756] File "/usr/local/python3.12/lib/python3.12/site-packages/sqlalchemy/engine/base.py", line 1812, in _execute_context [Tue Apr 15 23:37:05.906504 2025] [wsgi:error] [pid 291720:tid 291730] [remote 186.205.7.186:53756] context = constructor( [Tue Apr 15 23:37:05.906509 2025] [wsgi:error] [pid 291720:tid 291730] [remote 186.205.7.186:53756] ^^^^^^^^^^^^ [Tue Apr 15 23:37:05.906513 2025] [wsgi:error] [pid 291720:tid 291730] [remote 186.205.7.186:53756] File "/usr/local/python3.12/lib/python3.12/site-packages/sqlalchemy/engine/default.py", line 1429, in _init_compiled [Tue Apr 15 23:37:05.906518 2025] [wsgi:error] [pid 291720:tid 291730] [remote 186.205.7.186:53756] self.cursor = self.create_cursor() [Tue Apr 15 23:37:05.906523 2025] [wsgi:error] [pid 291720:tid 291730] [remote 186.205.7.186:53756] ^^^^^^^^^^^^^^^^^^^^ [Tue Apr 15 23:37:05.906527 2025] [wsgi:error] [pid 291720:tid 291730] [remote 186.205.7.186:53756] File "/usr/local/python3.12/lib/python3.12/site-packages/sqlalchemy/engine/default.py", line 1768, in create_cursor [Tue Apr 15 23:37:05.906532 2025] [wsgi:error] [pid 291720:tid 291730] [remote 186.205.7.186:53756] return self.create_default_cursor() [Tue Apr 15 23:37:05.906536 2025] [wsgi:error] [pid 291720:tid 291730] [remote 186.205.7.186:53756] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [Tue Apr 15 23:37:05.906541 2025] [wsgi:error] [pid 291720:tid 291730] [remote 186.205.7.186:53756] File "/usr/local/python3.12/lib/python3.12/site-packages/sqlalchemy/dialects/mysql/mysqlconnector.py", line 59, in create_default_cursor [Tue Apr 15 23:37:05.906546 2025] [wsgi:error] [pid 291720:tid 291730] [remote 186.205.7.186:53756] return self._dbapi_connection.cursor(buffered=True) [Tue Apr 15 23:37:05.906550 2025] [wsgi:error] [pid 291720:tid 291730] [remote 186.205.7.186:53756] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [Tue Apr 15 23:37:05.906555 2025] [wsgi:error] [pid 291720:tid 291730] [remote 186.205.7.186:53756] File "/usr/local/python3.12/lib/python3.12/site-packages/sqlalchemy/pool/base.py", line 1486, in cursor [Tue Apr 15 23:37:05.906560 2025] [wsgi:error] [pid 291720:tid 291730] [remote 186.205.7.186:53756] return self.dbapi_connection.cursor(*args, **kwargs) [Tue Apr 15 23:37:05.906564 2025] [wsgi:error] [pid 291720:tid 291730] [remote 186.205.7.186:53756] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [Tue Apr 15 23:37:05.906569 2025] [wsgi:error] [pid 291720:tid 291730] [remote 186.205.7.186:53756] File "/usr/local/python3.12/lib/python3.12/site-packages/mysql/connector/connection_cext.py", line 824, in cursor [Tue Apr 15 23:37:05.906573 2025] [wsgi:error] [pid 291720:tid 291730] [remote 186.205.7.186:53756] raise OperationalError("MySQL Connection not available.") [Tue Apr 15 23:37:05.906581 2025] [wsgi:error] [pid 291720:tid 291730] [remote 186.205.7.186:53756] sqlalchemy.exc.OperationalError: (mysql.connector.errors.OperationalError) MySQL Connection not available. MariaDB hasn't restarted for 8 hours, and has had 100% uptime during this error. How many database connections are you using? We limit people to 10 connections so if you try to open more than 10 connections it would explain why you can't open more connections. We used to offer unlimited database connections, but some jerk decided to take advantage of our generosity by opening 173 connections and never closing any of them. One jerk always ruins the fun for everyone else.
×
×
  • Create New...