Deploy Django Project in AAPanel

403 views
Skip to first unread message

Javier L. Camacaro

unread,
Aug 31, 2022, 8:10:11 PM8/31/22
to Django users

Does someone how to deploy a Django Project in AAPanel?

I tried Python Maganer 2.0 but impossible for me!

I get this error:

Sorry, something went wrong: Traceback (most recent call last): File "class/flask_sockets.py", line 30, in call handler, values = adapter.match() File "/www/server/panel/pyenv/lib/python3.7/site-packages/werkzeug/routing.py", line 1945, in match raise NotFound() werkzeug.exceptions.NotFound: 404 Not Found: The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again.

...and many others after that....

Please help me

Kasper Laudrup

unread,
Sep 1, 2022, 1:55:21 AM9/1/22
to django...@googlegroups.com
On 01/09/2022 02.10, Javier L. Camacaro wrote:
> Does someone how to deploy a Django Project in AAPanel?
>

https://forum.aapanel.com/d/13338-python-manager-deploy-djangoblog

Kind regards,

Kasper Laudrup

OpenPGP_0xE5D9CAC64AAA55EB.asc
OpenPGP_signature

Javier L. Camacaro

unread,
Sep 1, 2022, 9:52:35 AM9/1/22
to django...@googlegroups.com
Thanks Kasper, I did it with this tutorial, works fine, but with my project it doesn't.

I received a lot of errors:

Sorry, something went wrong:
Traceback (most recent call last):
File "class/flask_sockets.py", line 30, in __call__

handler, values = adapter.match()
File "/www/server/panel/pyenv/lib/python3.7/site-packages/werkzeug/routing.py", line 1945, in match
raise NotFound()
werkzeug.exceptions.NotFound: 404 Not Found: The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again.

During handling of the above exception, another exception occurred:


Traceback (most recent call last):
File "class/public.py", line 299, in ReadFile
f_body = fp.read()
File "/www/server/panel/pyenv/lib/python3.7/codecs.py", line 322, in decode
(result, consumed) = self._buffer_decode(data, self.errors, final)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xff in position 0: invalid start byte

During handling of the above exception, another exception occurred:


Traceback (most recent call last):
File "class/public.py", line 304, in ReadFile
f_body = fp.read()
File "/www/server/panel/pyenv/lib/python3.7/codecs.py", lin.........and more


when i try to create a project with python manager 2.0. I can't understand.

Thanks again!




--
You received this message because you are subscribed to a topic in the Google Groups "Django users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/django-users/GGq1DqwfCGA/unsubscribe.
To unsubscribe from this group and all its topics, send an email to django-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/f916369f-b05d-0c33-d094-49dc401157e1%40stacktrace.dk.


--
___________________________________________________________________
Javier Camacaro
+(58) 414-445.49.98



Abdul Qoyyuum Haji Abdul Kadir

unread,
Sep 1, 2022, 10:01:27 AM9/1/22
to django...@googlegroups.com
Hi Javier,

This doesn't sound like an issue with Django.

Try raising a ticket on AAPanel GitHub repo with a full error message and steps to reproduce it.

Abdul Qoyyuum Bin Haji Abdul Kadir
about.me/qoyyuum

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/66e880c0-9561-41bb-93bb-e08475f9eb19n%40googlegroups.com.

subin

unread,
Sep 1, 2022, 2:00:46 PM9/1/22
to django...@googlegroups.com
Thanks for your booking! We’re looking forward to seeing you on January 15 at 2 PM

subin

unread,
Sep 1, 2022, 2:28:16 PM9/1/22
to django...@googlegroups.com
Thank you for reaching out to us

You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAOrwMe%3DtGkaBN8Ujx8TK2Jvh_q%3DFoEaewCo7DDk%3Drt5L0et4Hw%40mail.gmail.com.

subin

unread,
Sep 1, 2022, 2:36:29 PM9/1/22
to django...@googlegroups.com
Thanks for your booking! We’re looking forward to seeing you on January 15 at 2 PM

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users...@googlegroups.com.

subin

unread,
Sep 1, 2022, 2:43:32 PM9/1/22
to django...@googlegroups.com
Thank you for visiting ! Use the code SALE20 to save 20% on any one item on your next visit.

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users...@googlegroups.com.

Luqman Lawal

unread,
Sep 1, 2022, 7:10:37 PM9/1/22
to django...@googlegroups.com
Okay

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users...@googlegroups.com.

Kasper Laudrup

unread,
Sep 3, 2022, 10:19:25 AM9/3/22
to django...@googlegroups.com
On 01/09/2022 15.51, Javier L. Camacaro wrote:
> Thanks Kasper, I did it with this tutorial, works fine, but with my
> project it doesn't.
>
> I received a lot of errors:
>

I know nothing about AAPanel and since you don't seem to get any
responses here, how about posting on the forum related to AAPanel where
the tutorial was shared?

This is most likely more related to AAPanel than Django.

Kind regards,

Kasper Laudrup
OpenPGP_0xE5D9CAC64AAA55EB.asc
OpenPGP_signature
Reply all
Reply to author
Forward
0 new messages