update:
VNC into the build machine (without making any changes) somehow fixes this....strange
Context
We use Mac EC2 instances CI cluster to run UI tests. The cluster is set up to recycle every night. Meaning new cluster is provisioned in the…
I am using BluePill to manage processes such as delayed job for Rails. In the BluePill log, I am getting this message:
W, [2010-09-27T01:23:20.447053 #19441] WARN -- : [fsg_distro:delayed_job] pid_file /srv/fsg_distro/shared/pids/delayed_job.pid…
Due to unicorn_rails complaining about different gem versions we moved to running bundle exec unicorn_rails... in our bluepill files. This change solved that particular problem and things start and stop but when we try sudo bluepill status we now…
I am trying to flash a blue-pill clone with a CS32F103C8T6 chip using the AC6 SystemWorkBench and a ST-LINK v2 device. It is a project built from STM32CubeMX - I am using a MacOS Mojave machine. Here is the output when trying to flash the device.…
I have bluepill setup to monitor my delayed_job processes.
Using Ubuntu 12.04.
I am starting and monitoring the bluepill service itself using Ubuntu's upstart. My upstart config is below (/etc/init/bluepill.conf).
description "Start up the bluepill…
I'm trying to connect to an 'stm32' 'bluepill' using an stlink-v2 to write some code to it
Whenever I run openocd, it fails to connect
My openocd.cfg file looks like this
source [find interface/stlink-v2.cfg]
source [find target/stm32f3x.cfg]
when…
My STLINKV2 is not working anymore, not detected by Linux, it failed after the first successful flash. I ordered a new one but it will take 60+ days to arrive. Meanwhile I have heard on Youtube you can program Bluepills directly by connecting cut…
I have a Blue Pill and I'd like to program it using TinyGo but the Blue Pill had no (obvious) means for hardware programming. So, I bought an STLINK-V3MINI hoping to use JTAG/SWD to program it. I'm uncertain how to connect the two and am seeking…
I've always used bluepill successfully to daemonize simple Ruby scripts. This time however, I have a script that's also loading a Rails environment so I can access my database connection for the Rails app and its respective models. The bluepill…
Let's say this is my worker:
class FooWorker
@queue = :foo
def self.perform
User.all.each do |u|
...
Do Long Operations (Unsafe to kill)
...
# Here it's safe to break the worker and restart
end
end
end
I'm…
I am trying to create a custom daemon to run every 60 seconds and start / stop and monitor it with bluepill.
Can someone show me how to do this easier or please can you tell me what I am doing wrong?
Currently bluepill is starting the daemon so that…
I am trying to get bluepill to monitor my resque workers.
If i run this command from my rails root as root user it starts up resque worker ok.
cd /var/www/domain.com/current; RAILS_ENV=production QUEUE=* bundle exec rake resque:work
but when i try…
I've been trying to figure out how to upload a code to a STM32103c8T bulepill board.
My setup is
1- MacOs Catalina
2- STM32103c8T bulepill board
3- SLAB UART USB-TTL CP2012 V3.0
4- Platformio IDE
5- STM32 CUBE Programmer software which detects and…
I'm using a Blue Pill board (STM32F103CB with 128kB of flash according to st-info --probe) via a clone ST-Link/V2 like this one. I've also tested using a genuine ST-Link/V2 like this one. I get the same result, described below, with both…
In official discourse repository there's a discourse.pill file for bluepill gem and it uses rvm.
Because I'm using rbenv I need that script to use rbenv (and I'm bad at environment stuff).
How I can convert this script, probably only this snippet…