ubuntu – Unable to fix dual boot (grub menu)

I have dual boot with Windows10 and Pop OS, after last upgrade of Pop OS appeared grub menu and I only be able to continue writing “exit”. After that boots in Pop OS (Ubuntu based), but I cannot boot in Windows.

I’ve tried “Recommended repair” using boot repair application and what suggested here

I don’t know how to proceed to fix this. Thanks for any help

kubernetes – istio gateway Not launching internal links, how to fix that?

I have deployed application in kubernetes.
It is working if we expose to a default load balancer service in azure kubernetes.
But, after setting a virtual service linked with istio ingress gateway, it is launching only the home page, none of the links are working like /admin /login.

I have added entries for /admin and /login already in virtual service but it is not opening those pages.

kiali launched using

istioctl dashboard kiali

When I check logs in kiali.

(2021-07-18T08:19:51.304Z) "GET /admin/ HTTP/1.1" 404 NR route_not_found - "-" 0 0 0 - "10.244.1.1" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.164 Safari/537.36" "bc1ce347-4151-947b-b3d5-4c08003889a2" "20.85.0.248" "-" - - 10.244.1.9:8080 10.244.1.1:4441 - -

(2021-07-18T08:19:53.400Z) "GET /login/ HTTP/1.1" 404 NR route_not_found - "-" 0 0 0 - "10.244.1.1" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.164 Safari/537.36" "78f9d59e-6126-94f6-99e3-cbffe98e274f" "20.85.0.248" "-" - - 10.244.1.9:8080 10.244.1.1:4441 - -

(2021-07-18T08:19:56.286Z) "GET /login HTTP/1.1" 301 - via_upstream - "-" 0 0 4 4 "10.244.1.1" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.164 Safari/537.36" "be2ff6b8-751d-9150-9d6a-936a436f7fef" "20.85.0.248" "10.244.1.50:3000" outbound|8080||node-service.default.svc.cluster.local 10.244.1.9:59678 10.244.1.9:8080 10.244.1.1:4441 - -

(2021-07-18T08:19:56.525Z) "GET /login/ HTTP/1.1" 404 NR route_not_found - "-" 0 0 0 - "10.244.1.1" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.164 Safari/537.36" "f821db0b-cc9d-9b8c-9769-71ac7636a87e" "20.85.0.248" "-" - - 10.244.1.9:8080 10.244.1.1:4441 - -

(2021-07-18T08:20:00.198Z) "GET / HTTP/1.1" 200 - via_upstream - "-" 0 2804 4 4 "10.244.1.1" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.164 Safari/537.36" "43c37e75-f0ce-9474-bc4d-ea4459772f6d" "20.85.0.248" "10.244.1.50:3000" outbound|8080||node-service.default.svc.cluster.local 10.244.1.9:59678 10.244.1.9:8080 10.244.1.1:4441 - -

(2021-07-18T08:20:00.457Z) "GET /static/todo/logo.png HTTP/1.1" 404 NR route_not_found - "-" 0 0 0 - "10.244.1.1" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.164 Safari/537.36" "a26d3710-3868-96b6-9d6d-7f6ee05dc131" "20.85.0.248" "-" - - 10.244.1.9:8080 10.244.1.1:4441 - -

(2021-07-18T08:20:34.337Z) "GET /login/ HTTP/1.1" 404 NR route_not_found - "-" 0 0 0 - "10.244.1.1" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.164 Safari/537.36" "e8e73933-f95e-90a7-bdf4-ad39352982c5" "20.85.0.248" "-" - - 10.244.1.9:8080 10.244.1.1:4441 - -

(2021-07-18T08:20:37.506Z) "GET /login/ HTTP/1.1" 404 NR route_not_found - "-" 0 0 0 - "10.244.1.1" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.164 Safari/537.36" "bee90116-2d78-99dd-a4b7-fede0641fed8" "20.85.0.248" "-" - - 10.244.1.9:8080 10.244.1.1:4441 - -

(2021-07-18T08:20:40.191Z) "GET /login/ HTTP/1.1" 404 NR route_not_found - "-" 0 0 0 - "10.244.1.1" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.164 Safari/537.36" "f9df634e-743f-9699-a85d-40926db41ca4" "20.85.0.248" "-" - - 10.244.1.9:8080 10.244.1.1:4441 - -

