I upgraded my EC2 instance to a larger instance type (with 2 gigs of RAM) and installed again and everything works fine.
The minimum required RAM is 2GB for ERPNext.
I upgraded my EC2 instance to a larger instance type (with 2 gigs of RAM) and installed again and everything works fine.
The minimum required RAM is 2GB for ERPNext.
Thanks Lawes. Its worked me
Itâs Work for me.
it Means User not rightâs to access some fileâŚlike css
Finally i fix the display problem after run production site.
So it just need to change the permission for the installation directory. On my case, I run this command in :~/frappe-bench$
directory. So go to cd ~/home/[youraccount]/frappe-bench
then run:
sudo chmod o+x /home/[your-account-profile]/
eg: sudo chmod o+x /home/admin
The problem is, some answer on the other thread did not explain this properly, so newcomer like me canât understand
I had similar issue. On my cicd I havd 5 migaes from deployments and the assetsfrom the first one was being requsted by the browser, despite the running container had the latest in assets.json.
eg: container assets.json: âlogin.bundle.cssâ: â/assets/frappe/dist/css/login.bundle.BNLXGCOL.cssâ
broser was trying to fetch login.bundle.VNLPGCOL.css.
The possible issue with my environmnet was the Redis cache holding old stale outdated assets.json data.
Running these commands solved the issue:
docker exec -it redis-cli FLUSHALL
docker exec -it redis-cli FLUSHALL
The main reason for this error is related to user permissions. Frappe is unable to access required files such as CSS, JS, Python files, etc.
Additionally, if youâve recently restored a site, make sure to update the encryption_key
in the config file (sites/site_config.json
) using the key from your backup.
Run the following commands carefully:
bash
cd /home/{your_frappe_bench_folder}
sudo chmod o+x /home/{your_frappe_bench_folder}
sudo usermod -aG sudo {your_user}
sudo supervisorctl reload
bench restart
bench --site {your-site-name} clear-cache
bench --site {your-site-name} migrate
bash
cd /home/frappe-bench
sudo chmod o+x /home/frappe-bench
sudo usermod -aG sudo frappe-user
sudo supervisorctl reload
bench restart
bench --site my-site.domain.com clear-cache
bench --site my-site.domain.com migrate
These steps ensure that the necessary user has proper access to the bench folder and can execute the required files.
Hope this will help !!!
âŚ
âŚ
âŚ
ERROR LOG
Traceback (most recent call last):
File âenv/lib/python3.12/site-packages/cryptography/fernet.pyâ, line 130, in _verify_signature
h.verify(data[-32:])
cryptography.exceptions.InvalidSignature: Signature did not match digest.During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File âapps/frappe/frappe/utils/password.pyâ, line 194, in decrypt
return cstr(cipher_suite.decrypt(encode(txt)))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File âenv/lib/python3.12/site-packages/cryptography/fernet.pyâ, line 89, in decrypt
return self._decrypt_data(data, timestamp, time_info)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File âenv/lib/python3.12/site-packages/cryptography/fernet.pyâ, line 148, in _decrypt_data
self._verify_signature(data)
File âenv/lib/python3.12/site-packages/cryptography/fernet.pyâ, line 132, in _verify_signature
raise InvalidToken
cryptography.fernet.InvalidToken