I have some issues in the bench start

I was running the lms app and everything was good but did reboot the laptop
when i was trying to start the localhost again some issues happened.
the error is down below


19:47:05 system        | redis_cache.1 started (pid=12336)
19:47:05 system        | redis_queue.1 started (pid=12338)
19:47:05 system        | web.1 started (pid=12340)
19:47:05 system        | socketio.1 started (pid=12348)
19:47:05 system        | schedule.1 started (pid=12353)
19:47:05 system        | watch.1 started (pid=12352)
19:47:05 redis_cache.1 | 12341:C 22 Aug 2024 19:47:05.410 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
19:47:05 redis_cache.1 | 12341:C 22 Aug 2024 19:47:05.410 # Redis version=6.0.16, bits=64, commit=00000000, modified=0, pid=12341, just started
19:47:05 redis_cache.1 | 12341:C 22 Aug 2024 19:47:05.410 # Configuration loaded
19:47:05 redis_cache.1 | 12341:M 22 Aug 2024 19:47:05.414 * Increased maximum number of open files to 10032 (it was originally set to 1024).
19:47:05 redis_cache.1 | 12341:M 22 Aug 2024 19:47:05.417 * Running mode=standalone, port=13000.
19:47:05 system        | worker.1 started (pid=12357)
19:47:05 worker.1      | /bin/sh: 1: cannot create logs/worker.log: Permission denied
19:47:05 system        | worker.1 stopped (rc=2)
19:47:05 system        | sending SIGTERM to redis_cache.1 (pid 12336)
19:47:05 system        | sending SIGTERM to redis_queue.1 (pid 12338)
19:47:05 system        | sending SIGTERM to web.1 (pid 12340)
19:47:05 system        | sending SIGTERM to socketio.1 (pid 12348)
19:47:05 system        | sending SIGTERM to watch.1 (pid 12352)
19:47:05 system        | sending SIGTERM to schedule.1 (pid 12353)
19:47:05 redis_cache.1 | 12341:M 22 Aug 2024 19:47:05.418 # Server initialized
19:47:05 redis_cache.1 | 12341:M 22 Aug 2024 19:47:05.418 # 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.
19:47:05 redis_cache.1 | 12341:M 22 Aug 2024 19:47:05.419 * Ready to accept connections
19:47:05 redis_cache.1 | 12341:signal-handler (1724345225) Received SIGTERM scheduling shutdown...
19:47:05 redis_cache.1 | 12341:M 22 Aug 2024 19:47:05.419 # User requested shutdown...
19:47:05 redis_cache.1 | 12341:M 22 Aug 2024 19:47:05.419 * Removing the pid file.
19:47:05 redis_cache.1 | 12341:M 22 Aug 2024 19:47:05.422 # Redis is now ready to exit, bye bye...
19:47:05 system        | web.1 stopped (rc=-15)
19:47:05 system        | schedule.1 stopped (rc=-15)
19:47:05 system        | redis_cache.1 stopped (rc=-15)
19:47:05 system        | watch.1 stopped (rc=-15)
19:47:05 system        | socketio.1 stopped (rc=-15)
19:47:05 system        | redis_queue.1 stopped (rc=-15)

It did run but that error happened

Hi @saifsabry:

Check your permissions. Seems you cannot write on logs folder.
Are you using the right user? MySQL shows permissions issue too …

If so… what is the steps to fix the problem??

Which user have you used to install / configure bench/frappe environment?

I only I have one user I don’t have multiple users in my ubuntu os

I don’t know which method was used for installation … many installation scripts/samples creates different user …