The process would appear to work for quite a while until near the end it would generate the following error:
ValueError: The 'bench.config' package was not installed in a way that PackageLoader understands.
I tried several times to wipe the server and re-install only to finally decide to look for possible problems in how bench was installed. There were a whopping ton of changes made to bench last night and now it appears at least some of those are breaking changes.
In order to get my installs back on track, I have had to alter how bench installs by specifically calling out the previous version. If you are using my manual V13 install tutorial, you will need to change the two pip3 commands to now look as follows:
pip3 install frappe-bench==5.12.0
sudo pip3 install frappe-bench==5.12.0
Once you make this change the ‘bench init’ command will complete properly and the rest of the system installs as expected.
Hope this helps someone else. I pulled my hair out for a few hours today until I found it.
I appreciate that you were able to use my error listing to find the source of the problem.
However, due to the overwhelming number of lines of code that changed across nearly all areas of bench from installation to core functions, I think I will just stick with v5.12.0 for now.
I just do not have the time and resources to continue to play the part of the lab rat for all of these changes. I will wait until your newest version has been installed and running for a while before I venture down that path again.
Thanks, but no thanks. I need to keep creating production machines and the previous version seems to do that well for now.
I am also having issues with the installation. Problem with transfer to production, error
“nginx: [emerg] unknown “host_access” variable
nginx: configuration file /etc/nginx/nginx.conf test failed”
This works for me!
Are you trying to be funny? Or are you intentionally being sarcastic to the point of being rude?
Your answer indicates that you either didn’t read the actual question @rahy posted…
Or
You are just trying to provoke and antagonize the people actually trying to make bench work.
Again… “Just ignore it?” is ridiculous. @rahy tells us in his post that the stupid notification is stopping the actions of the script he depends on to perform bench functions.
The rest of us out here also use bench in different scripts and if it stops to wait for the acknowledgement of a stupid notice that there is a newer version of bench, then the newest version of bench becomes useless.
You know, I really am beginning to dislike the attitude of the devs lately. When a simple question was asked, you turn it into somehting you think is funny while real world users are tripping over your nonsense.
If you didn’t fully understand the question, the appropriate response is either:
No response.
Ask for clarification.
Instead, you threw out “Just ignore it”. A comment both unhelpful, and a little rude. Obviously anyone can just ignore messages. There’s no need to suggest this.
If you’d stopped typing right before this statement? You’d have recovered from your earlier mistake. Instead, you keep digging a deeper hole. Trying to be funny (again), by directly insulting another forum user.
If we cannot (or will not) reply with questions or helpful feedback, then we should not reply at all.
This thread is completely derailed, so I’m locking it. Let’s try to keep these forums professional, please.