stuck with mastodon services - ruby

I'm trying to get a working install of mastodon but get stuck with web services start.
I've tried a lot of settings and still the 3 mastodon services don't start.
I think there is something wrong with my ruby install and yarn which can't use the --lockfiles option.
I give you the terminal output. please let me know if you have any suggestion to solve this.
the terminal output errors

Related

Shopify CLI - Ngrok error when serving app

I am on a windows 10 machine and trying to use the Shopify App CLI to create apps, but I am running into some errors.
First I installed ruby so I could use the gem command to install the Shopify App CLI, as explained here.
When running shopify version as explained in the above documentation, I get the following output:
bash: shopify: command not found
After googling for a bit I found a solution to this problem, by running shopify.bat version. With this command I can use the CLI.
Moving on, I tried following this tutorial to create my first Shopify App. I used shopify.bat create node to create my app, moved into the folder and ran shopify.bat serve to serve my app locally.
Now the following problem arises:
It starts promising by installing ngrok:
But after waiting for a bit, I get the following output (Sorry for the screenshot, I could not get it to look normal with inline code):
What I also notice is that it uses C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/shopify-cli-1.4.0/ as the path to the CLI, but when looking on Google, most people have /home/[USER]/.shopify-app-cli/ as the path to the CLI. This path does not exist on my machine.
So I would like to know why first of all the serving of the app won't work, because ngrok can't be found, and second why ~/home/user/.shopify-app-cli does not exist.
Thanks in advance,
Mike
I think modern Windows come with Linux now. Since the Internet runs on Linux, you might find development and following tutorials much easier if you use Linux, since all these inconveniences of Windows disappear. Unless you are already super handy with all the quirks of Windows to work around their results, it could be your ticket!
That being said, I mastered this development pattern using *nix and it remains pretty advanced to actually have a smooth workflow for both localhost and production development. Ngrok itself is painful without paying for the service and using puma-dev and puma-ngrok... I laugh when I think about how those essentials running under Windows will be for you.

Docker For Windows CE: Kubernetes: Unable to connect to the server eof

I simply cannot find a solution for this " Unable to connect to the server eof", hopefully we solve this and it helps somebody in future, when searching to fix this issue. I tried to include all information in the screenshot. Let me know if more information is required.
I have tried to add the information requested, let me know if theres anything else you need or want me to try.
Please try to get into logs of kube-dns docker container directly as below:
Enable 'Show system containers' option in Docker Desktop settings:
Check if kube-dns container was ever run:
docker ps -a --filter name=k8s_kubedns_kube-dns --format "table
{{.ID}}\t{{.Image}}"
You should see similar command output to this:
CONTAINER ID IMAGE 9009731e183d 80cc5ea4b547
Get kube-dns container logs with:
docker logs {your_container_id} --tail 100
I had this error (with Docker Desktop on Windows 11, using wsl2), and the solution for me was to use the Settings page (in DD), then choose "Kubernetes" on the left, then chose "reset kubernetes cluster". That warned that all stacks and k8s resources would be deleted, but as nothing else had worked for me (and I wasn't worry about losing much), I tried it, and it did solve the problem.
FWIW, k8s had been working fine for me for some time. It was just that one day I found I was getting this error. I searched and searched and found lots of folks asking about it but not getting answers, let alone this answer (even here). To be clear, I had tried restarting Docker Desktop, restarting the host machine, even downloading and installing an available DD update (I was only a bit behind), and nothing worked. But the reset did.
I realize some may fear losing something, but again it worked and was worth it for me. Hope that may help others.

Kiwi Tcms Windows Installation and Configuration without docker

I want to run Kiwi tcms on my windows, but i'm unable.
I've followed instructions on this that is for linux based, but i managed to run these on my windows, except npm install patternfly as I can't find patterfly, but installed npm only.
There's another question I've asked where I'm stuck, so If I did anything wrong, please guide me so I can do it from the start.
Help would be greatly appreciated.
Look for a guide how to deploy Django applications on Windows. We don't really use Windows and deploying from something else than a Docker container isn't really supported so you need to know what you are doing. If this is new to you you'd better stick to using docker-compose!

CouchDB can't set up HTTPS

I am learning to work with CouchDB and I am usually making Ajax calls in order to communicate with my database. I started getting '
Cross-Origin Request blocked
' and as the reason
Access-Control-Allow-Origin
, so I decided to work with CouchDB through HTTPS and not the standard HTTP. For that, I have followed the instructions given on Link to manual.
Problem on Linux:
I first tried to set it up on my laptop where I use Linux. But I couldn't find the Local.ini file where I was supposed to set the paths to the certificates.
After unsuccessfully trying to find a solution for it, I gave up and started from the beginning on my computer, where I use Windows.
Problem on Windows:
So I installed the newest version of CouchDB on my Windows, I have created the certificates, found the Local.ini file, did everything as it is explained in the manual. The problem was that I couldn't restart CouchDB so that the changes would take place. So, after google-ing the problem, I found a possible solution, to stop CouchDB through the Task Manager->Services-> Stop Apache CouchDB. But when I tried to Start it again I get the problem
Windows could not start the Apache CouchDB on Local Computer. For more information, review the System Event Log. If this is a non-Microsoft service, contact the service vendor, and refer to service-specification error code 3.
I would be very happy if someone could help me with my problem(s). I prefer getting a solution for the Linux problem since I work mostly on my laptop, but I will be satisfied if I get it going even on Windows.
Thanks in advance
On Linux, you can add CORS to CouchDB with this package:
https://github.com/pouchdb/add-cors-to-couchdb

How do you install a Ruby on Rails apps on Windows/IIS?

I'm trying to get Redmine working on Windows/IIS 7. I've found several walkthroughs online, but none of them work on my Windows Server 2008 R2 box. I got a simple app (create app, no customization) to get as far as RoR error, but Redmine itself shows a 500 error (ruby.exe exited unexpectedly). I installed sqlite since some guides mention that, though Redmine uses MySQL by default. I started with the Bitnami installer and tried to customize for IIS, RorIIS, FastCGI, lots of things that look like they should work, but this problem is killing me.
If I run ruby.exe from the command line, passing it the path to the dispath.fcgi file I get an error: "The procedure entry point SetMagickMemoryMethods could not be located in the dynamic link library CORE_RL_magick_.dll". I had to install the rmagick gem myself which seemed strange since everything worked perfectly under Apache. I really thought it would be a smooth cut-over since it's up and running already and just changing web server.
Any help is much appreciated.
I've tried a lot to install Redmine on Windows environment under IIS. There's very little (or none) documentation about it. Lost many days on this. In the end, I decided to stick to the Bitnami stack of Redmine. The only caveat is that we had to use another port (8080, in our case), that's it. I gave up the idea of integrating Redmine/RoR with IIS and never looked back. Everything is working great in production now and everyone is happy about it around here.
Sorry I can't give a better answer than that, I'm just sharing some recent experience. I was obsessed about integrating RoR/ISS until I realized it was not a real requirement, it was just something I stuck into my mind. Think about it.

Resources