Backups failing on Ubuntu 18.04

Getting this error message when trying to backup Ubuntu 18.04:

I kind of remember when setting up the backup option, it downloaded software/patch, then errored on the install…Maybe???

Error processing remote manifest (duplicity-inc.20200918T020411Z.to.20200921T184305Z.manifest.gpg): GPG Failed, see log below:
===== Begin GnuPG log =====
gpg: WARNING: “–no-use-agent” is an obsolete option – it has no effect
gpg: AES256 encrypted data
gpg: encrypted with 1 passphrase
gpg: decryption failed: Bad session key
===== End GnuPG log =====

mount mdadm / bcache device at boot failing

I am setting up an mdadm raid1 array with an nvme ssd as a cache drive. I followed this instruction https://www.kernel.org/doc/html/latest/admin-guide/bcache.html to set it up

everything works fine, except that when I reboot the server, it doesn’t automatically mount /dev/bcache to the assigned mount point. i’ve used both the uuid and /dev/bcache0 as the block device.

looking at my logs, it seems that the device does not exit. this is the case both when using the uuid and devicename.

I am able to mount the cache drive with a simple mount command after logging in

mount /dev/bcache0 /mnt/data

I suppose I could put this into a small script and execute it on boot.

however, it seems like something else is going on. I just cant figure out what.

output of bcache-super-show
the caching drive

root@myserver:~# bcache-super-show -f /dev/nvme0n1 
sb.magic        ok
sb.first_sector     8 (match)
sb.csum         5ADC6C06FB475340 (match)
sb.version      3 (cache device)

dev.label       (empty)
dev.uuid        f487b49a-6dfe-49ac-92fb-068de55f6819
dev.sectors_per_block   1
dev.sectors_per_bucket  1024
dev.cache.first_sector  1024
dev.cache.cache_sectors 976772096
dev.cache.total_sectors 976773120
dev.cache.ordered   yes
dev.cache.discard   no
dev.cache.pos       0
dev.cache.replacement   0 (lru)

the raid array

root@myserver:~# bcache-super-show -f /dev/md0 
sb.magic        ok
sb.first_sector     8 (match)
sb.csum         9BFF2141F59F596D (match)
sb.version      1 (backing device)

dev.label       (empty)
dev.uuid        d4cc3cdc-4626-4c65-a72f-9cf52b6ad2f0
dev.sectors_per_block   1
dev.sectors_per_bucket  1024
dev.data.first_sector   16
dev.data.cache_mode 1 (writeback)
dev.data.cache_state    1 (clean)

cset.uuid       ec7e2e05-c138-41fb-85b0-5d1b14a2ab0f

dnd 3.5e – Does failing to tumble through an occupied space end your action?

In all cases, readied actions, some immediate actions and attacks of opportunity, game flow is interrupted; an action is started, and that action itself, provokes a response. The response is then resolved, then provided circumstances have not changed, the action that was interrupted continues.

Although an interrupting action is resolved before the action that triggered or provoked it, the response does not retroactively prevent the action from starting.

attack of opportunity

An attack of opportunity “interrupts” the normal flow of actions in the round. If an attack of opportunity is provoked, immediately resolve the attack of opportunity, then continue with the next character’s turn (or complete the current turn, if the attack of opportunity was provoked in the midst of a character’s turn).

readied action

Then, any time before your next action, you may take the readied action in response to that condition. The action occurs just before the action that triggers it.

immediate action

Some special abilities or spells use immediate actions in response to other actions (or consequences of other actions, like damage)

an immediate action can be performed at any time — even if it’s not your turn.

In most cases, actions may not be split up, so an interrupted action that cannot be continued is no longer available (lost, consumed, wasted, whatever you want to call it). With Tumbling, it is during a move action that the check may be failed, so provided circumstances no longer prevent it, the move action may continue.

Even though an interrupting action is resolved before the action that elicited it, that eliciting action had to start in order to elicit the response.

Tumbling is not unlike moving out of a threatened square; it is the movement that provokes and it is resolved before leaving the threatened square, even though that action is what caused the provocation.

The Tumbling description does not mention whether or not you have to move back into your square.

Faliure means you stop… and provoke

On the other hand, Overrun does.

