Bench start is working. but "page not found"

When i click the IP address after bench start.
The page is not found.

This is my log.
~/frappe-bench$ bench start
21:03:19 system | redis_cache.1 started (pid=9048)
21:03:19 system | redis_queue.1 started (pid=9051)
21:03:19 system | web.1 started (pid=9054)
21:03:19 system | socketio.1 started (pid=9060)
21:03:19 system | watch.1 started (pid=9064)
21:03:19 system | schedule.1 started (pid=9066)
21:03:19 system | worker.1 started (pid=9070)
21:03:19 redis_cache.1 | 9050:C 28 Aug 2024 21:03:19.475 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
21:03:19 redis_cache.1 | 9050:C 28 Aug 2024 21:03:19.475 # Redis version=6.0.16, bits=64, commit=00000000, modified=0, pid=9050, just started
21:03:19 redis_cache.1 | 9050:C 28 Aug 2024 21:03:19.475 # Configuration loaded
21:03:19 redis_queue.1 | 9056:C 28 Aug 2024 21:03:19.475 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
21:03:19 redis_cache.1 | 9050:M 28 Aug 2024 21:03:19.475 * Increased maximum number of open files to 10032 (it was originally set to 1024).
21:03:19 redis_queue.1 | 9056:C 28 Aug 2024 21:03:19.475 # Redis version=6.0.16, bits=64, commit=00000000, modified=0, pid=9056, just started
21:03:19 redis_queue.1 | 9056:C 28 Aug 2024 21:03:19.475 # Configuration loaded
21:03:19 redis_queue.1 | 9056:M 28 Aug 2024 21:03:19.475 * Increased maximum number of open files to 10032 (it was originally set to 1024).
21:03:19 redis_cache.1 | 9050:M 28 Aug 2024 21:03:19.475 * Running mode=standalone, port=13000.
21:03:19 redis_cache.1 | 9050:M 28 Aug 2024 21:03:19.475 # Server initialized
21:03:19 redis_cache.1 | 9050:M 28 Aug 2024 21:03:19.475 # WARNING overcommit_memory is set to 0! Background save may fail under low memory condition. To fix this issue add ‘vm.overcommit_memory = 1’ to /etc/sysctl.conf and then reboot or run the command ‘sysctl vm.overcommit_memory=1’ for this to take effect.
21:03:19 redis_cache.1 | 9050:M 28 Aug 2024 21:03:19.476 * Ready to accept connections
21:03:19 redis_queue.1 | 9056:M 28 Aug 2024 21:03:19.476 * Running mode=standalone, port=11000.
21:03:19 redis_queue.1 | 9056:M 28 Aug 2024 21:03:19.476 # Server initialized
21:03:19 redis_queue.1 | 9056:M 28 Aug 2024 21:03:19.476 # WARNING overcommit_memory is set to 0! Background save may fail under low memory condition. To fix this issue add ‘vm.overcommit_memory = 1’ to /etc/sysctl.conf and then reboot or run the command ‘sysctl vm.overcommit_memory=1’ for this to take effect.
21:03:19 redis_queue.1 | 9056:M 28 Aug 2024 21:03:19.476 * Ready to accept connections
21:03:19 watch.1 |
21:03:19 watch.1 | yarn run v1.22.22
21:03:19 watch.1 | $ node esbuild --watch --live-reload
21:03:19 web.1 | WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.
21:03:19 web.1 | * Running on all addresses (0.0.0.0)
21:03:19 web.1 | * Running on http://127.0.0.1:8000
21:03:19 web.1 | * Running on http://192.168.113.69:8000
21:03:19 web.1 | Press CTRL+C to quit
21:03:19 web.1 | * Restarting with stat
21:03:20 web.1 | * Debugger is active!
21:03:20 web.1 | * Debugger PIN: 608-023-772
21:03:20 watch.1 | clean: postcss.plugin was deprecated. Migration guide:
21:03:20 watch.1 | PostCSS 8.0: Plugin migration guide—Martian Chronicles, Evil Martians’ team blog
21:03:20 watch.1 | clean: postcss.plugin was deprecated. Migration guide:
21:03:20 watch.1 | PostCSS 8.0: Plugin migration guide—Martian Chronicles, Evil Martians’ team blog
21:03:20 watch.1 | clean: postcss.plugin was deprecated. Migration guide:
21:03:20 watch.1 | PostCSS 8.0: Plugin migration guide—Martian Chronicles, Evil Martians’ team blog
21:03:20 watch.1 | clean: postcss.plugin was deprecated. Migration guide:
21:03:20 watch.1 | PostCSS 8.0: Plugin migration guide—Martian Chronicles, Evil Martians’ team blog
21:03:21 watch.1 | Browserslist: caniuse-lite is outdated. Please run:
21:03:21 watch.1 | npx browserslist@latest --update-db
21:03:21 watch.1 | Why you should do it regularly: GitHub - browserslist/browserslist: 🦔 Share target browsers between different front-end tools, like Autoprefixer, Stylelint and babel-preset-env
21:03:23 web.1 | 127.0.0.1 - - [28/Aug/2024 21:03:23] “GET / HTTP/1.1” 404 -
21:03:26 watch.1 | Watching for changes…
21:04:19 schedule.1 | /home/frappeadmin/frappe-bench/env/lib/python3.10/site-packages/rq/connections.py:107: DeprecationWarning: The resolve_connection function is deprecated. Pass the connection explicitly instead.

Older post but check it.

1 Like

i used that method but it not worked for me.
after i used this command “bench use mysite.local” then it worked