Install Redmine On Ubuntu With Solved Gem BuildError LinuxAdmin by blog_1buq8n - April 29, 2019December 11, 20191 This post describes in detail on howto install Redmine latest version on Ubuntu 18.04 -x86_64 GNU/Linux system. Redmine is one of the most widely used open source software tool and platform for project management, issue tracking and project execution. With lot of freely available plugins one can also use Redmine as CMS, Invoicing, finance, HR and most of the activities that are involved in small scale software company. If you are startup company and looking for all in one tool Redmine is answer. This guide is little bit lengthy as there are few workaround during installation, so grab your coffee before you start. If your system does not have apache server installed then follow step 1, else skip to step
How To Clear System Log Files In Raspberry Pi Raspberry by blog_1buq8n - July 7, 2023July 8, 20230 Raspberry Pi devices are one of the popular board used in embedded applications. We are using on in DWS-Digital Weighing Scale. During development phase we face some challenges like device memory is full and we can't create any more files on device or update the applications. In this article we will learn How To Clear System Log Files In Raspberry Pi using various methods, including manual commands, logrotate, and GUI tools like Stacer. This is required to save disk space by managing log files efficiently much needed in embedded systems where disk space is constraint. Application Background Our application is using daemon services which starts on system startup. Also our device is connected to external peripherals like barcode scanner, label
How To Use Jenkins In Embedded System Testing by blog_1buq8n - March 23, 20220 This article explains Jenkins and Ceedling in embedded systems. This is divided into two parts, Installation and testing with Ceedling. I didn't understand much about Jenkins, what it does and how it will be useful in embedded product development. So, I have decided to dig into this topic on "How To Use Jenkins In Embedded systems". There is a lot of documentation about Jenkins. Most of them are outdated, for instance, when I started to install Jenkins on Ubuntu, it did not go well. In this article I will explain more about Jenkins installation, using pipeline for Ceedling and Gcov. I am using the following ceedling, Unity, CMock, and CException versions on Ubuntu bionic (18.04) Ceedling:: 0.31.1 Unity:: 2.5.4 CMock:: 2.5.4 CException::
ESP32 IDF STPM32/33 SPI Issue Solved by neudeep - January 12, 20220 This post discusses ESP32 IDF STPM32/33 SPI Issue and its solution, There are lot of issues reported on GitHub and aurdinio forum. Well ESP32 is from Espressif Systems and is a popular IoT controller used in embedded systems. While COVID-19 had accelerated most of the touchless and wireless features in any sort of product, these controllers like ESP32, ESP8266 had proven their time to market. In our product, While using SPI of ESP32, We are using esp32 wroom32. In our Smart Meter IoT Application Software, we need to read the internal registers of STPM32/33. As ESP32 is interfaced with STPM32/33- a popular metering module - over SPI. For that purpose, we are using SPI protocol. STPM32/33 has SPI peripheral which
How To Install Ceedling On Windows Testing by blog_1buq8n - December 14, 2021January 12, 20220 This post shows ways about how to install ceedling on windows operating system with the latest updates. Ceedling as you know is a powerful tool for unit testing and is used mostly for testing C language code in embedded system. There are various tools for embedded testing like pclint, parasoft, vectorcast, tessy and few AI powered intelligent tools. What makes embedded system unit testing tools different than application testing tools is it utilizes components like hardware, real time operating system and cross compilation. Please note unit testing will not find bugs in your code but it will help you to reduce bugs in system testing and build robust software. This post will discuss about ceedling installation and related issues. Install
ENOSPC: No space left on device @ io_write LinuxAdmin by blog_1buq8n - December 10, 20210 Our AWS production server is EC2 instance with 100GB disk space and 16GB RAM. The application is based on ruby on rails. From past 1 year application is running fine. Suddenly we started getting ENOSPC:no space left on device @ io_write error with production application stopped working. I kept on looking for bigger size files and I was surprised to see 70GB production.log file size. Everything is Broke - Check All Logs Once this error came, you can not create any new file on server, all the services were down. Apachepsqlpassenger We have increased disk space from 100GB to 200GB but that did not help and 'lsblk' was still showing as 100GB. Rails log The last log from the rails application is
Rails DB Migration Failed Due To Duplicate Column LinuxAdmin by blog_1buq8n - November 20, 20210 I had recently added one column in postgres database, After the db migration, I wanted to update same migration file instead of creating new migrations. So I had added one new column in existing migration file and tried to run migrations again. Landed up with rails DB migration failed due to duplicate column. Problem Statement Caused by:PG::DuplicateColumn: ERROR: column 01:17 deploy:migrate[deploy:migrate] Checking changes in db[deploy:migrate] Run rake db:migrate01:19 deploy:migrating01 ~/.rvm/bin/rvm 2.7.0 do bundle exec rake db:migrate 01 rake aborted!01 StandardError: An error has occurred, this and all later migrations canceled: Step zero analysis Check all migration - rails db:migrate status Status Migration ID Migration Name -------------------------------------------------- up 20211007025051 ********** NO FILE **********
How To Setup 2FA On AWS Cloud Server LinuxAdmin by blog_1buq8n - October 25, 2021October 25, 20210 You are using AWS cloud with all the security modules enabled along with Cloudflare account. This alone does not keep your account safe from prying eyes. So making use of two two-factor authentication (2FA) is best way to secure your cloud account. Also 2FA is an very essential element of cybersecurity. These days with increase in work from home due to ongoing COVID-19 pandemic online security of your account is must. So lets start from basic to advanced on how to setup 2FA on AWS cloud server running Ubuntu system. What is Two Factor Authentication There are different authenticator services such as Authy, Google Authenticator and Microsoft Authenticator. It is difficult to to say which is best 2FA authentication as
Phusion Passenger Preloader Error Solved by blog_1buq8n - September 30, 2021October 7, 20210 You are on this page means, there is not much information on Error ID - c51399ee on google. Hope this post on how to solve phusion passenger preloader error might save your day. Well the LoadError comes from a failure by Ruby to load the phusion passenger.so module. The Secret of Error ID: c51399ee I am using - ruby 2.7.0p0 (2019-12-25 revision 647ee6f091) [aarch64-linux] , this issue appears on ARM - aarch64 based system and it works well with ruby 2.7.0p0 (2019-12-25 revision 647ee6f091) [x86_64-linux-gnu]. You can check apache error log from your /var/log/apach2 directory. $ tail -100 /var/log/apache2/error.log App 2001 stderr: /usr/bin/passenger-config:27:in `require': cannot load such file -- phusion_passenger (LoadError) App 2001 stderr:
Calibrate STPM32/33 For Smart Energy Meter embedded by neudeep - August 21, 2021October 30, 20210 In this tutorial, we will see how to calibrate STPM32/33. STPM32 is an ASSP (Application Specific Standard Product) for metering applications. It is designed for measurement of power and energies in a power line with high accuracy. It provides instantaneous voltage and currents, active, reactive and apparent powers, and energies. Lets start with how to Calibrate STPM32/33 For Digital Smart Energy Meter. Introduction To Energy Calibration Calibration is the process of comparing reading on one piece of equipment or system, with another piece of equipment. The other piece of equipment that has been calibrated and referenced to a known set of parameters. After the design phase, any tolerance of the real components from these values or device internal parameter drift can
How To Interface GPS With BeagleBone Green BBGW by blog_1buq8n - August 8, 2021August 19, 20210 This post discuss on how to connect and test your BeagleBone Green wireless with NEO-6M GPS module. After reading this article you will know how to play with the u-blox NEO-6M global positioning system (GPS) module. These days NEO-6m is a very popular, cost-effective GPS module. So lets get started with How To Interface GPS With BeagleBone Green board. Introduction To NEO-6M GPS Module You can easily check all NMEA 0813-National Marine Electronics Association - statements using this module. NEO-6m module works well with a DC input from 3.3- to 5-V range. That means it can easily powered up from your Raspberry Pi, Arduino, ESP32, or Beaglebone board. NEO-6M GPS module comes up with UART interface. You might have noticed that