Hello,
I am trying to install Docker Alfresco but am getting error. The link I am following is
ALF docker install process . I am using 64 bit Ubuntu server 18.04 which is fully updated.
git clone https://github.com/Alfresco/acs-community-deployment.gitCloning into 'acs-community-deployment'...fatal: unable to access 'https://github.com/Alfresco/acs-community-deployment.git/': server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none
Please suggest
Alfresco docker-compose deployment minimum memory requirement is 12GB. It can starts on 8GB, but without any others application.
You use VM with 4GB memory. So try to start it directly on your 8Gb mint or take bigge vm.
Commands to do so on ubuntu 18.04 is bellow:
sudo apt-get updatesudo apt-get install \ apt-transport-https \ ca-certificates \ curl \ gnupg-agent \ software-properties-commoncurl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -sudo apt-key fingerprint 0EBFCD88sudo add-apt-repository \ "deb [arch=amd64] https://download.docker.com/linux/ubuntu \ $(lsb_release -cs) \ stable"sudo apt-get updatesudo apt-get install docker-ce docker-ce-cli containerd.iosudo curl -L "https://github.com/docker/compose/releases/download/1.24.0/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-composesudo chmod +x /usr/local/bin/docker-compose
sudo wget https://github.com/Alfresco/acs-community-deployment/blob/master/docker-compose/docker-compose.yml
sudo docker-compose up
Thank you.
The following error I am getting.
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu\$(lsb_release -cs) \stable"E: Malformed entry 65 in list file /etc/apt/sources.list (Component)E: The list of sources could not be read.
65th line in /etc/apt/sources.list is
deb [arch=amd64] https://download.docker.com/linux/ubuntubionic stable
Please suggest.
I changed the line 65 in and was able to go to the next step. But I had further errors.
sudo apt-get install docker-ce docker-ce-cli containerd.ioReading package lists... DoneBuilding dependency tree Reading state information... Donecontainerd.io is already the newest version (1.2.5-1).docker-ce-cli is already the newest version (5:18.09.5~3-0~ubuntu-bionic).docker-ce is already the newest version (5:18.09.5~3-0~ubuntu-bionic).uma@mail:~$ sudo curl -L "https://github.com/docker/compose/releases/download/1.24.0/docker-compose-$(uname-s)-$(uname -m)" -o /usr/local/bin/docker-composeuname-s: command not found % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- 0:00:05 --:--:-- 0curl: (60) SSL certificate problem: unable to get local issuer certificateMore details here: https://curl.haxx.se/docs/sslcerts.html
curl failed to verify the legitimacy of the server and therefore could notestablish a secure connection to it. To learn more about this situation andhow to fix it, please visit the web page mentioned above.uma@mail:~$ sudo chmod +x /usr/local/bin/docker-compose^Cuma@mail:~$ sudo curl -L "https://github.com/docker/compose/releases/download/1.24.0/docker-compose-(uname-s)-(uname -m)" -o /usr/local/bin/docker-compose % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- 0:00:15 --:--:-- 0curl: (60) SSL certificate problem: unable to get local issuer certificateMore details here: https://curl.haxx.se/docs/sslcerts.html
curl failed to verify the legitimacy of the server and therefore could notestablish a secure connection to it. To learn more about this situation andhow to fix it, please visit the web page mentioned above.uma@mail:~$ -s)-$(uname -m)" -o /usr/local/bin/docker-compose-bash: syntax error near unexpected token `)'uma@mail:~$ sudo chmod +x /usr/local/bin/docker-composeuma@mail:~$ sudo wget https://github.com/Alfresco/acs-community-deployment/blob/master/docker-compose/docker-compose.ym--2019-08-18 03:29:04-- https://github.com/Alfresco/acs-community-deployment/blob/master/docker-compose/docker-compose.ymResolving github.com (github.com)... 198.44.252.107Connecting to github.com (github.com)|198.44.252.107|:443... connected.ERROR: cannot verify github.com's certificate, issued by ‘CN=localhost,OU=dev,O=vihoo’: Unable to locally verify the issuer's authority.ERROR: no certificate subject alternative name matches requested host name ‘github.com’.To connect to github.com insecurely, use `--no-check-certificate'.uma@mail:~$ sudo docker-compose upERROR: yaml.scanner.ScannerError: mapping values are not allowed here in "./docker-compose.yml", line 605, column 26
I think you should read official docker documentation, and give an attention to test and troubleshooting tips.
sudo update-ca-certificates -fsudo wget https://github.com/Alfresco/acs-community-deployment/blob/master/docker-compose/docker-compose.yml
sudo update-ca-certificates -f
or
sudo wget --no-check-certificate https://github.com/Alfresco/acs-community-deployment/blob/master/docker-compose/docker-compose.yml
4. Run application
Docker composer and docker are installed but the yml file gives error.
docker --versionDocker version 18.09.5, build e8ff056uma@mail:~$ docker-compose --versiondocker-compose version 1.24.0, build 0aa59064uma@mail:~$ docker-compose up ERROR: yaml.scanner.ScannerError: mapping values are not allowed here in "./docker-compose.yml", line 605, column 26
The line 605 of docker-compose.yml is
<!-- blob contrib key: blob_contributors:v21:ff5b43c769233d39bb900b22199b2eef -->
sudo...
Even with sudo same problem.
sudo docker-compose up[sudo] password for uma: ERROR: yaml.scanner.ScannerError: mapping values are not allowed here in "./docker-compose.yml", line 605, column 26
Sorry, wrong url in wget command.
Go to your work directory. Remove bad file docker-compose.yml
sudo rm docker-compose.yml
And download it again
sudo wget --no-check-certificate --content-disposition https://raw.githubusercontent.com/Alfresco/acs-community-deployment/master/docker-compose/docker-compose.ymlsudo docker-compose up
sudo wget --no-check-certificate --content-disposition https://raw.githubusercontent.com/Alfresco/acs-community-deployment/master/docker-compose/docker-compose.yml
Thank you. It is pulling from the repository now. The yml file is correct.
After all the software is pulled will the command sudo docker-compose up
will it pull software again each time I give sudo docker-compose up?
Images pulled from hub one time and you can use it local copies until you remove it. List of images
sudo docker images
Docker deployment simple and powerful, but it's important to understand the concept, how it works.
I can suggest you read about docker/docker-compose in general and this articles about Alfresco deployment:
Deploying Alfresco Content Services Community using Docker Compose
https://community.alfresco.com/community/ecm/blog/2018/11/14/deploying-and-running-alfresco-content-services-60?sr=search&searchId=610940b5-a2d5-4598-9220-297b78348ed1&searchIndex=0
Thank yo Serge, without your help I would not have installed the docker edition successfully.
I am able to start Alfresco with sudo docker-compose up.
But my server becomes so slow that even terminal stops to respond, I cant even ssh to it.
It is running as a Ubuntu 18.04 VM guest. The host is Mint 19.2. The system becomes u
Mint configuration is
inxi -FxzSystem: Host: mint-18-uma Kernel: 5.0.21-050021-generic x86_64 bits: 64 compiler: gcc v: 8.3.0 Desktop: Cinnamon 4.2.4 Distro: Linux Mint 19.2 Tina base: Ubuntu 18.04 bionic Machine: Type: Laptop System: Hewlett-Packard product: HP Notebook v: Type1ProductConfigId serial: <filter> Mobo: Hewlett-Packard model: 80CC v: 99.53 serial: <filter> UEFI: Insyde v: F.28 date: 05/17/2019 Battery: ID-1: BAT1 charge: 28.7 Wh condition: 30.5/30.5 Wh (100%) model: 131-42-6E HS04041 status: Unknown CPU: Topology: Quad Core model: AMD A8-7410 APU with AMD Radeon R5 Graphics bits: 64 type: MCP arch: Puma rev: 1 L2 cache: 2048 KiB flags: lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm bogomips: 17568 Speed: 2352 MHz min/max: 1000/2200 MHz Core speeds (MHz): 1: 2310 2: 2305 3: 2230 4: 2278 Graphics: Device-1: AMD Mullins [Radeon R4/R5 Graphics] vendor: Hewlett-Packard driver: radeon v: kernel bus ID: 00:01.0 Device-2: AMD Sun XT [Radeon HD 8670A/8670M/8690M / R5 M330 / M430 / R7 M520] vendor: Hewlett-Packard driver: radeon v: kernel bus ID: 01:00.0 Display: x11 server: X.Org 1.19.6 driver: ati,radeon unloaded: fbdev,modesetting,vesa resolution: 1366x768~60Hz OpenGL: renderer: AMD MULLINS (DRM 2.50.0 5.0.21-050021-generic LLVM 8.0.0) v: 4.5 Mesa 19.0.8 direct render: Yes Audio: Device-1: AMD Kabini HDMI/DP Audio vendor: Hewlett-Packard driver: snd_hda_intel v: kernel bus ID: 00:01.1 Device-2: AMD FCH Azalia vendor: Hewlett-Packard driver: snd_hda_intel v: kernel bus ID: 00:14.2 Sound Server: ALSA v: k5.0.21-050021-generic Network: Device-1: Realtek RTL8723BE PCIe Wireless Network Adapter vendor: Hewlett-Packard driver: rtl8723be v: kernel port: 3000 bus ID: 02:00.0 IF: wlo1 state: up mac: <filter> Device-2: Realtek RTL810xE PCI Express Fast Ethernet vendor: Hewlett-Packard driver: r8169 v: kernel port: 2000 bus ID: 03:00.0 IF: enp3s0 state: down mac: <filter> IF-ID-1: vmnet1 state: unknown speed: N/A duplex: N/A mac: <filter> IF-ID-2: vmnet8 state: unknown speed: N/A duplex: N/A mac: <filter> Drives: Local Storage: total: 465.76 GiB used: 125.90 GiB (27.0%) ID-1: /dev/sda vendor: HGST (Hitachi) model: HTS545050A7E680 size: 465.76 GiB Partition: ID-1: / size: 145.55 GiB used: 71.13 GiB (48.9%) fs: ext4 dev: /dev/sda7 ID-2: swap-1 size: 4.98 GiB used: 0 KiB (0.0%) fs: swap dev: /dev/sda8 Sensors: System Temperatures: cpu: 64.0 C mobo: N/A Fan Speeds (RPM): N/A GPU: device: radeon temp: 49 C device: radeon temp: 63 C Info: Processes: 258 Uptime: 3m Memory: 6.75 GiB used: 1.60 GiB (23.7%) Init: systemd runlevel: 5 Compilers: gcc: 7.4.0 Shell: bash v: 4.4.20 inxi: 3.0.32
The guest is
inxi -FxzSystem: Host: mail.test.com Kernel: 4.15.0-58-generic x86_64 bits: 64 gcc: 7.4.0 Console: tty 0 Distro: Ubuntu 18.04.3 LTSMachine: Device: vmware System: VMware product: VMware Virtual Platform serial: N/A Mobo: Intel model: 440BX Desktop Reference Platform serial: N/A BIOS: Phoenix v: 6.00 date: 04/13/2018CPU: Single core AMD A8-7410 APU with AMD Radeon R5 Graphics (-UP-) arch: Puma rev.1 cache: 2048 KB flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3) bmips: 4391 speed: 2195 MHz (max)Graphics: Card: VMware SVGA II Adapter bus-ID: 00:0f.0 Display Server: N/A driver: vmwgfx tty size: 80x24 Advanced Data: N/A out of XAudio: Card Ensoniq ES1371/ES1373 / Creative Labs CT2518 driver: snd_ens1371 port: 2040 bus-ID: 02:02.0 Sound: Advanced Linux Sound Architecture v: k4.15.0-58-genericNetwork: Card: Intel 82545EM Gigabit Ethernet Controller (Copper) driver: e1000 v: 7.3.21-k8-NAPI port: 2000 bus-ID: 02:01.0 IF: ens33 state: up speed: 1000 Mbps duplex: full mac: <filter>Drives: HDD Total Size: 42.9GB (67.6% used) ID-1: /dev/sda model: VMware_Virtual_S size: 42.9GBPartition: ID-1: / size: 37G used: 28G (79%) fs: ext4 dev: /dev/sda1RAID: No RAID devices: /proc/mdstat, md_mod kernel module presentSensors: None detected - is lm-sensors installed and configured?Info: Processes: 205 Uptime: 4 min Memory: 681.5/3921.5MB Init: systemd Gcc sys: 7.4.0 Client: Shell (bash 4.4.201) inxi: 2.3.56 uma@mail:~$