Please suggest how to fix this?

The sample app docker link.

The kubernetes yaml files used:

Deployment.yaml

apiVersion: v1
kind: Service
metadata:
  name: node-service
  labels:
    app: nodeapp
    service: node-service
spec:
  selector:
    app: nodeapp
  ports:
    - name: http
      port: 8080
      targetPort: 3000 #80

---
apiVersion: v1
kind: ServiceAccount
metadata:
  name: nodeapp-details
  labels:
    account: nodeapp-details
---
apiVersion: apps/v1
kind: Deployment
metadata:
  name: nodeapp-deployment
  labels:
    app: nodeapp
    version: v1
spec:
  replicas: 1
  selector:
    matchLabels:
      app: nodeapp
      version: v1
  template:
    metadata:
      labels:
        app: nodeapp
        version: v1
    spec:
      serviceAccountName: nodeapp-details
      containers:
        - name: nginx
          image: uday1kiran/todoapp:1.0 #nginx
          imagePullPolicy: IfNotPresent
          ports:
            - containerPort: 3000 #80
              name: nodeapp-port
          #securityContext:
          #runAsUser: 1000

virtualservice.yaml

apiVersion: networking.istio.io/v1alpha3
kind: VirtualService
metadata:
  name: nodeserver
spec:
  hosts:
    - "*"
  gateways:
    - node-gateway
  http:
    - match:
        - uri:
            exact: /
        - uri:
            exact: /admin
        - uri:
            exact: /login
      route:
        - destination:
            host: node-service
            port:
              number: 8080

gateway.yaml

apiVersion: networking.istio.io/v1alpha3
kind: Gateway
metadata:
  name: node-gateway
spec:
  selector:
    istio: ingressgateway # use istio default controller
  servers:
  - port:
      number: 80
      name: http
      protocol: HTTP
    hosts:
    - "*"

The yaml files are in this repository

drush – How to fix the “The specified database connection is not defined: default” error?

You say that Drupal works fine. Do you really mean that your Drupal 9.2.1 website is fully functional without a database connection? That is surprising!

You can start by connecting to this environment via ssh and testing a connection to the database using the command-line mysql utility and the database authentication credentials stored in your settings.php file.

If you get a successful connection, run some diagnostic commands like USE `drupal`; (replacing drupal with the DB name specified in your settings) and SHOW TABLES; and SELECT COUNT(*) FROM `node`; (just be very careful not to issue any commands that insert, update, or delete any data!)

If Drupal really can connect to the database, and you can connect in this way from the command line, then you will have narrowed the problem down to Drush.

You can make sure that you are really running the correct project-local version of Drush 10 that you installed with Composer by executing which drush at the command prompt to see if you are instead using a gloabally installed Drush, perhaps even a different version.

If that is the case, please specify the full path to your local Drush to be sure you are executing the correct Drush PHAR:

$ cd /home/ip/d916/
$ ./vendor/bin/drush status
$ ./vendor/bin/drush cr

If these commands work for you, then you have different options depending on your hosting. The Drush docs are excellent, and will help you to decide the correct path forward.

7 – How do I fix the “You’re attempting to access the site via IP address or invalid hostname.” error?

I’m running Drupal 7 on Pantheon and have started getting the following error message whenever I try to save content.

You’re attempting to access a Pantheon site via IP address or invalid hostname. Please use a valid hostname.

I’ve found a number of related issues online:

Most of these articles reference Drupal 7, but all of the fixes are for Drupal 8.

I’m experiencing this problem in both dev and in production (though user interactions on the live site seem to be fine, thank goodness). It started a week ago, and now I’m functionally locked out from creating new content or editing most of the site. It affects all of my browsers, both of my laptops and occurs whether I’m connecting via wifi or tethering data from my phone (a separate ISP), so this isn’t a local issue.

How do I resolve it for Drupal 7?

drush – How can I fix the “The specified database connection is not defined: default” error?

I installed PHP 7.4.21, then Drupal 9.2.1, and Drush 10.5.0 with Composer as well.

