LedgerSMB
The foundation for your business
Fork me on GitHub
[ledgersmb-users] Re: docker-compose install process for LedgerSMB
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ledgersmb-users] Re: docker-compose install process for LedgerSMB



Hi Erik,

Finally getting a few moments to look over list traffic and noticed that while you can see the LedgerSMB version that the compose file pulled by looking at docker output, you can't from the log output.

Perhaps we should report the current version to console during the init phase?

Regards
David G

On 24/4/20 8:36 pm, Erik Huelsmann wrote:
Hi!

i am trying to test out LedgerSMB..

Thanks!

im following the process for the docker-compose process..

i downloaded the docker-compose.yml file..

then ran docker-compose pull which seemed to work fine

and then docker-compose up which seemed to work fine.

this is on a linux mint 19 VM in  virtualbox.

i assume i missed something, but the docker image and ps commands show that it claims to be running on  5762

but if i do a lsof -i  i dont see it running and if i do 127.0.0.1:5762 i get nothing.


You're absolutely on the right track! However, I don't think our docker-compose exposes the port on the host. If you run

$ docker inspect ledgersmb_lsmb_1 | grep -i IP


You'll be provided with an IP address (172.x.y.z). Then please access the ledgersmb service as http://172.x.y.z:5762/

Just to be sure: did you pull the docker-compose file from: https://github.com/ledgersmb/ledgersmb-docker/blob/1.7/docker-compose.yml ?

I'm asking because I see your docker-compose downloads LedgerSMB 1.5 which has recently received End-Of-Life. Our current most-stable release (old-stable) is 1.6 and our current release is 1.7 (we're well under way to release 1.8 by the end of summer).

Regards,


Erik


here is my pull output

docker-compose pull
Pulling postgres (postgres:9.6-alpine)...
9.6-alpine: Pulling from library/postgres
aad63a933944: Pull complete
a5b4c973b808: Pull complete
074a034a3a7a: Pull complete
f0cc5c471b46: Pull complete
5b515caa102b: Pull complete
ff417e23115a: Pull complete
15675b8430d7: Pull complete
a92cb200dd03: Pull complete
056ca6be8aef: Pull complete
Digest: sha256:aab62d85087bbd115c20c0dfb4b1e8dd4fcb4b66c2bbe914d91776f2121ec719
Status: Downloaded newer image for postgres:9.6-alpine
Pulling lsmb (ledgersmb/ledgersmb:1.5)...
1.5: Pulling from ledgersmb/ledgersmb
02d147d36283: Pull complete
162568cc8531: Pull complete
bb6b4d3a3590: Pull complete
f6028461b82d: Pull complete
7dd471d87c20: Pull complete
b30fa3988f1b: Pull complete
Digest: sha256:23ff0d72c31132070f27e10228a136a033144da096c95e5605e2510aa7c29224
Status: Downloaded newer image for ledgersmb/ledgersmb:1.5


here is my "up" output

docker-compose up
Creating ledgersmb_postgres_1 ...
Creating ledgersmb_postgres_1 ... done
Creating ledgersmb_lsmb_1 ...
Creating ledgersmb_lsmb_1 ... done
Attaching to ledgersmb_postgres_1, ledgersmb_lsmb_1
postgres_1  |
postgres_1  | PostgreSQL Database directory appears to contain a database; Skipping initialization
postgres_1  |
postgres_1  | LOG:  database system was shut down at 2020-04-20 01:56:03 UTC
postgres_1  | LOG:  MultiXact member wraparound protections are now enabled
postgres_1  | LOG:  database system is ready to accept connections
postgres_1  | LOG:  autovacuum launcher started
lsmb_1      |   maybe: /usr/lib/perl5
lsmb_1      | Selected PERL5LIB=/usr/lib/perl5
lsmb_1      | 2020/04/20-02:00:45 Starman::Server (type Net::Server::PreFork) starting! pid(1)
lsmb_1      | Resolved [*]:5762 to [::]:5762, IPv6
lsmb_1      | Not including resolved host [0.0.0.0] IPv4 because it will be handled by [::] IPv6
lsmb_1      | Binding to TCP port 5762 on host :: with IPv6
lsmb_1      | Setting gid to "33 33"
lsmb_1      | Starting Worker on PID 1 Using Built Dojo



