Debian Installation

Problem installing ERPNext
Debian 8.3 Jessie 64 LAMP
Using Apache for ssl and http port, using nginx on port 8080 for erpnext - both working fine

MariaDB working allright, using Mysql on the same server - maria db just for erpnext

Using the install script i get

Cloning into ‘/tmp/.bench’…
remote: Counting objects: 167, done.
remote: Compressing objects: 100% (149/149), done.
remote: Total 167 (delta 3), reused 94 (delta 0), pack-reused 0
Receiving objects: 100% (167/167), 7.06 MiB | 3.75 MiB/s, done.
Resolving deltas: 100% (3/3), done.
[WARNING]: provided hosts list is empty, only localhost is available

PLAY [localhost] ***************************************************************

TASK [setup] *******************************************************************
ok: [localhost]

TASK [Create user] *************************************************************
ok: [localhost]

TASK [Set home folder perms] ***************************************************
ok: [localhost]

TASK [Set home folder perms] ***************************************************
skipping: [localhost]

TASK [Set /tmp/.bench folder perms] ********************************************
An exception occurred during task execution. To see the full traceback, use -vvv. The error was: AttributeError: ‘tuple’ object has no attribute ‘items’
fatal: [localhost]: FAILED! => {“changed”: false, “failed”: true, “module_stderr”: “Traceback (most recent call last):\n File "/root/.ansible/tmp/ansible-tmp-1493214490.78-108811323211964/command", line 2426, in \n main()\n File "/root/.ansible/tmp/ansible-tmp-1493214490.78-108811323211964/command", line 118, in main\n module = CommandModule(argument_spec=dict())\n File "/root/.ansible/tmp/ansible-tmp-1493214490.78-108811323211964/command", line 756, in init\n self._check_arguments(check_invalid_arguments)\n File "/root/.ansible/tmp/ansible-tmp-1493214490.78-108811323211964/command", line 1303, in _check_arguments\n for (k,v) in self.params.items():\nAttributeError: ‘tuple’ object has no attribute ‘items’\n”, “module_stdout”: “”, “msg”: “MODULE FAILURE”, “parsed”: false}

NO MORE HOSTS LEFT *************************************************************
to retry, use: --limit @develop/create_user.retry

PLAY RECAP *********************************************************************
localhost : ok=3 changed=0 unreachable=0 failed=1

Traceback (most recent call last):
File “”, line 351, in
File “”, line 98, in install_bench
run_playbook(‘develop/create_user.yml’, extra_vars=extra_vars)
File “”, line 301, in run_playbook
success = subprocess.check_call(args, cwd=os.path.join(cwd, ‘playbooks’))
File “/usr/lib/python2.7/”, line 540, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command ‘[‘ansible-playbook’, ‘-c’, ‘local’, ‘develop/create_user.yml’, ‘-e’, ‘@/tmp/extra_vars.json’]’ returned non-zero exit status 2

Where could be a problem I think is here, with the version of libssl which I needed for apache

without going into the specifics it looks as if you would be in the best position generally to install ERPNext on a ‘clean’ OS without anything else running. That would avoid such conflicts with other stuff.

If you want to utilize your server for different needs you might want to look into using a container for ERPNext (I’d recommend LXD/LXC which feels practically behaves very similar to a VM [in contrast to docker or such] and therefore might be the best choice to run ERNExt which utilizes quite a bunch of services)

Thank you very much, hope it will work on native support, as I use debian not Ubuntu on the server. Maybe that is the problem with ERPNext also, having Debian installed.

On the virtualbox image I have very intermitent network problems, sometimes it has instant reaction times, other times takes minutes to load and send data, while it resets the network adapter or hanging.

generally debian (8 I think) should be supported. At least that’s what the easy install script claims.
Still you could just give it a shot with a container if you keep being stuck.

Generally I think ERPNext support from the Community (due to being the widest adopted OS I guess) will be best for an ubuntu server.

Yes but it seems i get numerous errors, and I am afraid I won’t be able to put it back online with little downtime. With so many apps installed on the server.

I don’t quite follow … can you clarify on the below to start with?

  1. do you have a ‘clean’ server or are you running other things then ERPNext on that machine?
  2. do you use ERPNext (running on that server) already in production?

I have the main server with three domains on it and 3 TB of video footage for our clients, currently i use ERPNext in a virtual machine with proxy on apache web server and tried to replace it with nginx on that particular port. But had these installation problems.
This is a dedicated machine Xeon with 16gb ram and 2 x 3TB hard drives if this matters