Open-Capture › Forums › Open-Capture : installation › Import de la facture › Répondre à : Import de la facture
Version d’OC (branche master):
<p class= »p1″>normal@normal:/opt/OpenCaptureForInvoices$ git describe –tags</p>
<p class= »p2″>0.7.1</p>
Concernant OCCForInvoices.log, il n’y a rien mis à part le test que j’ai fait hier pour insérer des fournisseurs :
<p class= »p1″>[Open-Capture] 06-10-2020 14:32:46 INFO The following supplier was successfully added into database : Fournisseur 1</p>
Résultat du systemctl status OCForInvoices-web:
OCForInvoices-web.service – Gunicorn instance to Open-Capture For Invoices
Loaded: loaded (/etc/systemd/system/OCForInvoices-web.service; enabled; vendor preset: enabled)
Active: active (running) since Tue 2020-10-06 14:38:06 UTC; 16h ago
Main PID: 601 (gunicorn)
Tasks: 4 (limit: 4621)
Memory: 389.5M
CGroup: /system.slice/OCForInvoices-web.service
├─601 /usr/bin/python3 /usr/local/bin/gunicorn –timeout 300000 –workers 3 –bind unix:OCForInvoices.sock -m 007 wsgi:appwsgi
├─685 /usr/bin/python3 /usr/local/bin/gunicorn –timeout 300000 –workers 3 –bind unix:OCForInvoices.sock -m 007 wsgi:appwsgi
├─686 /usr/bin/python3 /usr/local/bin/gunicorn –timeout 300000 –workers 3 –bind unix:OCForInvoices.sock -m 007 wsgi:appwsgi
└─687 /usr/bin/python3 /usr/local/bin/gunicorn –timeout 300000 –workers 3 –bind unix:OCForInvoices.sock -m 007 wsgi:appwsgi
Oct 07 07:24:56 normal gunicorn[685]: return next(self.gen)
Oct 07 07:24:56 normal gunicorn[685]: File « /usr/local/lib/python3.8/dist-packages/kuyruk/kuyruk.py », line 84, in connection
Oct 07 07:24:56 normal gunicorn[685]: conn.connect()
Oct 07 07:24:56 normal gunicorn[685]: File « /usr/local/lib/python3.8/dist-packages/amqp/connection.py », line 314, in connect
Oct 07 07:24:56 normal gunicorn[685]: self.transport.connect()
Oct 07 07:24:56 normal gunicorn[685]: File « /usr/local/lib/python3.8/dist-packages/amqp/transport.py », line 76, in connect
Oct 07 07:24:56 normal gunicorn[685]: self._connect(self.host, self.port, self.connect_timeout)
Oct 07 07:24:56 normal gunicorn[685]: File « /usr/local/lib/python3.8/dist-packages/amqp/transport.py », line 160, in _connect
Oct 07 07:24:56 normal gunicorn[685]: self.sock.connect(sa)
Oct 07 07:24:56 normal gunicorn[685]: ConnectionRefusedError: [Errno 111] Connection refused
Pareil pour OCForInvoices-worker :
<p class= »p1″> OCForInvoices-web.service – Gunicorn instance to Open-Capture For Invoices</p>
<p class= »p1″> Loaded: loaded (/etc/systemd/system/OCForInvoices-web.service; enabled; vendor preset: enabled)</p>
<p class= »p1″> Active: active (running) since Tue 2020-10-06 14:38:06 UTC; 16h ago</p>
<p class= »p1″> Main PID: 601 (gunicorn)</p>
<p class= »p1″> Tasks: 4 (limit: 4621)</p>
<p class= »p1″> Memory: 389.5M</p>
<p class= »p1″> CGroup: /system.slice/OCForInvoices-web.service</p>
<p class= »p1″> ├─601 /usr/bin/python3 /usr/local/bin/gunicorn –timeout 300000 –workers 3 –bind unix:OCForInvoices.sock -m 007 wsgi:appwsgi</p>
<p class= »p1″> ├─685 /usr/bin/python3 /usr/local/bin/gunicorn –timeout 300000 –workers 3 –bind unix:OCForInvoices.sock -m 007 wsgi:appwsgi</p>
<p class= »p1″> ├─686 /usr/bin/python3 /usr/local/bin/gunicorn –timeout 300000 –workers 3 –bind unix:OCForInvoices.sock -m 007 wsgi:appwsgi</p>
<p class= »p1″> └─687 /usr/bin/python3 /usr/local/bin/gunicorn –timeout 300000 –workers 3 –bind unix:OCForInvoices.sock -m 007 wsgi:appwsgi</p>
<p class= »p1″>Oct 07 07:24:56 normal gunicorn[685]: return next(self.gen)</p>
<p class= »p1″>Oct 07 07:24:56 normal gunicorn[685]: File « /usr/local/lib/python3.8/dist-packages/kuyruk/kuyruk.py », line 84, in connection</p>
<p class= »p1″>Oct 07 07:24:56 normal gunicorn[685]: conn.connect()</p>
<p class= »p1″>Oct 07 07:24:56 normal gunicorn[685]: File « /usr/local/lib/python3.8/dist-packages/amqp/connection.py », line 314, in connect</p>
<p class= »p1″>Oct 07 07:24:56 normal gunicorn[685]: self.transport.connect()</p>
<p class= »p1″>Oct 07 07:24:56 normal gunicorn[685]: File « /usr/local/lib/python3.8/dist-packages/amqp/transport.py », line 76, in connect</p>
<p class= »p1″>Oct 07 07:24:56 normal gunicorn[685]: self._connect(self.host, self.port, self.connect_timeout)</p>
<p class= »p1″>Oct 07 07:24:56 normal gunicorn[685]: File « /usr/local/lib/python3.8/dist-packages/amqp/transport.py », line 160, in _connect</p>
<p class= »p1″>Oct 07 07:24:56 normal gunicorn[685]: self.sock.connect(sa)</p>
<p class= »p1″>Oct 07 07:24:56 normal gunicorn[685]: ConnectionRefusedError: [Errno 111] Connection refused</p>