other info

 docker container  ls
CONTAINER ID        IMAGE                     COMMAND                  CREATED             STATUS              PORTS               NAMES
092fd5beda65        ledgersmb/ledgersmb:1.5   "start.sh"               12 minutes ago      Up 12 minutes       5762/tcp            ledgersmb_lsmb_1
6dac19991470        postgres:9.6-alpine       "docker-entrypoint.s…"   12 minutes ago      Up 12 minutes       5432/tcp            ledgersmb_postgres_1

docker-compose  images
     Container             Repository           Tag         Image Id      Size 
--------------------------------------------------------------------------------
ledgersmb_lsmb_1       ledgersmb/ledgersmb   1.5          be467de7a19e   460 MB
ledgersmb_postgres_1   postgres              9.6-alpine   c0d2dcd3fa66   34.4 MB

docker-compose version
docker-compose version 1.17.1, build unknown
docker-py version: 2.5.1
CPython version: 2.7.17
OpenSSL version: OpenSSL 1.1.1  11 Sep 2018


docker version
Client:
 Version:           19.03.6
 API version:       1.40
 Go version:        go1.12.17
 Git commit:        369ce74a3c
 Built:             Fri Feb 28 23:45:43 2020
 OS/Arch:           linux/amd64
 Experimental:      false

Server:
 Engine:
  Version:          19.03.6
  API version:      1.40 (minimum version 1.12)
  Go version:       go1.12.17
  Git commit:       369ce74a3c
  Built:            Wed Feb 19 01:06:16 2020
  OS/Arch:          linux/amd64
  Experimental:     false
 containerd:
  Version:          1.3.3-0ubuntu1~18.04.2
  GitCommit:       
 runc:
  Version:          spec: 1.0.1-dev
  GitCommit:       
 docker-init:
  Version:          0.18.0
  GitCommit:       


 docker info
Client:
 Debug Mode: false

Server:
 Containers: 2
  Running: 2
  Paused: 0
  Stopped: 0
 Images: 2
 Server Version: 19.03.6
 Storage Driver: overlay2
  Backing Filesystem: extfs
  Supports d_type: true
  Native Overlay Diff: true
 Logging Driver: json-file
 Cgroup Driver: cgroupfs
 Plugins:
  Volume: local
  Network: bridge host ipvlan macvlan null overlay
  Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog
 Swarm: inactive
 Runtimes: runc
 Default Runtime: runc
 Init Binary: docker-init
 containerd version:
 runc version:
 init version:
 Security Options:
  apparmor
  seccomp
   Profile: default
 Kernel Version: 5.3.0-46-generic
 Operating System: Linux Mint 19.3
 OSType: linux
 Architecture: x86_64
 CPUs: 1
 Total Memory: 1.941GiB
 Name: test-VirtualBox
 ID: 5RM6:BNRV:L7UR:PZSQ:RZUA:IAYP:J3GN:CFXV:SF5P
 Docker Root Dir: /var/lib/docker
 Debug Mode: false
 Registry: https://index.docker.io/v1/
 Labels:
 Experimental: false
 Insecure Registries:
  127.0.0.0/8
 Live Restore Enabled: false

WARNING: No swap limit support

_______________________________________________
users mailing list -- ..hidden..
To unsubscribe send an email to ..hidden..


--
Bye,

Erik.

http://efficito.com -- Hosted accounting and ERP.
Robust and Flexible. No vendor lock-in.

_______________________________________________
users mailing list -- ..hidden..
To unsubscribe send an email to ..hidden..
_______________________________________________
users mailing list -- ..hidden..
To unsubscribe send an email to ..hidden..