Running Drush without arguments, I get the list of all the available commands.
Running drush cr gives me the following error.

The specified database connection is not defined: default

drush cr --root=/home/ip/d916/web gives the same error.

The output of drush cr -vvv is the following.

Exception trace

at /home/ip/d916/web/core/lib/Drupal/Core/Database/Database.php:371
DrupalCoreDatabaseDatabase::openConnection() at /home/ip/d916/web/core/lib/Drupal/Core/Database/Database.php:169
DrupalCoreDatabaseDatabase::getConnection() at n/a:n/a
call_user_func_array() at /home/ip/d916/web/core/lib/Drupal/Component/DependencyInjection/Container.php:258
DrupalComponentDependencyInjectionContainer->createService() at /home/ip/d916/web/core/lib/Drupal/Component/DependencyInjection/Container.php:176
DrupalComponentDependencyInjectionContainer->get() at /home/ip/d916/web/core/lib/Drupal/Component/DependencyInjection/Container.php:437
DrupalComponentDependencyInjectionContainer->resolveServicesAndParameters() at /home/ip/d916/web/core/lib/Drupal/Component/DependencyInjection/Container.php:240
DrupalComponentDependencyInjectionContainer->createService() at /home/ip/d916/web/core/lib/Drupal/Component/DependencyInjection/Container.php:176
DrupalComponentDependencyInjectionContainer->get() at /home/ip/d916/web/core/lib/Drupal/Core/Cache/ChainedFastBackendFactory.php:89
DrupalCoreCacheChainedFastBackendFactory->get() at /home/ip/d916/web/core/lib/Drupal/Core/Cache/CacheFactory.php:83
DrupalCoreCacheCacheFactory->get() at n/a:n/a
call_user_func_array() at /home/ip/d916/web/core/lib/Drupal/Component/DependencyInjection/Container.php:258
DrupalComponentDependencyInjectionContainer->createService() at /home/ip/d916/web/core/lib/Drupal/Component/DependencyInjection/Container.php:176
DrupalComponentDependencyInjectionContainer->get() at /home/ip/d916/web/core/lib/Drupal/Component/DependencyInjection/Container.php:437
DrupalComponentDependencyInjectionContainer->resolveServicesAndParameters() at /home/ip/d916/web/core/lib/Drupal/Component/DependencyInjection/Container.php:240
DrupalComponentDependencyInjectionContainer->createService() at /home/ip/d916/web/core/lib/Drupal/Component/DependencyInjection/Container.php:176
DrupalComponentDependencyInjectionContainer->get() at /home/ip/d916/web/core/lib/Drupal/Core/DrupalKernel.php:586
DrupalCoreDrupalKernel->preHandle() at /home/ip/d916/web/core/includes/utility.inc:35
drupal_rebuild() at /home/ip/d916/vendor/drush/drush/src/Commands/core/CacheCommands.php:234
DrushCommandscoreCacheCommands->rebuild() at n/a:n/a
call_user_func_array() at /home/ip/d916/vendor/consolidation/annotated-command/src/CommandProcessor.php:257
ConsolidationAnnotatedCommandCommandProcessor->runCommandCallback() at /home/ip/d916/vendor/consolidation/annotated-command/src/CommandProcessor.php:212
ConsolidationAnnotatedCommandCommandProcessor->validateRunAndAlter() at /home/ip/d916/vendor/consolidation/annotated-command/src/CommandProcessor.php:176
ConsolidationAnnotatedCommandCommandProcessor->process() at /home/ip/d916/vendor/consolidation/annotated-command/src/AnnotatedCommand.php:311
ConsolidationAnnotatedCommandAnnotatedCommand->execute() at /home/ip/d916/vendor/symfony/console/Command/Command.php:255
SymfonyComponentConsoleCommandCommand->run() at /home/ip/d916/vendor/symfony/console/Application.php:1027
SymfonyComponentConsoleApplication->doRunCommand() at /home/ip/d916/vendor/symfony/console/Application.php:273
SymfonyComponentConsoleApplication->doRun() at /home/ip/d916/vendor/symfony/console/Application.php:149
SymfonyComponentConsoleApplication->run() at /home/ip/d916/vendor/drush/drush/src/Runtime/Runtime.php:118
DrushRuntimeRuntime->doRun() at /home/ip/d916/vendor/drush/drush/src/Runtime/Runtime.php:48
DrushRuntimeRuntime->run() at /home/ip/d916/vendor/drush/drush/drush.php:72
require() at /home/ip/d916/vendor/drush/drush/drush:4

