serverfault.com

VN:F [1.9.22_1171]
Rating: 6.0/10 (1 vote cast)

Common Server issues – FAQs and answers from those in the know

How can I download/export an Azure Cognitive Search (AI Search) index for local backup or inspection?

1 March 2026 @ 3:59 am

I have a few Azure Cognitive Search indexes. How can I export them? I don't see any option the web UI. azx

How to connect to PostgreSQL through WireGuard

28 February 2026 @ 11:16 pm

I try to use WireGuard tunnel for connection to PostgreSQL. WireGuard settings: Server: wg0.conf [Interface] Address = 10.8.0.1/24 SaveConfig = false ListenPort = 51820 PrivateKey = <PrivateKey> [Peer] PublicKey = <PublicKey> AllowedIPs = 10.8.0.10/32 Client(Win10): [Interface] PrivateKey = <PrivateKey> Address = 10.8.0.10/32 DNS = 10.8.0.1 [Peer] PublicKey = <PublicKey> AllowedIPs = 10.8.0.1/32 Endpoint = <server ip> PersistentKeepalive = 25 Wireguard connection is established, ping to 10.8.0.10 from client is succeeded. PostgreSQL settings: postgresql.conf listen_addresses = '*' pg_hba.conf local all all trust host all all 0.0.0.0/0 trust ss -lntu | grep '5432' tcp LISTEN 0 200 0.0.0.0:5432 0.0.0.0:* tcp LISTEN 0 200 [::]:5432

Best Strategy to Upgrade an Ubuntu 18.04 VM on Google Cloud with Multiple Websites and Databases

27 February 2026 @ 3:20 pm

I have a production VM running on Google Cloud with Ubuntu 18.04. This instance hosts multiple Apache virtual hosts and several PostgreSQL databases, all running on the same machine. The system is now end-of-life, and I need to upgrade to a supported Ubuntu LTS version (preferably 22.04). I am evaluating two possible strategies: Performing an in-place upgrade (18.04 → 20.04 → 22.04) on the existing VM. Creating a new VM with Ubuntu 22.04 and migrating all websites, configurations, and databases to the new instance. Considering that this server hosts multiple sites and databases in production, what would be the safest and most reliable approach? If the recommended path is an in-place upgrade, what are the correct technical steps to minimize risk? Specifically: Required backup procedures (full disk snapshot, database dumps, config backups) Upgrade sequence between LTS versions Handling Apache, PHP (multiple versions), and Pos

Does Hyper-V Require Switch Interfaces to be Trunks?

27 February 2026 @ 3:24 am

Our server engineers are in the process of migrating the VMs from VMware ESXi to Hyper-V. I am told that I must configure all the switch interfaces to which the physical servers connect as trunk interfaces, except the iDRAC interfaces, because VMware ESXi allowed access interfaces, but Hyper-V requires trunk interfaces, despite only having and allowing a single VLAN on the interface. That does not sound correct to me. A switch interface that only has a single VLAN should normally be configured as an access interface in that VLAN. What they want is the switch interface configured as a trunk interface, but restricting the trunk to the single VLAN allowed to the Hyper-V server.

LXC containers cannot reach remote mail server

27 February 2026 @ 3:04 am

I have a Linux host running several LXC containers. I am managing the firewall with UFW. I have the following situation: I cannot reach a remote mail server on ports 25, 993, 465, or 587 from any of the containers. BUT I can reach the same server on other ports, e.g. 80 from the containers. Additionally, I can reach the mail server on 25 and 587 from the host that is running the containers, so I know for sure that those ports are open. This is my UFW status: Status: active Logging: on (medium) Default: deny (incoming), allow (outgoing), allow (routed) New profiles: skip To Action From -- ------ ---- 993/tcp ALLOW IN Anywhere 587/tcp ALLOW IN Anywhere Anywhere on lxcbr0 ALLOW IN Anywhere 22/tcp LIMIT IN Anywhere 25/tcp ALLOW IN

Getting disconnects cause of dnsmasq [migrated]

26 February 2026 @ 9:31 pm

I have some Problems during playing on my Playstation5. I´m using a router with open wrt VPN and so on. Each hour +- i get disconnected... I put a screenshot of the System Log maybe someone has an Idea whats wrong. System Log

Containerized Postgresql collation

26 February 2026 @ 4:47 am

I have recently become aware of possible dangers in a longer running postgres containerized instance in the form of collation issues; when updating to newer minor version containers, it is possible for the collation versions to get out of sync, causing warning database "postgres" has a collation version mismatch and related issues. Seems to sometimes be ignored and sometimes directly cause issues, depending on operation. I realize you can simply go into the container and run ALTER DATABASE <database> REFRESH COLLATION VERSION;, but didn't know if there was a more automated / better way to handle this in a more hands-off environment (One that simply deploys the latest major version locked postgres image, and will pull new images)? I know I could likely run a command to iterate over the present databases, but again, wanted a line on best practices. I also know realistically that best practice might be to version lock to minor version, b

How do I provision a secure (SHA256128/AES256) IKEv2 VPN using a Provisioning Package?

25 February 2026 @ 10:41 pm

Using Windows Configuration Designer I am able to make a package to deploy a VPN as per https://learn.microsoft.com/en-us/windows/configuration/wcd/wcd-connectivityprofiles#vpn. This VPN defaults to the insecure SHA1/modp1024 algorithms that no longer work in 2026, and to make the VPN work you need the following additional powershell command: Set-VpnConnectionIPsecConfiguration -ConnectionName "VPN Helsinki" -AuthenticationTransformConstants SHA256128 -CipherTransformConstants AES256 -EncryptionMethod AES256 -IntegrityCheckMethod SHA256 -DHGroup Group14 -PfsGroup PFS2048 -Force What modifications must I make to the provisioning package to set the algorithms above? This is documented as possible in the VPNv2 CSP, but there appears to be no documented way to embed a VPNv2 CSP into a provisioning package

How to package a .NET server app running on Linux as a service with SQLite? [migrated]

25 February 2026 @ 10:06 pm

I need to create a package for a .NET on Linux application for Azure Marketplace. The application uses local SQLite database. Azure Marketplace, in the process of creating the offer, does not present any custom users in the image, and the image validation fails if I create a dedicated user to run my server as systemd service. The last step in the preparation is to run: $ sudo waagent -force -deprovision+user which deletes the user I am logged in as. Since I don't have a dedicated user for my service, I tried using DynamicUser=yes. The limitation, however, is with my SQLite database. I need it to remain in place, or use an existing database if the customer copied it. Dynamic users are restricted and prevented from creating and writing to files by default, and using StateDirectory is created under a /private directory if it exists. What is my best option? Is it ok to use some of the existing users (not

PC has Public network profile and has DCOM error 1068 [closed]

25 February 2026 @ 3:48 pm

A PC shows the current network profile as Guest or Public in Control Panel > Advanced Sharing Center. Network and Sharing Center shows only one (non expandable) entry, "Unknown". Event Viewer has these events every 1-2 seconds: Error 10005, DistributedCOM DCOM got error "1068" attempting to start the service netprofm with arguments "Unavailable" in order to run the server: {A47979D2-C419-11D9-A5B4-001185AD2B89} When I look at NLA in Services the message is Error 1075: The dependency service does not exist or has been marked for deletion. Now what?