Installation and Production setup of Frappe/ERPNext-Version-14 in Ubuntu-22.04-LTS

Поділитися
Вставка
  • Опубліковано 9 лис 2024

КОМЕНТАРІ • 57

  • @BabaHamoudy
    @BabaHamoudy 2 роки тому +11

    started trying to install this at 10am. got to this video at around 10pm and it’s finally installed. this should’ve been the first video i watched. thanks.

  • @khudadatbaluch7884
    @khudadatbaluch7884 2 роки тому +2

    we depend on you, you are our master, ang guru, thanks a lot,

  • @ehikowesho
    @ehikowesho 4 місяці тому +1

    Thank you so much. very straight forward

  • @sorensd
    @sorensd Рік тому +3

    When third-party documentation is better than the official one.

  • @nikolaikolja
    @nikolaikolja 2 роки тому +2

    Thank you for this guide. I as a dummy did it! Excellent!

  • @MaghrebProductions
    @MaghrebProductions Рік тому

    Thank you for all those videos! Huge support to you 🙏

  • @PrathamV-e9q
    @PrathamV-e9q Рік тому +1

    ERP setup this video good to start the installing in server

  • @masteryaks
    @masteryaks Рік тому +1

    You are simply a genius thanks

  • @majdiesmeda1398
    @majdiesmeda1398 2 роки тому +5

    i have a problesm at step 13
    when i try to apply the comand (bench init farrpe-bench )
    it says error: there was a problem while creating farppe-bench
    can someone please help me and thank you

    • @weixiangng8279
      @weixiangng8279 2 місяці тому

      I think need python venv to execute the bench init frappe-bench.

  • @harishbaria99
    @harishbaria99 2 роки тому +2

    How to Edit existing workspaces, modules, doc_type, dashboard ,etc

  • @Ahmed-qz8ot
    @Ahmed-qz8ot 2 роки тому +2

    Perfect guide as always

  • @sshmyhome3571
    @sshmyhome3571 Рік тому +1

    Great work here. will be possible to get any tutorial on Postgresql implementation of ERPNext?

    • @d-code-hub
      @d-code-hub  Рік тому +1

      ERPNext not supporting postgres

  • @erpadminpspl7868
    @erpadminpspl7868 2 роки тому +1

    Thank you for this setup tutorial

  • @weixiangng8279
    @weixiangng8279 4 місяці тому

    I've made some changes like customization of new DocType in ERPNext, how can I move my changes from development to production/live server?

  • @weixiangng8279
    @weixiangng8279 2 місяці тому

    After setup production how to browse your local/development erpnext ya?

  • @ravinopana820
    @ravinopana820 2 роки тому +2

    Please help me. What should I do in this error?
    $ bench --version
    /home/ravindoge/frappe-bench/frappe-bench/env/bin/python: Error while finding module specification for 'frappe.utils.bench_helper' (ModuleNotFoundError: No module named 'frappe')

    • @ravinopana820
      @ravinopana820 2 роки тому

      $ bench init frappe-bench --frappe-branch version-14
      /home/ravindoge/frappe-bench/env/bin/python: Error while finding module specification for 'frappe.utils.bench_helper' (ModuleNotFoundError: No module named 'frappe')
      Setting Up Environment
      $ /usr/bin/python3 -m venv env
      $ /home/ravindoge/frappe-bench/frappe-bench/env/bin/python -m pip install --quiet --upgrade pip
      /bin/sh: 1: redis-server: not found
      Traceback (most recent call last):
      File "/usr/local/lib/python3.10/dist-packages/bench/commands/make.py", line 70, in init
      init(
      File "/usr/local/lib/python3.10/dist-packages/bench/utils/render.py", line 95, in wrapper_fn
      return fn(*args, **kwargs)
      File "/usr/local/lib/python3.10/dist-packages/bench/utils/system.py", line 66, in init
      bench.setup.config(redis=not skip_redis_config_generation, procfile=not no_procfile)
      File "/usr/local/lib/python3.10/dist-packages/bench/utils/render.py", line 110, in wrapper_fn
      return fn(*args, **kwargs)
      File "/usr/local/lib/python3.10/dist-packages/bench/bench.py", line 382, in config
      generate_config(self.bench.name)
      File "/usr/local/lib/python3.10/dist-packages/bench/config/redis.py", line 15, in generate_config
      redis_version = get_redis_version()
      File "/usr/local/lib/python3.10/dist-packages/bench/config/redis.py", line 82, in get_redis_version
      version_string = subprocess.check_output('redis-server --version', shell=True)
      File "/usr/lib/python3.10/subprocess.py", line 420, in check_output
      return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
      File "/usr/lib/python3.10/subprocess.py", line 524, in run
      raise CalledProcessError(retcode, process.args,
      subprocess.CalledProcessError: Command 'redis-server --version' returned non-zero exit status 127.
      ERROR: There was a problem while creating frappe-bench
      Do you want to rollback these changes? [y/N]:

  • @godlinmilan1520
    @godlinmilan1520 Рік тому

    It's a great one thankyou so much...

  • @mohammedusman3581
    @mohammedusman3581 2 роки тому

    Can you make a video on.
    How to update OS, then update erpnext.
    It seems very difficult to do.

  • @mustafazargar1855
    @mustafazargar1855 Рік тому +1

    Any tutorial to install HRM module on top of it? I am trying to follow the official documentation for the same but i am stuck on the following errorbafter the command " bench get-app --branch version-14 hrms":
    Getting hrms
    $ git clone hrms --branch version-14 --depth 1 --origin upstream
    fatal: repository 'hrms' does not exist

  • @eexpgroup5039
    @eexpgroup5039 Рік тому

    The education domain cannot be found in ERPNext 14. Is it available? If available how to activate it?

  • @YawarAli_
    @YawarAli_ 2 роки тому +2

    After completion of setup successfully I'm unable to see following modules:
    E-commerce
    Human Resources
    Education
    Healthcare
    Hospitality
    Non Profit
    Please tell me what the reason?

    • @d-code-hub
      @d-code-hub  2 роки тому +1

      They all are seperate apps in version 14 you have to install it from frappe GitHub

    • @YawarAli_
      @YawarAli_ 2 роки тому

      Many thanks, I really appreciate your work.
      I wish if you make a video on customize ERPNext locally and deploy on aws ec2 along with prerequisite of aws configuration like network security.

  • @workdsl-bm1rb
    @workdsl-bm1rb 6 місяців тому

    hi , i completed the production after when try to access with my ip its just displaying welcome to nginx page . how to fix that

  • @kapilpai4779
    @kapilpai4779 Рік тому

    What is Frappe Press?

  • @braq331
    @braq331 Рік тому +1

    I have an issue where can I report it ??
    Arabic language is separated

  • @MdMozammelHossain
    @MdMozammelHossain 2 роки тому

    hi, can you please make a video guide how to install v14 on docker in ubuntu vm

  • @ransikerandeni9086
    @ransikerandeni9086 4 місяці тому

    Thanks alot. I encountered an error when trying the "bench get-app payments", it states that there's no "setup.py" file in the payments folder. If someone found workaround, please reply 🙏

  • @Abid-Khan700
    @Abid-Khan700 10 місяців тому

    Table 'tabDefaultValue' missing in the restored site. Database not installed correctly, this can due to lack of permission, or that the database name exists. Check your mysql root password, validity of the backup file or use --force to reinstall
    facing this issue please guide me

  • @Hicham_SaAh
    @Hicham_SaAh 2 роки тому +1

    ON STEP 13 initilise the frappe bench & install frappe latest version
    I GET MESSAGE " WARN: You should not run this command as root" can you help me ?

    • @d-code-hub
      @d-code-hub  2 роки тому +1

      Create a new user in ubuntu and add sudo permission to that user. Then try again step 12

    • @Hicham_SaAh
      @Hicham_SaAh 2 роки тому

      @@d-code-hub well done, Thank you boss

  • @imoldovan
    @imoldovan 2 роки тому

    What are the disadvantages of running ERPnext in docker??

    • @AndoGamingTv
      @AndoGamingTv Рік тому

      think of advantages of running it in linux instead

  • @pkmindworld
    @pkmindworld 11 місяців тому

    Sir isko root-user me intall krna hai ya non root me ?

  • @mmanuelmiles5917
    @mmanuelmiles5917 Рік тому

    I keep getting the error "import error: cannot import name 'html5lib from pip vendor's when trying to install the frappe-bench

  • @gn9517
    @gn9517 Рік тому

    There was a problem while creating frappe-bench

  • @bahaajobs
    @bahaajobs Рік тому

    Hi thank you for the video, I was able to install it before, but recently just couple of month ago I keep getting this error message after $bench new-site [sitename] :
    "Table 'tabDefaultValue' missing in the restored site. Database not installed correctly, this can due to lack of permission, or that the database name exists. Check your mysql root password, validity of the backup file or use --force to reinstall"
    any advice?

    • @intrelaud
      @intrelaud Рік тому

      hello, did you find a solution?

    • @bahaajobs
      @bahaajobs Рік тому

      @@intrelaud
      Yes I found the error behind it, there is some lines in 50-server.cnf conflicts with my.cnf
      My solution was to comment all similar lines in 50-server file and the taps too and keep them active in my.cnf file.
      You can message me if you still need help

    • @bahaajobs
      @bahaajobs Рік тому

      @@intrelaud I replied this twice but for some reason not showing the answer, yes I found the solution, it is a conflict between 50-server.cnf and my.cnf. my solution was to comment all similer lines in 50-server file including the headers,. and keep my.cnf lines active. please check and let me know if you still facing an issue

  • @motelnitskiy
    @motelnitskiy Рік тому

    I can't login to my profile after installation. Wrong login and password all the time

  • @ananthsemail
    @ananthsemail 2 роки тому

    I am stuck at 'bench init frappe-bench --frappe-branch version-14'
    ERROR: Exception:
    Traceback (most recent call last):
    File "/home/ananth/frappe-bench/env/lib/python3.10/site-packages/pip/_vendor/urllib3/response.py", line 435, in _error_catcher
    yield
    File "/home/ananth/frappe-bench/env/lib/python3.10/site-packages/pip/_vendor/urllib3/response.py", line 516, in read
    data = self._fp.read(amt) if not fp_closed else b""
    File "/home/ananth/frappe-bench/env/lib/python3.10/site-packages/pip/_vendor/cachecontrol/filewrapper.py", line 90, in read
    data = self.__fp.read(amt)
    File "/usr/lib/python3.10/http/client.py", line 465, in read
    s = self.fp.read(amt)
    File "/usr/lib/python3.10/socket.py", line 705, in readinto
    return self._sock.recv_into(b)
    File "/usr/lib/python3.10/ssl.py", line 1273, in recv_into
    return self.read(nbytes, buffer)
    File "/usr/lib/python3.10/ssl.py", line 1129, in read
    return self._sslobj.read(len, buffer)
    TimeoutError: The read operation timed out
    During handling of the above exception, another exception occurred:
    Traceback (most recent call last):
    File "/home/ananth/frappe-bench/env/lib/python3.10/site-packages/pip/_internal/cli/base_command.py", line 167, in exc_logging_wrapper
    status = run_func(*args)
    File "/home/ananth/frappe-bench/env/lib/python3.10/site-packages/pip/_internal/cli/req_command.py", line 247, in wrapper
    return func(self, options, args)
    File "/home/ananth/frappe-bench/env/lib/python3.10/site-packages/pip/_internal/commands/install.py", line 369, in run
    requirement_set = resolver.resolve(
    File "/home/ananth/frappe-bench/env/lib/python3.10/site-packages/pip/_internal/resolution/resolvelib/resolver.py", line 92, in resolve
    result = self._result = resolver.resolve(
    File "/home/ananth/frappe-bench/env/lib/python3.10/site-packages/pip/_vendor/resolvelib/resolvers.py", line 481, in resolve
    state = resolution.resolve(requirements, max_rounds=max_rounds)
    File "/home/ananth/frappe-bench/env/lib/python3.10/site-packages/pip/_vendor/resolvelib/resolvers.py", line 373, in resolve
    failure_causes = self._attempt_to_pin_criterion(name)
    File "/home/ananth/frappe-bench/env/lib/python3.10/site-packages/pip/_vendor/resolvelib/resolvers.py", line 213, in _attempt_to_pin_criterion
    criteria = self._get_updated_criteria(candidate)
    File "/home/ananth/frappe-bench/env/lib/python3.10/site-packages/pip/_vendor/resolvelib/resolvers.py", line 204, in _get_updated_criteria
    self._add_to_criteria(criteria, requirement, parent=candidate)
    File "/home/ananth/frappe-bench/env/lib/python3.10/site-packages/pip/_vendor/resolvelib/resolvers.py", line 172, in _add_to_criteria
    if not criterion.candidates:
    File "/home/ananth/frappe-bench/env/lib/python3.10/site-packages/pip/_vendor/resolvelib/structs.py", line 151, in __bool__
    return bool(self._sequence)
    File "/home/ananth/frappe-bench/env/lib/python3.10/site-packages/pip/_internal/resolution/resolvelib/found_candidates.py", line 155, in __bool__
    return any(self)
    File "/home/ananth/frappe-bench/env/lib/python3.10/site-packages/pip/_internal/resolution/resolvelib/found_candidates.py", line 143, in
    return (c for c in iterator if id(c) not in self._incompatible_ids)
    File "/home/ananth/frappe-bench/env/lib/python3.10/site-packages/pip/_internal/resolution/resolvelib/found_candidates.py", line 47, in _iter_built
    candidate = func()
    File "/home/ananth/frappe-bench/env/lib/python3.10/site-packages/pip/_internal/resolution/resolvelib/factory.py", line 206, in _make_candidate_from_link
    self._link_candidate_cache[link] = LinkCandidate(
    File "/home/ananth/frappe-bench/env/lib/python3.10/site-packages/pip/_internal/resolution/resolvelib/candidates.py", line 297, in __init__
    super().__init__(
    File "/home/ananth/frappe-bench/env/lib/python3.10/site-packages/pip/_internal/resolution/resolvelib/candidates.py", line 162, in __init__
    self.dist = self._prepare()
    File "/home/ananth/frappe-bench/env/lib/python3.10/site-packages/pip/_internal/resolution/resolvelib/candidates.py", line 231, in _prepare
    dist = self._prepare_distribution()
    File "/home/ananth/frappe-bench/env/lib/python3.10/site-packages/pip/_internal/resolution/resolvelib/candidates.py", line 308, in _prepare_distribution
    return preparer.prepare_linked_requirement(self._ireq, parallel_builds=True)
    File "/home/ananth/frappe-bench/env/lib/python3.10/site-packages/pip/_internal/operations/prepare.py", line 438, in prepare_linked_requirement
    return self._prepare_linked_requirement(req, parallel_builds)
    File "/home/ananth/frappe-bench/env/lib/python3.10/site-packages/pip/_internal/operations/prepare.py", line 483, in _prepare_linked_requirement
    local_file = unpack_url(
    File "/home/ananth/frappe-bench/env/lib/python3.10/site-packages/pip/_internal/operations/prepare.py", line 165, in unpack_url
    file = get_http_url(
    File "/home/ananth/frappe-bench/env/lib/python3.10/site-packages/pip/_internal/operations/prepare.py", line 106, in get_http_url
    from_path, content_type = download(link, temp_dir.path)
    File "/home/ananth/frappe-bench/env/lib/python3.10/site-packages/pip/_internal/network/download.py", line 147, in __call__
    for chunk in chunks:
    File "/home/ananth/frappe-bench/env/lib/python3.10/site-packages/pip/_internal/network/utils.py", line 63, in response_chunks
    for chunk in response.raw.stream(
    File "/home/ananth/frappe-bench/env/lib/python3.10/site-packages/pip/_vendor/urllib3/response.py", line 573, in stream
    data = self.read(amt=amt, decode_content=decode_content)
    File "/home/ananth/frappe-bench/env/lib/python3.10/site-packages/pip/_vendor/urllib3/response.py", line 509, in read
    with self._error_catcher():
    File "/usr/lib/python3.10/contextlib.py", line 153, in __exit__
    self.gen.throw(typ, value, traceback)
    File "/home/ananth/frappe-bench/env/lib/python3.10/site-packages/pip/_vendor/urllib3/response.py", line 440, in _error_catcher
    raise ReadTimeoutError(self._pool, None, "Read timed out.")
    pip._vendor.urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host='files.pythonhosted.org', port=443): Read timed out.
    Traceback (most recent call last):
    File "/usr/local/lib/python3.10/dist-packages/bench/commands/make.py", line 70, in init
    init(
    File "/usr/local/lib/python3.10/dist-packages/bench/utils/render.py", line 95, in wrapper_fn
    return fn(*args, **kwargs)
    File "/usr/local/lib/python3.10/dist-packages/bench/utils/system.py", line 79, in init
    get_app(
    File "/usr/local/lib/python3.10/dist-packages/bench/app.py", line 420, in get_app
    app.install(verbose=verbose, skip_assets=skip_assets, restart_bench=restart_bench)
    File "/usr/local/lib/python3.10/dist-packages/bench/utils/render.py", line 110, in wrapper_fn
    return fn(*args, **kwargs)
    File "/usr/local/lib/python3.10/dist-packages/bench/app.py", line 224, in install
    install_app(
    File "/usr/local/lib/python3.10/dist-packages/bench/app.py", line 540, in install_app
    bench.run(f"{bench.python} -m pip install {quiet_flag} --upgrade -e {app_path} {cache_flag}")
    File "/usr/local/lib/python3.10/dist-packages/bench/bench.py", line 47, in run
    return exec_cmd(cmd, cwd=cwd or self.cwd)
    File "/usr/local/lib/python3.10/dist-packages/bench/utils/__init__.py", line 153, in exec_cmd
    raise CommandFailedError
    bench.exceptions.CommandFailedError
    ERROR: There was a problem while creating frappe-bench
    Do you want to rollback these changes? [y/N]:
    I am on Ubuntu desktop 22.04.01 LTS on Oracle VM Virtualbox 6.1.36r

    • @Hicham_SaAh
      @Hicham_SaAh 2 роки тому

      try to make a new user follow the steps and continue step number 13 :
      sudo useradd -m -s /bin/bash erpnext
      sudo passwd erpnext
      sudo usermod -aG sudo erpnext
      Update your PATH.
      $ sudo su - erpnext
      tee -a ~/.bashrc

  • @jvdatahan
    @jvdatahan Рік тому +1

    Awesome tutorial! Thank you!
    But when i install the hrms. I got error. Can you help me? What is your email? Or how can i contact you with? Thanks!

    • @d-code-hub
      @d-code-hub  Рік тому +1

      Please make sure that bench is running while installing hrms. If not start the bench using bech start command

    • @jvdatahan
      @jvdatahan Рік тому +1

      @@d-code-hub Thanks man! it works

    • @jvdatahan
      @jvdatahan Рік тому

      @@d-code-hub ​ @D-codE but i got another problem when accessing my employee Lifecycle Dashboard. it says
      "SERVER ERROR
      pymysql.err.OperationalError: (1054, "Unknown column 'tabEmployee.parenttype' in 'on clause'")"