How to install Docker / ERPNext on Apple M1? - docker-compose

I have been trying to install ERPNext in Docker on my M1 MacBook Pro using this example: https://github.com/frappe/frappe_docker/blob/main/docs/single-server-example.md
I struggled when deploying ERPNext getting this error:
no matching manifest for linux/arm64 in the manifest list entries
I fixed it by adding platform: linux/arm64 to my compose files.
Now everything seems to be up and running but I cannot for the life of me get to ERPNext. When I go to localhost on my browser nothing loads.
I also get this error when I run the image:
WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested
I am not sure what to do now. Should I go in my compose files and change platform: linux/arm64 to platform: linux/arm64/v8? Also, why would it say that the requested image's platform is linux/amd64 when I specified platform: linux/arm64?
If anyone has a working tutorial on how to install the containerized version of ERPNext on M1 please share it with me :) .
Thank you!

Related

Unable install Strapi plugin [strapi-plugin-import-content]

I trying to acquire this plugins which available with its GitHub directory
https://github.com/jbeuckm/strapi-plugin-import-content
However, the last command:(not workable)
npm run setup --plugins
It prompt me this:
enter image description here
May I know how could i solve it?
I try "npm cache clean --force" but it still not workable
'npm run setup' was available in Strapi 3.x but as far as I know it is no longer available latest by version 4.x - I guess you are using Strapi 4.x.
https://github.com/jbeuckm/strapi-plugin-import-content was updated 4 years ago so I think it was designed for Strapi 3.x.

wso2iot 3.1.0 install problems

Clean install:
Downloaded wso2iot 3.1.0 from GitHub
Downloaded yajsw-stable-12.09
Put them in one file (wso):
Pointed jdk1.7.0_75 for JAVA_HOME
Pointed CARBON_HOME to my wso/wso2iot 3.1.0
This is what I downloaded only.
Run iot-server in folder bin.
After that nothing the system don't give me localhost why?
Is this installation correct for running wso2iot?
If not please advise me. Do I need to install something else?
First, you need to have java 8 on your system in order to run the WSO2 IoT 3.1.0. Secondly, if you need to run the WSO2 IoT 3.1.0 as a windows services, you need to have jajws 11.03.
Please refer the following document for more information
You can download the latest release candidate for WSO2 IoT 3.1.0 from here unzip it and start the pack in the following order.
Navigate to <IOTS_HOME>/bin and run ./broker.sh
./iot-server.sh &
./analytics.sh
Then you can login to the console from - https://localhost:9443/devicemgt
Additionally, to the above reply by jdk7. Make sure that you have JAVA 8. WSO2 IoT Server needs JAVA 8.
[1] https://docs.wso2.com/display/IoTS310/System+Requirements

Unable to pod install cocoapod master repos into swift project

I am not able to do a pod installcommand when I transferred my swift project to another MacBook pro that I have got. I have done a pod disintegrate into my project folder.
Since two days ago I have been trying to do a pod install, but was able to do a pod init. I am prompted with this error msg:
Unable to add source with url 'https://github.com/CocoaPods/Specs.git' named 'master'.
You can try adding it manually in '~/.cocoapods/repos' or via 'pod repo add'.
I have tried the method proposed but I was still not able to install Firebase/Core.
I would like to also know if I should delete away any of the related pod files after I transferred my project to a new terminal?
Side story:
The project was created in an iMac with OS Yosemite. The Macbook Pro I am using now is EI Captain. Does it matter?
Thank you!
Solution:
Hi all,
My issue was due to my wifi connection. Everything works fine after I am in a place with strong wifi.
try pod setup command. That will setup things for you.
after that try pod install

unable to start cdap standalone server

I have cdap-sdk-3.0.0. When I try to start cdap server with instructions mentioned at location below:
http://docs.cask.co/cdap/current/en/developers-manual/getting-started/start-stop-cdap.html
I am getting below on console-
G:\Bigdata related\cdap-sdk-3.0.0>bin\cdap.bat restart
Stopping Standalone CDAP ...
Access is denied.
Starting Standalone CDAP...
Cdap server is unable to start. I am not getting issue. Required softwares are also installed in my machine like JDK7 and node.js
Any suggestions please..
Regards
I would recommend you trying out CDAP standalone VM - http://cask.co/get-started?download=vm&version=3.0.0, this is contains CDAP SDK and all the required pre-requisites installed in an Ubuntu VM. CDAP standalone VM is a controlled environment to try out CDAP. You would just need to install virtual box https://www.virtualbox.org/ to get this going.
We have noticed that CDAP SDK doesn't work in some Windows environment and are working to fix it; CDAP-2504 is the JIRA to track (NOTE: I am unable to post more than two links in my response, hence just the JIRA number) . I would recommend you trying CDAP VM while we fix the windows version of the SDK.
Thanks,
Sree
My recommendation would be, try to use docker container for run CDAP. Its easy to manage the services.

install and Run Kurento Media server in Cent OS 6.6 using Docker

I need to install and run Kurento Media Server in a Cent OS to use it for Large Scale Webrtc Application for one to many conferences .
I heard that it can be done through Docker.
So if some can guide me through the steps to do so I will be thankful.
But if you know some other way to install and run Kurento Media Server in Cent OS
then that is fine with me.
You will find several examples in the Docker Hub, see https://registry.hub.docker.com/search?q=kurento&searchfield= and some examples
so you can get one, issue a docker history to see what commands were used to build (and some docker inspect on each layer), or simply use https://github.com/CenturyLinkLabs/dockerfile-from-image to generate the associated Dockerfile