Composer works without any mistake. Drupal work fine too. Unfortunately I can’t work without Drush 10.

How can I fix the The specified database connection is not defined: default error?

external sd – Suddenly most of the files and folders in my sd card are now named “FSCKxxxx.REN”. How to fix this without root?

Summing up from the comments:

The most likely cause is your SD card being in the process of “breaking down”: When you connected it to your receiver, it detected problems and ran fsck (the File System ChecK utility) to repair it – which found issues with some files and directories, couldn’t figure their names, and thus “saved” what it found using those “cryptic names” (the FSCK prefix seems to confirm this, though normally such “recovered blocks” are moved into a LOST+FOUND folder).

After having connected the card to your PC using a card reader, the PC again found the card faulty and had to repair things. Of course it couldn’t restore the FSCK* files and directories to their original name, as that name was lost. As you correctly discovered, using the file command you can determine the file type, rename the files manually, and many, most or (if you’re very lucky) even all or them might be intact.

So here’s what you should do:

  1. Back up the entire contents of the card
  2. Get yourself a new card ASAP
    (until you did, repeat the previous step regularly; it might very soon start losing data)
  3. Copy the backup to the new card, and use that

And next to that, go the described way to identify the FSCK* files, which you then can rename to “useful names” and also copy back to the new card.

google pixel – How to fix duplicated/echoed missed-call notifications?

TL/DR: How can I prevent missed call notifications from being duplicated when I dismiss them?

Background:

I get several phone calls per day from numbers I don’t recognize. My phone (Google Pixel XL) usually labels them as suspected spam and I press the volume button to stop the ring tone but I don’t reject or answer the calls.

Shortly after the incoming call ends, I get a notification of a missed call. When I swipe the notification to the right to dismiss it, the notification pops back up as if it was a new notification, complete with the notification sound. As far as I can tell, this duplicate or echo of the notification is identical to the original with one exception: when I dismiss it, it does not echo or duplicate again.

Almost all missed call notifications echo like this but I have been unable to figure out why nor have I noticed any clear difference between the majority of notifications that get duplicated and the few that do not.

Question:

How can I prevent these missed call notifications from being duplicated?

Details:

Phone is the original Google Pixel XL running Android version 10 (Kernel version 3.18.137, Build number QP1A.191005.007.A3) on the Google Fi service.

fan – How should I fix cooling issue with Nortel 5520-48T-PWR switch?

I picked up a Nortel 5520-48T-PWR switch a couple months back and it’s been working like a champ. My only complaint was how loud the fans were so I swapped out the stock fans with Noctua NF-A4x20 FLXs. I had to swap the Noctua pins from BRY to RYB in order to get them to match the Nortel pinout but after doing that everything worked fine. The problem is that the next day only two of the six fans were still running. When I power the switch on all six fans spin up initially, but then almost immediately the front four throttle down and turn off.

Looking around online it seems that the 5520 might not be providing enough power to keep the fans spinning. Is there a way to force the switch to push 12v to the fans? I’ve poked around the web interface and documentation but I’m not seeing anything. It’s currently running on Avaya Firmware v6.0.0.21 and software v6.3.6.017.

Failing that, my backup plan is to set up some kind of external fan controller for the switch. Get a small PSU and fan controller and then hook the six fans up to that instead of the switch itself. If I go that route is there any specific hardware that you’d recommend (or is the idea too bad to even be worth pursuing)?

Fix Underexposed Photos In Just 1Minute

Advertising

y u no do it?

Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

Starts at just $1 per CPM or $0.10 per CPC.

Guaranteed WordPress Website Fix

We are offering a full WordPress Website Fix.
Have a website problem that you need help with right now?
We’ll fix it for $199 or your money back!

Thanks,
www dot hostirian dot com

.