vincent4

Members
  • Posts

    5
  • Joined

  • Last visited

Everything posted by vincent4

  1. hello friends, firsteal man thanks for this guide it helps me to install erp on my unraid. i hav modify a bit the script and mayby it will be helpfull for you @JQNorman I use my early installeted mariadb container for this. After docker-compose up open frontend container and install erpnext by following command bench --site frontend install-app erpnext that it! PS: and you need standard .env with you DB parametern version: "3" services: backend: image: frappe/erpnext:v14.14.0 container_name: backend deploy: restart_policy: condition: on-failure volumes: - sites:/home/frappe/frappe-bench/sites - logs:/home/frappe/frappe-bench/logs configurator: image: frappe/erpnext:v14.14.0 container_name: configurator entrypoint: - bash - -c command: - > bench set-config -g db_host $$DB_HOST; bench set-config -gp db_port $$DB_PORT; bench set-config -g redis_cache "redis://$$REDIS_CACHE"; bench set-config -g redis_queue "redis://$$REDIS_QUEUE"; bench set-config -g redis_socketio "redis://$$REDIS_SOCKETIO"; bench set-config -gp socketio_port $$SOCKETIO_PORT; environment: DB_HOST: ${DB_HOST} DB_PORT: ${DB_PORT} REDIS_CACHE: redis-cache:6379 REDIS_QUEUE: redis-queue:6379 REDIS_SOCKETIO: redis-socketio:6379 SOCKETIO_PORT: "9000" volumes: - sites:/home/frappe/frappe-bench/sites - logs:/home/frappe/frappe-bench/logs create-site: image: frappe/erpnext:v14.14.0 container_name: create-site volumes: - sites:/home/frappe/frappe-bench/sites - logs:/home/frappe/frappe-bench/logs entrypoint: - bash - -c command: - > wait-for-it -t 120 redis-cache:6379; wait-for-it -t 120 redis-queue:6379; wait-for-it -t 120 redis-socketio:6379; export start=`date +%s`; until [[ -n `grep -hs ^ sites/common_site_config.json | jq -r ".db_host // empty"` ]] && \ [[ -n `grep -hs ^ sites/common_site_config.json | jq -r ".redis_cache // empty"` ]] && \ [[ -n `grep -hs ^ sites/common_site_config.json | jq -r ".redis_queue // empty"` ]]; do echo "Waiting for sites/common_site_config.json to be created"; sleep 5; if (( `date +%s`-start > 120 )); then echo "could not find sites/common_site_config.json with required keys"; exit 1 fi done; echo "sites/common_site_config.json found"; bench new-site frontend --admin-password=admin --mariadb-root-password <ROOT_PASSWORD> --install-app payments --install-app erpnext --set-default; frontend: image: frappe/erpnext:v14.14.0 container_name: frontend deploy: restart_policy: condition: on-failure command: - nginx-entrypoint.sh environment: BACKEND: backend:8000 FRAPPE_SITE_NAME_HEADER: frontend SOCKETIO: websocket:9000 UPSTREAM_REAL_IP_ADDRESS: 127.0.0.1 UPSTREAM_REAL_IP_HEADER: X-Forwarded-For UPSTREAM_REAL_IP_RECURSIVE: "off" PROXY_READ_TIMOUT: 120 CLIENT_MAX_BODY_SIZE: 50m volumes: - sites:/home/frappe/frappe-bench/sites - logs:/home/frappe/frappe-bench/logs ports: - "6363:8080" queue-default: image: frappe/erpnext:v14.14.0 container_name: queue-default deploy: restart_policy: condition: on-failure command: - bench - worker - --queue - default volumes: - sites:/home/frappe/frappe-bench/sites - logs:/home/frappe/frappe-bench/logs queue-long: image: frappe/erpnext:v14.14.0 container_name: queue-long deploy: restart_policy: condition: on-failure command: - bench - worker - --queue - long volumes: - sites:/home/frappe/frappe-bench/sites - logs:/home/frappe/frappe-bench/logs queue-short: image: frappe/erpnext:v14.14.0 container_name: queue-short deploy: restart_policy: condition: on-failure command: - bench - worker - --queue - short volumes: - sites:/home/frappe/frappe-bench/sites - logs:/home/frappe/frappe-bench/logs redis-queue: image: redis:6.2-alpine container_name: redis-queue deploy: restart_policy: condition: on-failure volumes: - redis-queue-data:/data redis-cache: image: redis:6.2-alpine container_name: redis-cache deploy: restart_policy: condition: on-failure volumes: - redis-cache-data:/data redis-socketio: image: redis:6.2-alpine container_name: redis-socketio deploy: restart_policy: condition: on-failure volumes: - redis-socketio-data:/data scheduler: image: frappe/erpnext:v14.14.0 container_name: scheduler deploy: restart_policy: condition: on-failure command: - bench - schedule volumes: - sites:/home/frappe/frappe-bench/sites - logs:/home/frappe/frappe-bench/logs websocket: image: frappe/erpnext:v14.14.0 container_name: websocket deploy: restart_policy: condition: on-failure command: - node - /home/frappe/frappe-bench/apps/frappe/socketio.js volumes: - sites:/home/frappe/frappe-bench/sites - logs:/home/frappe/frappe-bench/logs volumes: redis-queue-data: redis-cache-data: redis-socketio-data: sites: logs:
  2. abgestürzt oder hart abgeschaltet. Nein nichts der gleichen. Danke für die Tipps
  3. Nach langem rum probieren gehts jetzt komischer weise. Und ich weiß es nicht woran es lag. Wie kommt es zu so einem Fehler, was macht man falsch? Wie kann man sowas in Zukunft vermeiden? Danke sehr
  4. Danke für die Antwort. Oct 30 16:32:15 Tower root: mount: /mnt/christiane_one: wrong fs type, bad option, bad superblock on /dev/sdf1, missing codepage or helper program, or other error. Oct 30 16:32:15 Tower kernel: BTRFS error (device sdg1): super_num_devices 1 mismatch with num_devices 1 found here
  5. Hallo Leute, bitte um Hilfe. hatte 2 Platten je 8 TB eine als Parität und eine für Daten. 2 x 1TB Cash Pool Die Platten oben sind über Adaptec Controller angeschlossen + 1 x SSD als Cash Pool direkt über Mainboard. Nun habe ich noch eine 8 TB Platte reingesteckt für Daten. Jetzt werden aber 2 x 1TB Cash Pool nicht erkannt steht nicht mountbar: Kein Dateisystem Ich muss sagen ich hab Steckplätze getauscht, aber das soll ja nichts zu Sachen haben Platten werden ja nach Seriennummern erkannt oder sehe ich das Falsch. Hab also mal rum Probier und es hatte mal geklappt dass die beiden erkannt werden, Server ausgeschaltet Gehäuse an sein Platz gestellt wieder hochfahren der gleiche schei....s wieder nicht mountbar: Kein Dateisystem https://www.dropbox.com/s/b9wfqi98ib560en/Bildschirmfoto 2021-10-30 um 16.20.44.png?dl=0 Danke im voraus!