Local fambot web installation 2025

Hi, I am running the local farmbot for years. With new gardening season I got CSP error in firefox.

Content-Security-Policy: The page’s settings blocked the loading of a resource (connect-src) at https://github.com/openfarmcc/OpenFarm because it violates the following directive: “connect-src http://192.168.1.232:3000 http://192.168.1.232 http://api.github.com http://raw.githubusercontent.com http://openfarm.cc http://api.rollbar.com http://192.168.1.232:3808 ws: http://localhost:3000 http://localhost:3808 http://browser-http-intake.logs.datadoghq.com” app

  Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://openfarm.cc/api/v1/crops/?include=pictures&filter=. (Reason: CORS request did not succeed). Status code: (null).

Obviously there was security upgrades in the web browser (firefox) and openfarm is not accessible.
So I decided to reinstall the farmbot server because it is difficult to disable or configure the security rules. I follow the page Farmbot-Web-App/local_setup_instructions.sh at staging · FarmBot/Farmbot-Web-App · GitHub .

Unfortunately database create failed with error :

  sudo docker compose run web bundle exec rails db:create db:migrate
    [+] Running 2/0
    ⠿ Container farmbot-web-app-redis-1  Running                                                                                                                                           0.0s
    ⠿ Container farmbot-web-app-db-1     Running                                                                                                                                           0.0s
    [DEPRECATION] Rack::Attack.throttled_response is deprecated. Please use Rack::Attack.throttled_responder instead
    connection to server at "172.18.0.4", port 5432 failed: FATAL:  could not open file "global/pg_filenode.map": Permission denied
    Couldn't create 'farmbot_development' database. Please check your configuration.
    rails aborted!
    ActiveRecord::ConnectionNotEstablished: connection to server at "172.18.0.4", port 5432 failed: FATAL:  could not open file "global/pg_filenode.map": Permission denied (ActiveRecord::ConnectionNotEstablished)

    Caused by:
    PG::ConnectionBad: connection to server at "172.18.0.4", port 5432 failed: FATAL:  could not open file "global/pg_filenode.map": Permission denied (PG::ConnectionBad)

    Tasks: TOP => db:create
    (See full trace by running task with --trace)

It seems to me the postgresql is not running. It is written in the guide that it is checked regularly. So I suppose this guide works. I probably need to initialize something in the docker to start the posgresql, am I right ?

I suppose the farmbot team has no time to support this but is someone running the farmbot server locally in 2025? Could you share your installation experience or instructions ? I hope you have your some notes.