New and Old Sites are not working

  1. I have created a new app.
  2. Then I have created a new site.
  3. Then I have used the site.
  4. Then I have installed the newly created app under the newly created site.
  5. Then I did bench start
  6. Then I logged in using Administrator Password
  7. Then I did the initial setup like company, supplier, item etc.
  8. At the end it raised some error, I don’t remember the exact error but it was some related to site.
  9. Finally, now it is not working whenever I use localhost:8000

NOT Found
The requested URL not found on the server. If you entered the URL manually please check your spelling and try again.

Please tell me what to do now?

We could not reproduce the issue.

Try again by reinstalling or by creating new site.

Thanks Saurabh,
Thank you very much, I am re-installing it.

When I am re-installing the ERPNext I am getting this error.

sam@sam-VirtualBox:~$ wget
–2015-09-02 11:12:20--
Resolving (…
Connecting to (||:443… connected.
HTTP request sent, awaiting response… 200 OK
Length: 12998 (13K) [text/plain]
Saving to: ‘’

100%[=====================>] 12,998 --.-K/s in 0s

2015-09-02 11:12:21 (183 MB/s) - ‘’ saved [12998/12998]

sam@sam-VirtualBox:~$ sudo bash --setup-production
Installing for Ubuntu trusty x86
In case you encounter an error, you can post on

Adding ubuntu mariadb repo
Installing packages for Ubuntu. This might take time…
Installing wkhtmltopdf

  • Stopping MariaDB database server mysqld [ OK ]
  • Starting MariaDB database server mysqld [ OK ]
  • Checking for corrupt, not cleanly closed and upgrade needing tables.
    Adding frappe user
    Installing frappe-bench
    Setting up first site
    Traceback (most recent call last):
    File “/usr/lib/python2.7/”, line 162, in _run_module_as_main
    main”, fname, loader, pkg_name)
    File “/usr/lib/python2.7/”, line 72, in _run_code
    exec code in run_globals
    File “/home/sam/frappe-bench/apps/frappe/frappe/utils/”, line 79, in
    File “/home/sam/frappe-bench/apps/frappe/frappe/utils/”, line 16, in main
    File “/home/sam/frappe-bench/env/local/lib/python2.7/site-packages/click/”, line 700, in call
    return self.main(*args, **kwargs)
    File “/home/sam/frappe-bench/env/local/lib/python2.7/site-packages/click/”, line 680, in main
    rv = self.invoke(ctx)
    File “/home/sam/frappe-bench/env/local/lib/python2.7/site-packages/click/”, line 1027, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
    File “/home/sam/frappe-bench/env/local/lib/python2.7/site-packages/click/”, line 1027, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
    File “/home/sam/frappe-bench/env/local/lib/python2.7/site-packages/click/”, line 873, in invoke
    return ctx.invoke(self.callback, **ctx.params)
    File “/home/sam/frappe-bench/env/local/lib/python2.7/site-packages/click/”, line 508, in invoke
    return callback(*args, **kwargs)
    File “/home/sam/frappe-bench/apps/frappe/frappe/”, line 69, in new_site
    _new_site(db_name, site, mariadb_root_username=mariadb_root_username, mariadb_root_password=mariadb_root_password, admin_password=admin_password, verbose=verbose, install_apps=install_app, source_sql=source_sql, force=force)
    File “/home/sam/frappe-bench/apps/frappe/frappe/”, line 87, in _new_site
    install_db(root_login=mariadb_root_username, root_password=mariadb_root_password, db_name=db_name, admin_password=admin_password, verbose=verbose, source_sql=source_sql,force=force, reinstall=reinstall)
    File “/home/sam/frappe-bench/apps/frappe/frappe/”, line 31, in install_db
    create_database_and_user(force, verbose)
    File “/home/sam/frappe-bench/apps/frappe/frappe/”, line 49, in create_database_and_user
    if force or (db_name not in dbman.get_database_list()):
    File “/home/sam/frappe-bench/apps/frappe/frappe/model/”, line 435, in get_database_list
    return [d[0] for d in self.db.sql(“SHOW DATABASES”)]
    File “/home/sam/frappe-bench/apps/frappe/frappe/”, line 105, in sql
    File “/home/sam/frappe-bench/apps/frappe/frappe/”, line 51, in connect
    use_unicode=True, charset=‘utf8’)
    File “/home/sam/frappe-bench/env/local/lib/python2.7/site-packages/MySQLdb/”, line 81, in Connect
    return Connection(*args, **kwargs)
    File “/home/sam/frappe-bench/env/local/lib/python2.7/site-packages/MySQLdb/”, line 193, in init
    super(Connection, self).init(*args, **kwargs2)
    _mysql_exceptions.OperationalError: (1045, “Access denied for user ‘root’@‘localhost’ (using password: YES)”)

please check your mysql root password.

use bench reinstall to reinstall current site or create new site. Dont redownload and resetup ERPNext.

Dear Sir,
I did re-install again and now there no such option to go back one step.
Also, after re-installing my system stuck up and now I am going to re-install ubuntu.