If you fail (…) you have to move 5 feet back the way you came, ending your movement there.

As does Bull Rush

If you fail (..), you move 5 feet straight back (..)

If you treat Tumble like Overrun or Bull Rush, then there is a movement cost for entering the square, then failing and going back.

If you treat Tumble like it’s written, then you would ignore any movement from the failed attempt.

I think it would be unfair to impose penalties not listed (like interpreting stop as ending your movement), but I do think using the movement cost in Overrun as a guide for tumble makes sense, as both are attempting to move through an enemy’s square (as noted in the descriptions under Movement Position and Distance -> Moving through a Square).

As written

If you treat Tumble as written, and different from Bull Rush or Overrun, then in your example, Abe moves 10′ then attempts to move into Bob’s square, but fails. There is no cost to the attempt, so Abe has 20′ of movement left.

As Overrun and Bull Rush

However, if we treat Tumble like Overrun (and Bull Rush); Abe uses 2 squares (10′) of movement to approach Bob, two more squares (10′) to attempt to move into Bob’s square (since it’s difficult terrain), where he fails his Tumble and uses two more squares (10′) moving back out. If he can otherwise continue (Bob’s attack of opportunity didn’t change circumstances), Abe would be able to move, although at this point, he’s used 30′ of a 30′ move action.

Adding a sharepoint ArcGis extension is failing due 403 (Ensure Extension Pack is valid and does not already exist)

I’m trying to add one of the samples sharepoint extensions into my ArcGis map. When I try to do that it returns the following error:

Failed to add Extension Pack from the specified address. Ensure Extension Pack is valid and does not already exist.

Samples—ArcGIS Maps for SharePoint | ArcGIS

When I check the browser’s console I see the following error:

ERROR: 403

URL: https://la.arcgis.com/proxy?[FILEURL]/manifest.json.txt

I made the APP, API and everything as open as possible to find out where is the block, even anonymous usage. No success so far.

  • I can confirm that I can access the manifest.json.txt through the URL
  • Arcgis app is registered and I can see redirect URLs from my sharepoint
  • ArcGis is authenticated successfully thought the App configuration button
  • ArcGis map is working with the default configuration connected to a sharepoint list
  • There are plenty of credits available in the organization account

What can I do to solve the issue and add a custom extension?

Why this error is happening?

php – WP-CLI `user create` failing on woocommerce

I am trying to use the wp user create <user-login> <user-email> --role=<role> and the following error:

PHP Parse error: syntax error, unexpected ':', expecting '{' in /home/<user>/public_html/wp-content/plugins/woocommerce/woocommerce.php on line 56…

Ln56: function wc_get_container() : PsrContainerContainerInterface {

Ideas?

sql server – Why is SharePoint 2016 PSCONFIG Upgrade Failing with User Does Not Have Permissions?

I receive the following error during PSCONFIG upgrade:

Failed to upgrade SharePoint Products.
This is a critical task. You have to fix the failures before you can continue. Follow this link for more information about how to troubleshoot upgrade failures: http://go.microsoft.com/fwlink/?LinkId=259653


An exception of type Microsoft.SharePoint.PostSetupConfiguration.PostSetupConfigurationTaskException was thrown. Additional exception information:
Upgrade (SearchAdminDatabase Name=SearchServiceXXXXX) failed. (EventID:an59t)

Exception: User does not have permission to perform this action. (EventID:an59t)

Upgrade Timer job is exiting due to exception: System.Data.SqlClient.SqlException (0x80131904): User does not have permission to perform this action.

The account I’m using to run PSCONFIG has sysadmin role and is db_owner on the database.

I reviewed the log file and checked application event viewer which refers to the error above.

amazon web services – Certain instances in AWS subnet are failing Target Group health check after creating an Auto Scaling Group

I created an Auto Scaling Group on AWS with two Availability Zones, same as the Target Group that is attached to it. When the ASG and the Target Group go ahead and create Instances, instances from one specific AZ are succeeding and “sticking”, while instances created in the other AZ are having to be de-registered continuously and terminated. All instances pass their own health checks, but not the Target Groups health check.

I looked and both AZs have the same security groups; I am lost on what to do next.

PowerShell PnP sort SharePoint choice column failing

This code worked for about last 2 months, then is now failing:

Connect-PnPOnline -Url "https://myco.sharepoint.com/sites/sandbox"; -UseWebLogin

$listsToAdd = @("Structure Reqs","Perm Mods")

ForEach ($listToAdd in $listsToAdd)
{
$field = Get-PnPField -List $listToAdd -Identity "MyTargetColumn"
$ctx = Get-PnPContext

$fieldChoice = (Microsoft.SharePoint.Client.ClientContext).GetMethod("CastTo").MakeGenericMethod((Microsoft.SharePoint.Client.FieldChoice)).Invoke($ctx,$field)

$ctx.Load($fieldChoice)
Invoke-PnPQuery

$choices = $fieldChoice.Choices
$choices += "MyNewValue".ToUpper()

$fieldChoice.Choices = $choices | Sort-Object

$fieldChoice.UpdateAndPushChanges($true)
Invoke-PnPQuery
}

*** Error message is:

Exception calling "Invoke" with "2" argument(s): "Object does not match target type."
At line:14 char:1
+ $fieldChoice = (Microsoft.SharePoint.Client.ClientContext).GetMethod( ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) (), MethodInvocationException
+ FullyQualifiedErrorId : TargetException


Cannot find an overload for "Load" and the argument count: "1".
At line:16 char:1
+ $ctx.Load($fieldChoice)
+ ~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) (), MethodException
+ FullyQualifiedErrorId : MethodCountCouldNotFindBest


