"There were errors" - Trying to setup new site

Hi @saurabh6790,

I’m glad you could reproduce this and that it will be fixed soon. Hopefully before the release of V8.

I saw here you posted:

I don’t understand your temporary solution. How do I re-install a site by starting bench?
Do you mean to do this:

~$ cd frappe-bench
~/frappe-bench$ bench reinstall {name_of_site}

or do you mean

~$ cd frappe-bench
~/frappe-bench$ bench start

Thank you

p.s. it may be better to respond in the other topic, up to you (of course).

@saidsl.

sudo nano /etc/resolv.conf

shouldn’t that be:

sudo nano /etc/resolvconf/resolv.conf.d/base

based on How do I include lines in resolv.conf that won't get lost on reboot? - Ask Ubuntu?

I have just started a new VM instance running Ubuntu 16.10 (I was running 14.04 before).
I’ll try your steps above, and report back once complete.

Thank you

@saidsl.

I just completed what you suggested on a new Ubuntu 16.10 Google VM:

sudo apt-get update
sudo apt-get upgrade
sudo adduser frappe
sudo usermod -aG sudo frappe
sudo nano /etc/resolv.conf
sudo apt-get install python-minimal && python -V # was 2.7.12+
wget https://raw.githubusercontent.com/frappe/bench/master/playbooks/install.py
sudo python install.py --production

I received no errors through out the whole process. Then I converted to development with these commands:

bench switch-to-develop
rm config/supervisor.conf
rm config/nginx.conf
sudo service nginx stop
sudo service supervisor stop
bench setup procfile
bench start

I visited {my_server_ip}:8000 and completed the setup. After clicking on Complete Setup button, I am still getting same errors. :worried:

@saurabh6790.

Just tried your temporary solution as I understand it:

~/frappe-bench$ bench reinstall
~/frappe-bench$ bench update
~/frappe-bench$ bench start

Still same errors…

Waiting on the upcoming fix

@ratskin

I just tested what you did by changing the install on the 16.10 to develop and everything is working fine.

The difference with what you did?

  1. I completed the setup first than switched to develop
  2. bench switch-to-develop
  3. I ran bench update --patch
  4. rm config/supervisor.conf
  5. rm config/nginx.conf
  6. sudo service nginx stop
  7. sudo service supervisor stop
  8. bench setup procfile
  9. bench start

Should you want to revert back to Production

Here is what I did:

frappe@erpnext:~/frappe-bench$ sudo supervisorctl reload
Restarted supervisord
frappe@erpnext:~/frappe-bench$ sudo service nginx start
frappe@erpnext:~/frappe-bench$ sudo bench setup production frappe
supervisor.conf already exists and this will overwrite it. Do you want to continue? [y/N]: y
Port configuration list:

Site site1.local assigned port: 80
nginx.conf already exists and this will overwrite it. Do you want to continue? [y/N]: y
No config updates to processes
nginx: the configuration file /etc/nginx/nginx.conf syntax is ok
nginx: configuration file /etc/nginx/nginx.conf test is successful
frappe@erpnext:~/frappe-bench$

Hi,

Was anybody able to resolve these issues? I have been facing it for the last 1 week, and haven’t been able to resolve it even after formatting the disk, and going back to Ubuntu 14.04.

Only message is “There were errors.”

Regards
Uma

Hello @UmaG,

This issue hasn’t been resolved yet (to my knowledge), see here. But I have been able to subvert it (I think) by updating to V8 of ERPNext.

Thanks @ratskin for the response.

When I installed ERPNext, it installed Version 8 only, but is still giving the same errors… :frowning:

Regards
Uma

Is there any updates on this?,

Yet another connected post: [Mar-2017] Showing there were error during setup ERPNext

One more: Setup Wizard : Error

Maybe related to Travis CI - Test and Deploy Your Code with Confidence

Guys this resolved my issue Setup Wizard : Error - #2 by navdeepghai

@salim

Trying your solution now. Will update with my result.

@salim

Nup. Not resolved for me.

desk/#setup-wizard/10
[ ] Add a few sample records
[ ] Setup a simple website for my organization


@ratskin

Did you try to install version 8?, This is still there in version 7 i think…

1 Like

@UmaG

What about you?, have you tried to complete the setup after unchecking those two option?.

Thanks for the response @salim. I tried the resolution given in the above link and it worked.

Thanks :slight_smile:
Uma

@salim thank you for sharing that post and thank you @navdeepghai for posting that solution.
Once I upgraded to v8 it worked for me.

https://discuss.frappe.io/uploads/default/original/2X/b/bebb5b8cfc1ae9866c1dfd1b5c0c51ba5cf08282.png

1 Like

It did not resolve the issue, still stuck with same issue. Please suggest.