the python3.10-dev package is not in the 20.04 repo. Upgrade to 22.04 or find a way to install the package. I ran into this error bc I though a was on Ubuntu 22.04 but it was 20.04
The only issue that happened was during the installation of the APPs (Step6). Any help solving the problem is greatly apricated.
WARN Cannot connect to redis_cache to update assets_json
WARN Cannot connect to redis_cache to update assets_json
WARN Cannot connect to redis_cache to update assets_json
Firstly, Iâm a newbie, this is only the second application Iâve installed on my server lol
Anyway, I believe my install was successful, however when I attempt to access it by going to [server-ip]:80 much of the javascript and css does not load properly and I am unable to log in. I canât post the inspector log here, but basically I get several 404 errors for .js files and a few .css files.
For anyone else, I just restarted my server and reran some of step 6 and 7 and it seeeeems to work now. Still have some issues though (see below)
On signup, Iâm getting this issue in my inspector while the page hangs on âverifying.â Might this be a port forward issue?
Traceback (most recent call last):
File âapps/frappe/frappe/app.pyâ, line 66, in application
response = frappe.handler.handle()
File âapps/frappe/frappe/handler.pyâ, line 45, in handle
data = execute_cmd(cmd)
File âapps/frappe/frappe/handler.pyâ, line 83, in execute_cmd
return frappe.call(method, **frappe.form_dict)
File âapps/frappe/frappe/init.pyâ, line 1585, in call
return fn(*args, **newargs)
File âapps/frappe/frappe/core/doctype/user/user.pyâ, line 859, in sign_up
user.insert()
File âapps/frappe/frappe/model/document.pyâ, line 281, in insert
self.run_post_save_methods()
File âapps/frappe/frappe/model/document.pyâ, line 1087, in run_post_save_methods
self.run_method(âon_updateâ)
File âapps/frappe/frappe/model/document.pyâ, line 928, in run_method
out = Document.hook(fn)(self, *args, **kwargs)
File âapps/frappe/frappe/model/document.pyâ, line 1268, in composer
return composed(self, method, *args, **kwargs)
File âapps/frappe/frappe/model/document.pyâ, line 1250, in runner
add_to_return_value(self, fn(self, *args, **kwargs))
File âapps/frappe/frappe/model/document.pyâ, line 925, in fn
return method_object(*args, **kwargs)
File âapps/frappe/frappe/core/doctype/user/user.pyâ, line 124, in on_update
self.send_password_notification(self.__new_password)
File âapps/frappe/frappe/core/doctype/user/user.pyâ, line 264, in send_password_notification
self.send_welcome_mail_to_user()
File âapps/frappe/frappe/core/doctype/user/user.pyâ, line 335, in send_welcome_mail_to_user
self.send_login_mail(
File âapps/frappe/frappe/core/doctype/user/user.pyâ, line 367, in send_login_mail
frappe.sendmail(
File âapps/frappe/frappe/init.pyâ, line 708, in sendmail
builder.process(send_now=now)
File âapps/frappe/frappe/email/doctype/email_queue/email_queue.pyâ, line 656, in process
queue_data = self.as_dict(include_recipients=False)
File âapps/frappe/frappe/email/doctype/email_queue/email_queue.pyâ, line 697, in as_dict
mail = self.prepare_email_content()
File âapps/frappe/frappe/email/doctype/email_queue/email_queue.pyâ, line 625, in prepare_email_content
sender=self.sender,
File âapps/frappe/frappe/email/doctype/email_queue/email_queue.pyâ, line 523, in sender
return email_account.default_sender
AttributeError: âNoneTypeâ object has no attribute âdefault_senderâ
Iâm following this installation guide and realize that it is a good instructions. Thanks shashank.
But right now, iâm stuck in step 6.2. cannot moving forward.
Trying to execute this command: bench --site site1.local install-app erpnext
but i get this following error:
Is this a clean server or are you trying to install erpnext on an existing server with bench installed on it? I would suggest you to try this on a clean server.
Shashank, i try to reinstall in new fresh virtual box.
seems now i donât face âmodule import failedâ anymore. but the new issue is, i cannot run my ERP⌠tried to âbench startâ but when I try to access localhost:8000 it keeps saying ânot foundâ.
Good to know that you managed to go past the module import failed issue.
Regarding bench start, you need not do this if youâre setting up the server for production use. Did you follow step no. 7 in the guide above? That will help you to setup supervisor and once itâs active, itâll take care of all the bench processes. Manually starting bench using bench start is only required in development enviornments.
You can continue to develop on the production environment as well. It is much convenient that way since you wonât have to manually start, stop and manage all the background processes and services.
On your production environment you can just enable the developer_mode using the below command.