Latest Server related questions

Score: 1
Running a job automatically after deployment in a kubernetes cluster
ng flag

Does anyone know how to launch a job automatically after a deployment with kubernetes?

I tried using postStart script but the task is executed on every replica of the deployment. I want to execute it only once time after deployment is completed.

The job is about clearing remote cache, updating translations, etc...

Thank you

Alex

Score: 0
sudhakar reddy avatar
External Incoming Email Warning Message in EXIM
cn flag

How to Add External Incoming Email Warning Message in EXIM configuration.

Example:- This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe.

Score: 0
Andrew Stephens avatar
Azure DevOps Server - cost to upgrade from 2019 to 2020
in flag

We have an on-premises Azure DevOps Server 2019, bought as a "standalone" license (not subscription based). Are we entitled to upgrade to 2020 or is this a separate, licensable product that we'd have to purchase?

I can't find any pricing specifically for 2020, and the MS pricing page still seems to be aimed at 2019. This got me wondering whether 2020 is essentially just an "update" to 2019, there ...

Score: 1
getting "broken pipe" at about 1.2 MB files (from HP-UX to macOS) ... how fix?
jp flag

I'm getting "broken pipe" while trying to scp files larger than about 1.5 MB from a remote HP-UX system to my local Mac.

Any suggestions, please?

Small files work ok, up to about 1.1 MB or so.

I'm connected via an OpenVPN connection.

