-
Posts
26430 -
Joined
-
Last visited
-
Days Won
944
Everything posted by Krydos
-
[Krydos] Django+Postgres (migration) and Logging
Krydos replied to an4s911's topic in Escalated Requests
Remote access enabled. host=65.19.154.90 port=5432 user=an4s911_admin dbname=an4s911_anas password=<set in Plesk> [Mon Apr 28 23:41:41.088433 2025] [wsgi:error] [pid 1035813:tid 1035826] [remote x.x.x.x:58584] return _bootstrap._gcd_import(name[level:], package, level) [Mon Apr 28 23:41:41.088443 2025] [wsgi:error] [pid 1035813:tid 1035826] [remote x.x.x.x:58584] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [Mon Apr 28 23:41:41.088454 2025] [wsgi:error] [pid 1035813:tid 1035826] [remote x.x.x.x:58584] File "<frozen importlib._bootstrap>", line 1387, in _gcd_import [Mon Apr 28 23:41:41.088464 2025] [wsgi:error] [pid 1035813:tid 1035826] [remote x.x.x.x:58584] File "<frozen importlib._bootstrap>", line 1360, in _find_and_load [Mon Apr 28 23:41:41.088473 2025] [wsgi:error] [pid 1035813:tid 1035826] [remote x.x.x.x:58584] File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked [Mon Apr 28 23:41:41.088482 2025] [wsgi:error] [pid 1035813:tid 1035826] [remote x.x.x.x:58584] File "<frozen importlib._bootstrap>", line 935, in _load_unlocked [Mon Apr 28 23:41:41.088491 2025] [wsgi:error] [pid 1035813:tid 1035826] [remote x.x.x.x:58584] File "<frozen importlib._bootstrap_external>", line 995, in exec_module [Mon Apr 28 23:41:41.088509 2025] [wsgi:error] [pid 1035813:tid 1035826] [remote x.x.x.x:58584] File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed [Mon Apr 28 23:41:41.088519 2025] [wsgi:error] [pid 1035813:tid 1035826] [remote x.x.x.x:58584] File "/home/anasbashir.helioho.st/httpdocs/library_app/migrations/0001_initial.py", line 7, in <module> [Mon Apr 28 23:41:41.088529 2025] [wsgi:error] [pid 1035813:tid 1035826] [remote x.x.x.x:58584] class Migration(migrations.Migration): [Mon Apr 28 23:41:41.088538 2025] [wsgi:error] [pid 1035813:tid 1035826] [remote x.x.x.x:58584] File "/home/anasbashir.helioho.st/httpdocs/library_app/migrations/0001_initial.py", line 59, in Migration [Mon Apr 28 23:41:41.088549 2025] [wsgi:error] [pid 1035813:tid 1035826] [remote x.x.x.x:58584] 'constraints': [models.CheckConstraint(condition=models.Q(('is_borrowed', False), ('returned_date__isnull', True), _connector='OR'), name='borrow_returned_implies_not_borrowed_check'), models.UniqueConstraint(condition=models.Q(('is_borrowed', True)), fields=('book',), name='borrow_unique_active_borrow_per_book')], [Mon Apr 28 23:41:41.088561 2025] [wsgi:error] [pid 1035813:tid 1035826] [remote x.x.x.x:58584] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [Mon Apr 28 23:41:41.088572 2025] [wsgi:error] [pid 1035813:tid 1035826] [remote x.x.x.x:58584] TypeError: CheckConstraint.__init__() got an unexpected keyword argument 'condition' -
It's because you're trying to use an email address that is already associated with your Morty account that you deleted. I removed the email address from your deleted Morty account, and the new Tommy account created just fine. I sent you a password reset email, and once you click the link in that email to set a new password you should be able to login. Out of curiosity, why did you delete your Morty account only to create a Tommy account again a few days later?
-
[HH#986284] Migrate email from old hosting to Helio
Krydos replied to HelioHost's topic in Email Support
1. Login at https://heliohost.org/login/ 2. Continue to Plesk 3. Click mail in left navigation 4. Click Email Addresses in top tab 5. Locate the email address you would like to configure IMAP for 6. To the right of the email address click Mail Client Setup 7. Click manual setup We do recommend using tommy.heliohost.org as your IMAP and SMTP host though. People tend to get a lot more errors if they use their own domain like Plesk suggests. -
[HH#986284] Migrate email from old hosting to Helio
Krydos replied to HelioHost's topic in Email Support
Looks good! -
[HH#986284] Migrate email from old hosting to Helio
Krydos replied to HelioHost's topic in Email Support
First of all, I specifically said to send a real email, not just the word "test". Instead of sending a real email you just sent the word "test", which is exactly the opposite of what I said to do. Not a big deal, but I find it kind of funny. Second of all since you're using Cloudflare we can't set up DKIM, SPF, or DMARC for you. You'll need to copy them into Cloudflare yourself. SPF: giuliodinatale.it. 14400 IN TXT "v=spf1 ip4:65.19.154.90 ip6:2001:470:1:1ee::1002 ~all" DMARC: _dmarc 14400 IN TXT "v=DMARC1; p=quarantine" DKIM: default._domainkey.giuliodinatale.it. 14400 IN TXT ( "v=DKIM1; k=rsa; p=MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEApve/7F8+sxuSkq08ozYKgaS6Qfe6uERrQh9gXosIiQcE9DAICrFqtuj0fKQionUgb1CBAMssxh9b734wmtJ5nFYPLaD46y/0/s1ZJeiRlYSfR6Zofz1JEapYhtTFg54CQvCSlqzKOIvbNMNP28cBiW+xcutdmYENKkEbb8pgYRAkE+CeETQieeduEUPPPyjWC" "8p6iSAUV/WcXyBvA4qTqeI4g8qJRtfR/DRe+Wrb6ZPvjFk0kHzJNrInMzYbtIfGii8+dEjr20JUz4uyinYM8VKRActo4zFgo3Pab6pUj23v+BORZPCsoJCwY9Xs0vH0ZouqCTUwbOBzUGFJvMgmwQIDAQAB;" ) If you can't figure out how to add those DNS records to Cloudflare you can either contact Cloudflare support for assistance, or if you switch to our DNS we can set them up for you. -
[HH#986284] Migrate email from old hosting to Helio
Krydos replied to HelioHost's topic in Email Support
In your Cloudflare DNS settings you need to create an A record for webmail with the value 65.19.154.90 and an AAAA record for the webmail with the value 2001:470:1:1ee::1002 Keep in mind none of work for Cloudflare, and many of us have never even used Cloudflare, so if you're having trouble with their system you will need to contact Cloudflare support not HelioHost support. If you'd rather use our DNS we can provide support for that. -
[HH#986284] Migrate email from old hosting to Helio
Krydos replied to HelioHost's topic in Email Support
It doesn't look like you've created the webmail subdomain https://dnschecker.org/#A/webmail.giuliodinatale.it Since you're using Cloudflare we can't set this up for you. -
Remote access enabled. host=65.19.154.90 port=5432 user=fudobi_admin_weimburg dbname=fudobi_weimburg password=<set in Plesk>
-
[HH#986284] Migrate email from old hosting to Helio
Krydos replied to HelioHost's topic in Email Support
DKIM, SPF, and DMARC have been set up for the domain giuliodinatale.it. We recommend sending a real email (not just the word "test") to https://www.mail-tester.com/ to make sure that everything is set up correctly. If you get less than a 10/10 score please post a link to the full report so we can help you fix any other issues that there may be. I checked your MX records and they are close to being correct. The MX record with weight 0 is correctly pointed at your HelioHost account, but the MX record with 10 weight is still pointed at your old host so it's possible for you to lose emails unless you delete the extra MX record. Also make sure you create all the necessary email addresses through Plesk. Right now you don't have any email addresses registered so if anyone sent you email they would get a bounceback error saying that email address doesn't exist. -
WSGI control access has been enabled on the domain grafolana.helioho.st. To restart your Flask app and load new code changes in simply edit /home/grafolana.helioho.st/httpdocs/GrafolanaBack/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.
-
Most of those were already installed, but a few were missing. In order to save the staff time in the future if you need to request more modules, please go to https://krydos1.heliohost.org/pyinfo/info3.12.py first and use ctrl-f to search for modules before requesting them. This way it won't waste our time going through a long list of modules to figure out which ones are already installed and which ones actually need to be installed. Thanks.
-
It's kind of funny that they posted from a US IP address saying they can't use a US hosting company because it isn't available in the US. Must be a VPN.
-
I recommend following these steps to transfer your domain to Namecheap registrar instead https://www.namecheap.com/support/knowledgebase/article.aspx/255/83/how-do-i-transfer-my-existing-domain-to-namecheap/
-
[Solved] Request to Install Reportlab Library on Domains
Krydos replied to talesaz's topic in Escalated Requests
Installed. You can see the current list of installed modules and their versions for Morty's Python 3.12 at https://krydos3.heliohost.org/pyinfo/info3.12.py -
Your account has been reset as requested. Click the link in the other email I just sent you, not this one, to finish resetting your account.
-
As long as it's 2 different people with their own account it is fine. 1 person having more than 1 account is what is not allowed.
-
[Solved] Python + Flask - 500 Internal Server Error
Krydos replied to talesaz's topic in Escalated Requests
Still the same as before [Sat Apr 26 13:26:09.435132 2025] [wsgi:error] [pid 2391634:tid 2391645] [remote 186.205.7.186:36982] [2025-04-26 13:26:09,411] ERROR in app: Exception on /turmas/aulas [GET] [Sat Apr 26 13:26:09.435328 2025] [wsgi:error] [pid 2391634:tid 2391645] [remote 186.205.7.186:36982] Traceback (most recent call last): [Sat Apr 26 13:26:09.435339 2025] [wsgi:error] [pid 2391634:tid 2391645] [remote 186.205.7.186:36982] File "/usr/local/python3.12/lib/python3.12/site-packages/sqlalchemy/engine/base.py", line 1812, in _execute_context [Sat Apr 26 13:26:09.435345 2025] [wsgi:error] [pid 2391634:tid 2391645] [remote 186.205.7.186:36982] context = constructor( [Sat Apr 26 13:26:09.435351 2025] [wsgi:error] [pid 2391634:tid 2391645] [remote 186.205.7.186:36982] ^^^^^^^^^^^^ [Sat Apr 26 13:26:09.435356 2025] [wsgi:error] [pid 2391634:tid 2391645] [remote 186.205.7.186:36982] File "/usr/local/python3.12/lib/python3.12/site-packages/sqlalchemy/engine/default.py", line 1429, in _init_compiled [Sat Apr 26 13:26:09.435362 2025] [wsgi:error] [pid 2391634:tid 2391645] [remote 186.205.7.186:36982] self.cursor = self.create_cursor() [Sat Apr 26 13:26:09.435367 2025] [wsgi:error] [pid 2391634:tid 2391645] [remote 186.205.7.186:36982] ^^^^^^^^^^^^^^^^^^^^ [Sat Apr 26 13:26:09.435373 2025] [wsgi:error] [pid 2391634:tid 2391645] [remote 186.205.7.186:36982] File "/usr/local/python3.12/lib/python3.12/site-packages/sqlalchemy/engine/default.py", line 1768, in create_cursor [Sat Apr 26 13:26:09.435379 2025] [wsgi:error] [pid 2391634:tid 2391645] [remote 186.205.7.186:36982] return self.create_default_cursor() [Sat Apr 26 13:26:09.435384 2025] [wsgi:error] [pid 2391634:tid 2391645] [remote 186.205.7.186:36982] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [Sat Apr 26 13:26:09.435390 2025] [wsgi:error] [pid 2391634:tid 2391645] [remote 186.205.7.186:36982] File "/usr/local/python3.12/lib/python3.12/site-packages/sqlalchemy/dialects/mysql/mysqlconnector.py", line 59, in create_default_cursor [Sat Apr 26 13:26:09.435397 2025] [wsgi:error] [pid 2391634:tid 2391645] [remote 186.205.7.186:36982] return self._dbapi_connection.cursor(buffered=True) [Sat Apr 26 13:26:09.435402 2025] [wsgi:error] [pid 2391634:tid 2391645] [remote 186.205.7.186:36982] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [Sat Apr 26 13:26:09.435407 2025] [wsgi:error] [pid 2391634:tid 2391645] [remote 186.205.7.186:36982] File "/usr/local/python3.12/lib/python3.12/site-packages/sqlalchemy/pool/base.py", line 1486, in cursor [Sat Apr 26 13:26:09.435414 2025] [wsgi:error] [pid 2391634:tid 2391645] [remote 186.205.7.186:36982] return self.dbapi_connection.cursor(*args, **kwargs) [Sat Apr 26 13:26:09.435419 2025] [wsgi:error] [pid 2391634:tid 2391645] [remote 186.205.7.186:36982] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [Sat Apr 26 13:26:09.435425 2025] [wsgi:error] [pid 2391634:tid 2391645] [remote 186.205.7.186:36982] File "/usr/local/python3.12/lib/python3.12/site-packages/mysql/connector/connection_cext.py", line 841, in cursor [Sat Apr 26 13:26:09.435431 2025] [wsgi:error] [pid 2391634:tid 2391645] [remote 186.205.7.186:36982] raise OperationalError("MySQL Connection not available.") [Sat Apr 26 13:26:09.435453 2025] [wsgi:error] [pid 2391634:tid 2391645] [remote 186.205.7.186:36982] mysql.connector.errors.OperationalError: MySQL Connection not available. Also the same [Sat Apr 26 04:39:00.925777 2025] [wsgi:error] [pid 184463:tid 184471] [remote 186.205.7.186:40958] [2025-04-26 04:39:00,910] ERROR in app: Exception on /conteudo [GET] [Sat Apr 26 04:39:00.925920 2025] [wsgi:error] [pid 184463:tid 184471] [remote 186.205.7.186:40958] Traceback (most recent call last): [Sat Apr 26 04:39:00.925931 2025] [wsgi:error] [pid 184463:tid 184471] [remote 186.205.7.186:40958] File "/usr/local/python3.12/lib/python3.12/site-packages/sqlalchemy/engine/base.py", line 1812, in _execute_context [Sat Apr 26 04:39:00.925935 2025] [wsgi:error] [pid 184463:tid 184471] [remote 186.205.7.186:40958] context = constructor( [Sat Apr 26 04:39:00.925939 2025] [wsgi:error] [pid 184463:tid 184471] [remote 186.205.7.186:40958] ^^^^^^^^^^^^ [Sat Apr 26 04:39:00.925943 2025] [wsgi:error] [pid 184463:tid 184471] [remote 186.205.7.186:40958] File "/usr/local/python3.12/lib/python3.12/site-packages/sqlalchemy/engine/default.py", line 1429, in _init_compiled [Sat Apr 26 04:39:00.925947 2025] [wsgi:error] [pid 184463:tid 184471] [remote 186.205.7.186:40958] self.cursor = self.create_cursor() [Sat Apr 26 04:39:00.925950 2025] [wsgi:error] [pid 184463:tid 184471] [remote 186.205.7.186:40958] ^^^^^^^^^^^^^^^^^^^^ [Sat Apr 26 04:39:00.925954 2025] [wsgi:error] [pid 184463:tid 184471] [remote 186.205.7.186:40958] File "/usr/local/python3.12/lib/python3.12/site-packages/sqlalchemy/engine/default.py", line 1768, in create_cursor [Sat Apr 26 04:39:00.925958 2025] [wsgi:error] [pid 184463:tid 184471] [remote 186.205.7.186:40958] return self.create_default_cursor() [Sat Apr 26 04:39:00.925962 2025] [wsgi:error] [pid 184463:tid 184471] [remote 186.205.7.186:40958] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [Sat Apr 26 04:39:00.925966 2025] [wsgi:error] [pid 184463:tid 184471] [remote 186.205.7.186:40958] File "/usr/local/python3.12/lib/python3.12/site-packages/sqlalchemy/dialects/mysql/mysqlconnector.py", line 59, in create_default_cursor [Sat Apr 26 04:39:00.925970 2025] [wsgi:error] [pid 184463:tid 184471] [remote 186.205.7.186:40958] return self._dbapi_connection.cursor(buffered=True) [Sat Apr 26 04:39:00.925974 2025] [wsgi:error] [pid 184463:tid 184471] [remote 186.205.7.186:40958] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [Sat Apr 26 04:39:00.925978 2025] [wsgi:error] [pid 184463:tid 184471] [remote 186.205.7.186:40958] File "/usr/local/python3.12/lib/python3.12/site-packages/sqlalchemy/pool/base.py", line 1486, in cursor [Sat Apr 26 04:39:00.925982 2025] [wsgi:error] [pid 184463:tid 184471] [remote 186.205.7.186:40958] return self.dbapi_connection.cursor(*args, **kwargs) [Sat Apr 26 04:39:00.925985 2025] [wsgi:error] [pid 184463:tid 184471] [remote 186.205.7.186:40958] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [Sat Apr 26 04:39:00.925989 2025] [wsgi:error] [pid 184463:tid 184471] [remote 186.205.7.186:40958] File "/usr/local/python3.12/lib/python3.12/site-packages/mysql/connector/connection_cext.py", line 841, in cursor [Sat Apr 26 04:39:00.925993 2025] [wsgi:error] [pid 184463:tid 184471] [remote 186.205.7.186:40958] raise OperationalError("MySQL Connection not available.") [Sat Apr 26 04:39:00.926008 2025] [wsgi:error] [pid 184463:tid 184471] [remote 186.205.7.186:40958] mysql.connector.errors.OperationalError: MySQL Connection not available. The only reason I can think of why MySQL connection would be unavailable is if you're still hitting the max_connection limit. -
WSGI control access has been enabled on the domain tripleespress0.helioho.st. To restart your Flask app and load new code changes in simply edit /home/tripleespress0.helioho.st/httpdocs/subscriberInfo/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.
-
Ok, sounds good. Let us know if there's anything else we can help with. The refund has been issued as requested, and your account has been deleted. Thanks for trying out our hosting service.
-
Yeah, Plesk can be a little overwhelming at first. There are a lot of buttons and settings. If you let us know what you're trying to do we could give you simple instructions, or even set it up for you.
-
Are you saying the Plesk control panel options are too confusing, or some other options?
-
Ok, I'll process the refund now. If you don't mind spending a few seconds to let us know how this other host better suits your specific needs it might help us provide better service to others in the future.
-
Sure, we can give you a refund. Was there any problem with the account, or what is the reason for needing a refund?
-
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.
