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
Ubuntu To Debian Upgrade Issues LinuxAdmin by blog_1buq8n - June 20, 2020June 20, 20200 If you have received following message from dreamhost on VPS upgrade and your Ruby apps are broken then here are few tips that might save your day. "We will be upgrading your Virtual Private Server from version 14.04 (also known as trusty) to Debian 9.12 (aka Stretch!) ". Yes as they mentioned in their email that there are some environment changes that effect your system if you are using Ruby, Python, PHP, or run a site that relies heavily on specific server packages. Lets start with Ubuntu To Debian Upgrade Issues on VPS of Dreamhost. This post will help you only if you have already installed redmine on dreamhost VPS and your server is now upgraded to Debain Stretch. SVN Write
Install Redmine on DreamHost VPS Server LinuxAdmin by blog_1buq8n - October 14, 2019June 29, 20200 Recently we moved to dreamhost VPS server and signed in for 3 year service. We were using redmine in our projects for handling project management activities. After successful installation of latest redmine release on local server, it was time to move on to install and test it on webservers. But when we contacted Dreamhost support they have standard reply, Thank you for writing into DreamHost Support!Unfortunately, we cannot assist with custom configs for that application, My apologies. If you need root access for the install then you would need to use a dedicated server or DreamCompute and that would not be allowed on your current VPS.Dreamhost Support Reply There are multiple resources available across the web about Redmine on Dreamhost,
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 Automate Code Review With Reviewboard LinuxAdmin by blog_1buq8n - April 26, 2019September 5, 20210 This post is simple how-to guide on Automate Code Review And Code Quality With Reviewboard. These days for software code review, code quality and code security lot of online tools are available like BitBucket, Amazon CodeGuru, GitHub, Gitlab but reviewboard is winner. Will list out GitHub and Gitlab major features and move on to Reviewboard. In embedded product development it is important to setup right tools and right process, Earlier, we have seen setting up ceedling test driven product development (TDD) process for embedded systems product development. GitHub is one of the popular source code management tool. It is web based version control system with easy UI. One of the widely used tool in collaborative software development. With Pull Request or
Redmine Could Not Spawn Process Error Solved LinuxAdmin by blog_1buq8n - April 19, 2019December 11, 20191 Redmine error solved for passenger.
How To Install SVN Server On Ubuntu 18.04 LinuxAdmin by blog_1buq8n - February 6, 2019July 26, 20191 In every software project there is need for version control system. Here we will list out steps for install SVN server on Ubuntu machine. Install Apache sudo apt-get update sudo apt-get install apache2 sudo systemctl start apache2 Install Apache Subversion sudo apt-get install subversion libapache2-mod-svn sudo apachectl -M sudo a2enmod dav sudo a2enmod dav_svn sudo a2enmod authz_svnsudo service apache2 restart Create SVN Repository Most common places for Subversion repository are: /srv/svn, /usr/local/svn and /home/svn. Here we will assume /home/svn as repository sudo mkdir /home/svn Create svn repository. Here we create a repository called “IEC1000” sudo svnadmin create /home/svn/IEC1000 change ownership and permissions sudo chown -R www-data:www-data /home/svn/IEC1000/ sudo chmod -R 775 /home/svn/IEC1000 If you are using windows system use "TortoiseSVN" to create repository and add files/folders to SVN. If you are using Linux system use "rabbit SVN"