I just noticed that if I connect via an old-style VPN (using PSK, but that's as much as I know about it :), I can transfer the large files successfully (and more slowly).

 ...
Score: 0
LimeSurvey: SodiumException: Wrong decryption key
eg flag

Last day in a production Debian GNU/Linux server I've updated LimeSurvey from 5.0.1 to 5.2.5 and I could no longer compile any questionnaire, because when a visitor got to the end, LimeSurvey would crash with this SodiumException:

Wrong decryption key! Decryption key has changed since this data were last saved, so data can't be decrypted. Please consult our manual at https://manual.limesurvey.org/ ...

Score: 1
Filter the output of locate not to show the Duplicates in rsnapshot
ua flag

When I use locate on my server and the result is in my rsnapshot backup then I get all those duplicates.

I could use grep to filter out all rsnapshot files:

locate something_in_backup | grep -v /var/cache/rsnapshot

but then I would miss files in the backup that are coming from other servers.

How could I filter the output to show only results from the rsnapshot/daily.0/ folder?

Score: 0
xceeded avatar
NGINX reverse proxy doesn't work with swagger-ui-express
in flag

I am using NGINX to proxy_pass all requests with prefix /auth/ to a nodejs api server at localhost:3000.

I have this single config file /etc/nginx/sites-enabled/default3.conf:

server {
    
    location /auth/ {
        rewrite /auth/(.+) /$1 break;
        proxy_pass http://127.0.0.1:3000;
        proxy_redirect off;
        proxy_set_header HOST $host;
    }


}

It works fine for most of my requests ...

Score: 0
bandarr3000 avatar
Is it possible to use Terraform and an Azure Key Vault Firewall without having to specify my IP address every time I want to make a change?
ph flag

I have several VMs in my Azure environment, and each has an associated encryption key. The encryption key is stored in an Azure Key Vault. All of these things are resources in my Terraform scripts. In the Azure Key Vault I have the firewall turned on, and my Azure AD user is in the Access Policy. I'm using Vault Policy/Firewall vs. RBAC so that I can add private endpoints to the key vault for privat ...

Score: 0
Can't Open Existing Luks File on New Computer Using Cryptsetup
ve flag

I have an encrypted partition called keys.img that I have used for years. Here's how I've always decrypted and mounted it:

sudo cryptsetup open --type luks mykeys.img mykeys
sudo mount /dev/mapper/mykeys /mnt/mykeys 

I recently restored a backup of this file to a new computer running KDE Neon (which is based on Ubuntu 20.04). When I try the same commands on the new computer I get the following error:

 ...
Score: 2
How to use collections in Ansible Tower
fr flag

We're using Ansible Tower 3.7.4 which has Ansible 2.9.13, we also have 'theforeman' ansible collection installed.

My test playbook is

---
- name: Test foreman roles
  hosts: localhost
  become: false
  gather_facts: false

  tasks:

  - add_host:
      name: victim.local
      group: my_inv

- name: Test foreman roles
  hosts: my_inv
  become: false
  gather_facts: false

  tasks:

  - theforeman.fore ...
Score: 0
acgomes avatar
Required roles to enable a device to use ActiveSync on MS365
pk flag

The tenant I administer has administrative users that aren´t Global Administrators but have a number of roles, including Exchange Administrator, but can´t enable a device to use ActiveSync (the page sent in the quarantine email does not open, the Enable button is greyed in Mobile Device Details pop-up in Mailbox features/Mobile devices/View details).

These users cannot open the old EAC as well, ...

Score: 0
Alexander Kolodziej avatar
Linux LVM - and re-arranging disks?
eg flag

The root filesystem is in a VolGroup that consists of /dev/sda5 and /dev/sdd1.

So in between those 2 drives there is sdb and sdc, and i would like to remove those. I am guessing that sdd will be renamed to sdb at next reboot. So question: will this break the root VG?

I can see with vgdisplay that the UUIDs of the partitions are noted in the VG, so i am hoping this could be done (?).

Also, this is a Vir ...

Score: 0
Murakami avatar
NFS permissions (with AKS)
be flag

I'm mounting NFS (on the Azure Virtual Machine) into k8s (AKS). My application is running with Apache (www-data user). Now for some reason I cannot eventually comprehend my application errors with permission denied error, namely it cannot write into mounted NFS volume. It is clearly permissions issue and also I messed it all up together.

Application run by Apache: uid=33(www-data) gid=33(www-data) gr ...

Score: 0
Henry Newman avatar
Nginx not loading usernames
cn flag

Good day, on my site users, can create usernames for their profiles but every time they try to visit their usernames on the browser to shows a 404 page, and on top of that it does not show the defined 404 while at it. For example;

domain.com/username DOES NOT LOAD
domain.com/@username LOADS PROPERLY (and if the username does not exist it shows defined 404.)

Below is the snippet of the block;

Score: 0
Can't connect to mysql docker when using phpmyadmin docker
cn flag

I'm just getting started in docker and maybe I'm starting of a little big but I found an article that explained out to get a coldfusion install (run by commandbox) up with mysql. This docker compose works just fine. I had the idea of adding in phpmyadmin so that I can us that to connect to mysql.

For reference the original article is here: https://cfswarm.inleague.io/part3-docker-in-development/pa ...

Score: 0
Currn Hyde avatar
Oracle cloud compute change ssh port fails
cn flag

I am new to cloud computing and plan to use an always free compute service from Oracle Cloud to obtain a public IP address to run a website. As a basic security measure I require my machines to not listen for SSH on default port 22 as this is too easy to sniff for but swap it to a new port that I will keep secret but I will refer to as NEWSSHPORT. This is especially important when using a public IP addr ...

The Stunning Power of Questions

Much of an executive’s workday is spent asking others for information—requesting status updates from a team leader, for example, or questioning a counterpart in a tense negotiation. Yet unlike professionals such as litigators, journalists, and doctors, who are taught how to ask questions as an essential part of their training, few executives think of questioning as a skill that can be honed—or consider how their own answers to questions could make conversations more productive.

That’s a missed opportunity. Questioning is a uniquely powerful tool for unlocking value in organizations: It spurs learning and the exchange of ideas, it fuels innovation and performance improvement, it builds rapport and trust among team members. And it can mitigate business risk by uncovering unforeseen pitfalls and hazards.

For some people, questioning comes easily. Their natural inquisitiveness, emotional intelligence, and ability to read people put the ideal question on the tip of their tongue. But most of us don’t ask enough questions, nor do we pose our inquiries in an optimal way.

The good news is that by asking questions, we naturally improve our emotional intelligence, which in turn makes us better questioners—a virtuous cycle. In this article, we draw on insights from behavioral science research to explore how the way we frame questions and choose to answer our counterparts can influence the outcome of conversations. We offer guidance for choosing the best type, tone, sequence, and framing of questions and for deciding what and how much information to share to reap the most benefit from our interactions, not just for ourselves but for our organizations.