Categories
Development Linux Ubuntu

acpi bios error(bug) : failure creating [\/_SB.PCIO.XHC.RHUB.SS09 Ae_AALREADY_EXISTS(20181213/dswload2-324)

image with errors i bought a new laptop and I’m trying to install ubuntu 18.04. when i press “install ubuntu” some errors occur and I don’t know how to solve them. I installed the latest BIOS update on my laptop, but I think that there is a compatibility problem with the graphic card. What can […]

Categories
Development Linux Ubuntu

ERROR: flask-googlelogin 0.3.1 has requirement requests<1.0, but you'll have requests 2.22.0 which is incompatible

ERROR: flask-googlelogin 0.3.1 has requirement requests<1.0, but you’ll have requests 2.22.0 which is incompatible. Installing collected packages: requests Found existing installation: requests 0.14.2 Uninstalling requests-0.14.2: Successfully uninstalled requests-0.14.2 Successfully installed requests-2.22.0 i need to upgrade requests any help please !!

Categories
Development Linux Ubuntu

What is the first message displayed to clients on connecting to an Ubuntu system?

What is the very first message that is displayed to clients as soon as they connect (before logging in)? Given a VM, in what location can I find the message or is there a command I can type to return the message? Thanks

Categories
Development Linux Ubuntu

My X server is broken

I’m on Ubuntu 18.04 and I’m using i3wm. I tried installing regolith-desktop: $ sudo add-apt-repository ppa:kgilmer/regolith-stable $ sudo apt install regolith-desktop I then rebooted and ran startx and I saw the following: xf86EnableIOPorts: failed to set IOPL for I/O (Operation not permitted) pkexec version 0.105 xinit: connection to X server lost waiting for X server […]

Categories
Development Linux Ubuntu

Can’t update from official repositories [Error 409]

I can’t update from official repositories with any pc from my local network. I think I haven’t changed anything from my router but I also got an error report sentece telling me official repository isn’t signed: E: Failed to fetch http://es.archive.ubuntu.com/ubuntu/dists/bionic-updates/InRelease 409 Conflict [IP: 104.19.139.75 80] E: The repository ‘http://es.archive.ubuntu.com/ubuntu bionic-updates InRelease’ is not signed. […]

Categories
Development Linux

Use dynamic date in systemd unit

I try use date output as part of log file name in systemd unit. Here example: [Unit] Description=TCS minetest server unit [Service] Type=simple ExecStart=/home/tcs/minetest/bin/minetestserver –worldname world –logfile /home/tcs/logs/debug_$$(date +%%Y_%%m_%%d).txt ExecReload=/bin/kill -HUP $MAINPID User=tcs [Install] WantedBy=multi-user.target But i get the log file: ls /home/tcs/logs/ ‘debug_$(date’ How I can use current date for log filename?

Categories
Development System & Network

Best way to log to two different CloudWatch log streams from an ECS container?

We are running our services on AWS’s ECS platform, and we send our logs to AWS CloudWatch. We have two types of logs, any container can produce either type: the usual application logs (access, error, whatnot); these must be easily viewable by devs and admins audit logs (human readable “who did what when” logs); access […]

Categories
Development System & Network

Is there any workaround to make Firebird v2.5 under Arch Linux attach existing databases and open them?

I have tried almost everything to get Firebird v2.5 under Arch Linux connect to an existing .fdb database without getting the error message: *** IBPP::SQLException *** Context: Database::Connect Message: isc_attach_database failed SQL Message : -902 Unsuccessful execution caused by a system error that precludes successful execution of subsequent statements Engine Code : 335544831 Engine Message […]

Categories
Development System & Network

AWS Session Manager SSH MFA

I know that it’s possible to enable SSH access with AWS Session Manager and use MFA with Bastion. My question is, can I combine the two? I want to ssh into an EC2 instance proxying through Session Manager, but also be prompted for MFA. Thanks

Categories
CMS Development Wordpress

How to add another parameters to WP_Query?

I need to do something like that: $postsOrder = get_sub_field(‘posts-ordering’); if ($postsOrder = ‘post_views_count’) { $queryPopular = array ( ‘meta_key’ => ‘post_views_count’, ‘orderby’ => ‘meta_value_num’, ); } $query = new WP_Query( array( ‘posts_per_page’ => $postsCount, ‘post_type’ => $postsType->name, ‘order’ => ‘DESC’, ‘orderby’ => $postsOrder, ‘taxonomy’ => $postsTaxonomy, $queryPopular ), ); The point is that if […]