recentpopularlog in

racl101 : fix   349

« earlier  
docker - Dockerized nginx is not starting - Stack Overflow
Docker container runs as long as the command you specify with CMD, ENTRTYPOINT or through the command line is running. In your case the service command finishes right away and the whole container is shut down.

One way to fix this is to start nginx directly from the command line (make sure you don't run it as a daemon).
stackoverflow  howto  troubleshoot  nginx  image  container  server  not  starting  fix  issue  daemon  CMD  ENTRYPOINT  configuration  command  example  guide  reference 
8 weeks ago by racl101
Failed to download Chromium r515411 · Issue #1597 · GoogleChrome/puppeteer
In short: when installing Puppeteer and you get an error about downloading chromium, you might get an error. It could be an intermittent connection so try a few more times to see if works.
github  forum  puppeteer  google  chrome  chromium  headless  browser  issue  howto  troubleshoot  fix  example  guide  reference 
november 2018 by racl101
iptables sometimes works inside container, sometimes not - docker 0.8.1 · Issue #4424 · moby/moby
In short, you need to use --cap-add=NET_ADMIN when you launch a Docker Image to be able to enable tools such as the ufw tool in say a Docker image running the Ubuntu . 16.04 image, for example.
github  forum  howto  run  docker  container  troubleshoot  fix  network  admin  capabilities  universal  firewall  ufw  example  guide  reference 
october 2018 by racl101
Docker container will automatically stop after "docker run -d" - Stack Overflow
TLDR: I've tried adding: tail -f /dev/null to my start script and that worked allong with invoking the container with the: docker run -t -d <image-name> command invocation.
stackoverflow  howto  troubleshoot  example  docker  container  automatically  suddenly  stops  running  detached  mode  foreground  workaround  hack  hackfix  fix  toread  tolearn  totry  tounderstand  guide  reference 
october 2018 by racl101
Error during install , "python mysqldb module is required" · Issue #42 · geerlingguy/ansible-role-mysql
If using python3 as the Ansible Python Interpreter then you'll need to install both:

- python3-pip
and
- python3-mysqldb

to be able to update mysql user passwords with Ansible.
github  forum  mysql  module  howto  fix  troubleshoot  python  python3  ansible  update  root  password  user  example  guide  reference  pip 
july 2018 by racl101
Troubleshooting Systems Manager Run Command - AWS Systems Manager
If your instances don't show up on SSM service console check the following:

- If using non admin/account owner users (i.e. IAM users) check if they have the right policies attached to them.
- Do the EC2 instances in question have SSM Agent software installed on them
- Do the EC2 instances in question have the Role containing the policy named AmazonEC2RoleforSSM attached to it and, if so, has the instance been restarted after having the role attached to it?
- Is type of command that is being run available for the OS in question
aws  amazon  ssm  howto  troubleshoot  guide  reference  ec2  instance  role  policy  user  iam  fix  toread  tolearn  tounderstand 
july 2018 by racl101
Error: Cannot find module 'internal/util/types' · Issue #1124 · remy/nodemon
I was only able to fix this for myself by installing NodeJS / NPM with nvm and by installing the LTS Boron NodeJS version (v6.14.1) and npm version (v3.10.10) as of April 27, 2018.

I encountered this error when trying to run the DCIDA Web app Grunt task.
github  nodejs  npm  internal  util  types  error  howto  troubleshoot  fix  dependency  grunt  guide  reference 
april 2018 by racl101
"Could not get any response" on all my api calls · Issue #3127 · postmanlabs/postman-app-support
Bug with Postman caused by copying token from Laravel Passport Personal Access Token generating modal output, which includes a newline / return at the end. Remove that newline / return at the end and it should fix this.
github  forum  postman  howto  troubleshoot  fix  bug  token  bearer  authentication  newline  return  character  example  guide  reference 
april 2018 by racl101
MySQLdb User's Guide
I don't get it, but I guess you're supposed to use %s as a placeholder even for integers (so not %d) in a query string that is used in a cursor.execute() statement. I tried it with pymysql. I'm not sure why, but it worked.

This is the explanation: In this example, max_price=5 Why, then, use %s in the string? Because MySQLdb will convert it to a SQL literal value, which is the string '5'. When it's finished, the query will actually say, "...WHERE price < 5".
mysql-python  howto  troubleshoot  cursor  mysql  pymysql  query  python  python2.7  string  format  number  error  fix  guide  reference  examples 
april 2018 by racl101
mysql - MySQLdb Python insert %d and %s - Stack Overflow
I don't get it, but I guess you're supposed to use %s as a placeholder even for integers (so not %d) in a query string that is used in a cursor.execute() statement. I tried it with pymysql. I'm not sure why, but it worked.
stackoverflow  howto  troubleshoot  cursor  mysql  pymysql  query  python  python2.7  string  format  number  error  fix  guide  reference 
april 2018 by racl101
insertion - Python MySQLdb issues (TypeError: %d format: a number is required, not str) - Stack Overflow
I don't get it, but I guess you're supposed to use %s as a placeholder even for integers (so not %d) in a query string that is used in a cursor.execute() statement. I tried it with pymysql. I'm not sure why, but it worked.
stackoverflow  howto  troubleshoot  cursor  mysql  pymysql  query  python  python2.7  string  format  number  error  fix  guide  reference 
april 2018 by racl101
Error: duplicate listen options for [::]:443 · Issue #5550 · certbot/certbot
This happened to me when I tried to create an SSL certificate for two virtual hosted sites that share the same top level domain but have different subdomains and their www versions.

E.g. site1.myawesomesite.com and site2.myawesomesite.com (and their www versions www.site1.myawesomesite.com and www.site2.myawesomesite.com )

TLDR:

change listen [::]:443 ssl ipv6only=on; to listen [::]:443;
github  forum  letsencrypt  ssl  certificate  ubuntu  ubuntu16.04  howto  troubleshoot  fix  duplicate  listen  options  error  virtualhost  example  guide  reference 
march 2018 by racl101
« earlier      
per page:    204080120160

Copy this bookmark:





to read