Category "ubuntu"

PHP Notice: Undefined index: user_type in /var/www/mysite/public_html/index.php on line 66, referer: https://example.com/

I just transfer my PHP app, I used to have my app on example.com/app but now I transferred the app to its own domain, othersite.com. My principal site and PHP s

How to run a Docker Containers pulled from GitLab Container Registry using Shared Runners?

Basically what I have got working so far is as follows in the following order; Login to GitLab Container Registry Build Docker Containers from docker-compose.ym

Error /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found

firstly, I google'd a lot but nothing I found related to my case, I have an ELF executable file I'm trying to run it in my Ubuntu WSL, I've changed the permissi

what tasksel not showing ubunto-desktop

I am running UTA on mac M1 and I am installing ubuntu server 20*, it come into. point where I need to install UI for it, I have upgraded/ updated apt and instal

vue + vite + ubuntu 20 bugs

I'm very confused. I just saved my code to github from windows, where the vue.js app compiles successfully. But when opening exactly the same code in ubuntu, wi

apt-update in Azure Nvidia gives publickey error

I started a NVIDIA VM on AZURE and trying to do update using sudo apt update but gives error: Hit:2 http://azure.archive.ubuntu.com/ubuntu focal InRelease

Docker container with shiny app listening on localhost

I am working with a linux server and I would like to run a docker container with my shiny app, but it is not working. In order to check the problem, I have run

echoing PROMPT_COMMAND from terminal and from bash script

while trying to write a bash script i encountered a strange issue when i try to execute it. i want to echo the $PROMPT_COMMAND variable thus, i have the followi

getting error when trying to install python3-venv in vagrant ubuntu bionic64

I am trying to install virtual environment in ubuntu (apt-get install python3-venv) syntax correct can you resolve my problem why i am getting below error E: C

How can I use Php7.4 in my Apache in Ubuntu 22?

Recently I upgrade my Ubuntu from 20 to 22. I was using Php7.4 in Ubuntu 20 with the Apache server. After upgrading to Ubuntu 22, the Php Upgrades to 8.1 automa

OCI runtime create failed: container_linux.go:380

I am trying to start a container from the given image below but I am getting the following error: ERROR: for code_challenge_api Cannot start service api: OCI

Prometheus Node_Exporter missing power stats

I am trying to get the power supply stats off a containerized node exporter(Run on docker with wordpress,SQL,prometheus, cadvisor & grafana). On windows(Lap

How to install GitLab Runner on Ubuntu Server?

I have downloaded the package for the system: curl -LJO "https://gitlab-runner-downloads.s3.amazonaws.com/latest/deb/gitlab-runner_${arch}.deb" And then instal

How to show cursor during application debug c OpenGl on ubuntu in Visual Studio Code

window = glfwCreateWindow(winW, winH, "TestApp", NULL, NULL); After calling this command, the mouse cursor disappears. When a breakpoint is triggered after thi

Why is Elasticsearch 8x. starting interactively but not as a service Ubuntu 20.04?

The tip for fixing this issue on Ubuntu 16.04 does not seem to work. Here's a link to one of the areas of various tips: https://discuss.elastic.co/t/cant-start-

command 'scala' not found after set up by coursier

I use coursier to set up the environment of Scala using command ./cs setup in Ubuntu 20.04 LTS. It was said that all the requirements were installed. However, w

Matplotlib - pyplot is overwriting the backend agg config

I need to change the default matplotlib backend from agg to TkAgg. I have added the line backend: TkAgg to my matplotlibrc file located at ~/.config/matplotlib/

tensorflow lite program crashing with kivy on buildozer

I tried running this github program https://github.com/tito/experiment-tensorflow-lite It is basically about running tensorflow lite using kivy on android. I tr

How to add directory recursively on git safe.directory?

According to this QA, we may use safe.directory argument to add directory to be marked as whitelist, due to latest CVE found on git. But it seems there is no wa

Ubuntu pyautogui .screenshot() returns blackscreen image

Im trying to verify the location of some icons on the screen using .screenshot() function of pyautogui due to it always return None when using .locateOnScreen()