The property 'Choices' cannot be found on this object. Verify that the property exists and can be set.
At line:22 char:1
+ $fieldChoice.Choices = $choices | Sort-Object
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (:) (), RuntimeException
+ FullyQualifiedErrorId : PropertyNotFound


You cannot call a method on a null-valued expression.
At line:24 char:1
+ $fieldChoice.UpdateAndPushChanges($true)
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (:) (), RuntimeException
+ FullyQualifiedErrorId : InvokeMethodOnNull


Exception calling "Invoke" with "2" argument(s): "Object does not match target type."
At line:14 char:1
+ $fieldChoice = (Microsoft.SharePoint.Client.ClientContext).GetMethod( ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) (), MethodInvocationException
+ FullyQualifiedErrorId : TargetException


Cannot find an overload for "Load" and the argument count: "1".
At line:16 char:1
+ $ctx.Load($fieldChoice)
+ ~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) (), MethodException
+ FullyQualifiedErrorId : MethodCountCouldNotFindBest


The property 'Choices' cannot be found on this object. Verify that the property exists and can be set.
At line:22 char:1
+ $fieldChoice.Choices = $choices | Sort-Object
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (:) (), RuntimeException
+ FullyQualifiedErrorId : PropertyNotFound


You cannot call a method on a null-valued expression.
At line:24 char:1
+ $fieldChoice.UpdateAndPushChanges($true)
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (:) (), RuntimeException
+ FullyQualifiedErrorId : InvokeMethodOnNull

error – My approval workflow on SharePoint Online keeps failing

According to the screenshot, the issue lies on the parallel part. The Start and wait for approval action simply does not get started. And I am not sure about the logic behind the Do until part. More information about the Flow logic will be helpful.

You may need to double check with the start and wait for approval and check where goes wrong.

Nessus Plugin “HTTP Smuggling Detection” failing due to support for http/1.1 – how to overcome?

According to here, this issue will show up if you have paranoia enabled. Did you purposefully enable paranoid scans?

Paranoid scans turn up with a lot of weird plugins like these. Another example of paranoia false positives I have seen was something along the lines of “Port 4444 is open, therefore there is a backdoor on this machine,” which isn’t necessarily true.

If you do need paranoia set to On, next, you then need to verify the validity of this plugin. In that case, I would recommend using Burp Suite (community edition is fine) and then running the HTTP Smuggler addon against your “vulnerable” host. It will do a much more thorough test on it than Nessus will.

Should you discover that your host IS vulnerable, then you should investigate patching your application. Generally speaking, this is not an issue with your code — it is almost always a vendor patch for a web server or web appliance. Note that, due to how HTTP Request Smuggling works, you also may need to investigate and patch all other infrastructure which is attached to that application. Namely, that would probably be a load balancer or some type of middleware.