Questions tagged [bluepill]

A simple process monitoring tool written in Ruby

It can be found on this GitHub page.

56 questions
6
votes
1 answer

UI Tests Flaky on CI

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…
OLIVER.KOO
  • 5,654
  • 3
  • 30
  • 62
6
votes
2 answers

Missing PID file when using a process manager to start delayed job

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…
Tony
  • 18,776
  • 31
  • 129
  • 193
5
votes
2 answers

Monitoring bundle exec unicorn_rails with bluepill

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…
user204078
  • 1,075
  • 1
  • 7
  • 12
5
votes
3 answers

CS32F103C8T6 blue-pill clone - cannot flash from AC6 SystemWorkbench

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.…
olekeh
  • 537
  • 5
  • 10
5
votes
1 answer

Upstart tracking wrong PID of Bluepill

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…
Anjan
  • 1,613
  • 1
  • 19
  • 25
4
votes
1 answer

why am I getting a communication failure when trying to connect with stlink-v2 using openocd

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…
Martin
  • 41
  • 1
  • 3
4
votes
2 answers

How to flash without STLINK

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…
exebook
  • 32,014
  • 33
  • 141
  • 226
4
votes
2 answers

How to connect STLINK-V3MINI to a Blue Pill?

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…
DazWilkin
  • 32,823
  • 5
  • 47
  • 88
4
votes
4 answers

How to Daemonize a Rails script with bluepill

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…
randombits
  • 47,058
  • 76
  • 251
  • 433
3
votes
1 answer

How to make Bluepill restart Resque workers only after reaching a safe status

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…
CodeOverload
  • 47,274
  • 54
  • 131
  • 219
2
votes
1 answer

Ruby daemon and bluepill monitoring

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…
rick
  • 463
  • 5
  • 23
2
votes
4 answers

Resque command works from terminal but not via bluepill

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…
rick
  • 463
  • 5
  • 23
2
votes
1 answer

How to setup STM32f103c8T Bluepill + Platformio + UART the right way?

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…
The_M_Code
  • 127
  • 2
  • 10
2
votes
3 answers

Openocd Error: invalid command name "dap" - can't connect Blue Pill via ST-Link/V2

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…
Spod
  • 21
  • 1
  • 3
2
votes
1 answer

Discourse bluepill to use rbenv

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…
megas
  • 21,401
  • 12
  • 79
  • 130
1
2 3 4