Erpnext 14 Installation DEVELOPMENT & PRODUCTIONS [UBUNTU/SERVER 22.04]

how. ?? sorry I didn’t understand that only one terminal work

Final installation steps should be done with 2 terminal sessions open (like image below)

I imagine this is what he means.

U stopped supervisor and nginx?

Thank you, yes, both. Tried a couple of times, same issue with my original installation:

image

Would you recommend I back up (something, don’t know what), start a new fresh 14.0.2 installation from scratch and restore?

Install with develop versions. If you want to update frequently. Check dev version installation

Well, I was hoping for a standard production setup, while being able to update it for security and stability issues, as updates are released by the developers.

Which would you say is my most direct path to achieve this?

Dear @Usman_Ali
Thank you for the update. I have followed the steps as mentioned in the bench update but not working and giving the same issue. Attached the screen shot. Is this due to any permission issue?

install dev versions

I had the development system running, and executed the production setup steps without a separate terminal running Bench. When I try to run bench, it fails, with this error:

18:52:05 redis_socketio.1 | 3157:C 02 Sep 2022 18:52:05.480 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
18:52:05 redis_socketio.1 | 3157:C 02 Sep 2022 18:52:05.480 # Redis version=6.0.16, bits=64, commit=00000000, modified=0, pid=3157, just started
18:52:05 redis_socketio.1 | 3157:C 02 Sep 2022 18:52:05.480 # Configuration loaded
18:52:05 redis_socketio.1 | 3157:M 02 Sep 2022 18:52:05.481 * Increased maximum number of open files to 10032 (it was originally set to 1024).
18:52:05 redis_socketio.1 | 3157:M 02 Sep 2022 18:52:05.481 # Could not create server TCP listening socket 127.0.0.1:12000: bind: Address already in use

How do I fix this?

The /etc/hosts file is the following:

# /etc/hosts
127.0.0.1       localhost

# The following lines are desirable for IPv6 capable hosts
::1             localhost ip6-localhost ip6-loopback
ff02::1         ip6-allnodes
ff02::2         ip6-allrouters
127.0.0.1       site1.local

It used to show up at (servierip:8000) and now no longer has that.

go through with proper guide

What’s wrong while installing gets:

WARN Cannot connect to redis_cache to update assets_json

make sure bench is runing in other terminal

1 Like

Thanks in advance

1 Like

Doing the Development setup
:small_blue_diamond: FRAPPE

bench init frappe --verbose --frappe-branch v14.5.0

I have a problem after bench init

Still don’t understand, bench start is after bench init cd bench

Same on this guide, bench init before cd frappe bench start

Guys plz check the whole guide step by step. Then if there is still confusing then check the video. Avoid to do these kind of comments.