Jump to content

an4s911

Members
  • Posts

    24
  • Joined

  • Last visited

an4s911's Achievements

Apprentice

Apprentice (3/14)

  • One Month Later Rare
  • Collaborator Rare
  • Week One Done Rare
  • First Post Rare
  • Reacting Well Rare

Recent Badges

1

Reputation

  1. Thanks a lot for giving me remote access for the postgres. Where can I see this log? I looked for it all over the logs section in Plesk, couldn't find it. Another question is, how can I use environment variables when deploying?
  2. Yeah, I couldn't find them. In plesk I opened logs. I only get the Requests and Http status codes. I don't see the trackeback of the errors.
  3. The name of the database is: an4s911_anas and the user is: an4s911_admin Also give me info on how I can connect to it from my Django app. Should I just use localhost? Will that work?
  4. I have a django api running on heliohost on the domain anasbashir.helioho.st. And I got wsgi access also got postgres enabled. But how can I access the postgres. I want to be able to migrate the django models into database, for that either I need remote access to the postgres or terminal access to the server. The manage.py file is located in /httpdocs/manage.py And the command to migrate is python manage.py migrate. Secondly, where do I access the traceback log if any error occurs, I couldn’t find it. Additionally, if I wanted to log something using python’s logging module, where can I log to, and how can I access it. Edit: I wanted to mention that I did find the logs. Just that I couldn’t find any traceback in it.
  5. UPDATE: the site works now. Thanks for all the help
  6. I did, and it doesn't exist. This is the contents of my dispatch.wsgi file: import os import sys from django.core.wsgi import get_wsgi_application sys.path.append("/home/anasbashir.helioho.st/httpdocs") os.environ.setdefault("DJANGO_SETTINGS_MODULE", "anas.settings") application = get_wsgi_application() # vim:ft=python Alright, will do when I need to.
  7. I don't have anything called djangotest in my code. I believe I did use it before, but I'd removed it, can't remember exactly. But in the latest version of the code, it doesn't exist. On that note, if I do want to add additional python packages, what do I have to do?
  8. One more thing. The site doesn't seem to be working currently. When I go to https://anasbashir.helioho.st, it is supposed to show me "Hello, world!", but instead it gives me 500 Internal Server Error
  9. Alright, quick question. Does it have to be the dispatch.wsgi file? The reason I am asking is because as I mentioned I use git integration. So I have a remote gitlab repo connected to this site, and after I push changes to that repo, I pull it from plesk. So it does pull in multiple changes, so does that make a difference, or does it have to be the dispatch.wsgi file itself. so a followup question is, if it should be the dispatch.wsgi file, then can I just make the change while pushing to git, and that change will be pulled on plesk, and the dispatch.wsgi file would also change due to the git pull. Would that work as well?
  10. Can I just request it here, my username is an4s911 and I want control access to WSGI. Or do I need to open a new topic?
  11. I have a django app setup in root dir /httpdocs. And I use git integration to pull latest changes to heliohost, but the changes aren't reflected immediately. It takes a really long time. And when I reload a page, sometimes it comes and sometimes it shows an error message for a previous change, means some kind of caching is playing here. I did reset all cache and tried again, but nothing fixes this. So do I have to wait till next day to test my backend? What should I do? This is very annoying. How can I reset the cache in all places, including in your servers. EDIT: PS: I use the tommy server. The new one.
  12. I just saw the pinned post that says don't post support here, I didn't know where to post this and that is why I posted here. And I can't find a button to delete it. So I apologize for any inconveniences, and I will be paying more attention next time. But I am hoping to get a fix to this problem soon. I won't be reposting this on the customer service, because I'm not sure if that would be the appropriate thing to do. If it is then let me know, I am more than happy to comply
  13. Plesk at tommy.heliohost.org:8443 doesn't work
×
×
  • Create New...