New app problem

i follow the tips
bench new-app abc

and then

'abc' created at /home/frappe/frappe-bench/apps/abc INFO:bench.app:installing abc /home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/pip/_vendor/requ ests/packages/urllib3/util/ssl_.py:318: SNIMissingWarning: An HTTPS request has been made, but the SNI (Subject Name Indication) extension to TLS is not availab le on this platform. This may cause the server to present an incorrect TLS certi ficate, which can cause validation failures. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.i o/en/latest/security.html#snimissingwarning. SNIMissingWarning /home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/pip/_vendor/requ ests/packages/urllib3/util/ssl_.py:122: InsecurePlatformWarning: A true SSLConte xt object is not available. This prevents urllib3 from configuring SSL appropria tely and may cause certain SSL connections to fail. You can upgrade to a newer v ersion of Python to solve this. For more information, see https://urllib3.readth edocs.io/en/latest/security.html#insecureplatformwarning. InsecurePlatformWarning
and i tried bench --site site install-app abc

it show
Could not find app “abc”

is there anything i miss?

Hi @Johnny

I think something went wrong in the creating of the new app. Right after that, you should have been prompted for an app title, description, etc. (Please see https://frappe.github.io/frappe/user/en/tutorial/new-app)

Can you go to the frappe-bench/apps directory to check if the app as been created? Also check <your bench folder>/sites/apps.txt. It should contain all the apps you have on your instance.

If there is no folder with the name abc or if abc is not in the apps.txt file, then new-app must have failed in the middle.

By the way, can you tell us what python version, frappe/erpnext version, OS version you have running on your system?

Thanks!

2 Likes