SharePoint Migration – Product / patch installation or server upgrade required

I migrated SharePoint from 2013 to 2016 and then 2019. I used the database prefix SP_Intranet.

After migration to 2016, I removed SP_Intranet_Config and SP_Intranet_CentralAdmin + non-migrable databases.

This was followed by the installation of SharePoint 2019 with the latest patches. The farm consisted of four servers, the migration was successful. SharePoint server 2016 was still running but without databases. After two days in “Review problems and solutions” I got an error message: Product / patch installation or server upgrade required. .. Can you please tell me how to fix this error message?

In my opinion, since SharePoint server 2016 contained a database with the same name and continued to run, it joined the databases that were already created for SharePoint 2019.

I tried:

  1. Run the Get-SpProduct -Local after that run the Config wizard. I would use this psconfig -cmd upgrade -inplace b2b -force

  2. Clear the Config Cache on All server in Farm then run the psconfig wizard.

enter image description here

What should be the default option of a required dropdown list?

Given that there is no logically default animal from the list of animals below, what should be the “Default Value” below, according to best practice?

<label for="animal">Animal (required):</label> <select name="animal">   <option value="">Default Value</option>   <option value="0">Cat</option>   <option value="1">Dog</option>   <option value="2">Horse</option>   <option value="3">Pig</option>   <option value="4">Sheep</option> </select> 

A blank value, <option value=""></option>?

Something visually irritating, <option value="">***CHOOSE ANIMAL***</option>?

Something which blends in but provides instruction, <option value="">Select an Animal</option>?

Something else entirely?

HTTP code for action required

Suppose that I’ve an API that publishes a post in my Facebook account. What HTTP code should I return if the user hasn’t linked yet his FB account in my API server (it’s just an example)? I found “412 Precondition Failed” but I think that this is not the right use case. So what is the best HTTP code for telling that you should do an action first?

Missing required parameters for [Route]

Estou tendo dificuldades para apontar a rota por causa dos dois parametros que ela possui.

Route::prefix('auction')->namespace('Auction')->name('auction.')->group(function() {     Route::get('delegations/{auction}/view/{lot}', 'AuctionDelegatorsController@delegation')->name('delegations'); 

e a url que estou tentando apontar é:

@slot('url') {{route('auction.delegations', $  auction, $  lot)}} @endslot 

O erro que ele retorna é o seguinte

Missing required parameters for [Route: auction.delegations] [URI: auction/delegations/{auction}/view/{lot}] 

Não estou conseguindo fazer funcionar, alguem poderia me ajudar a ver onde estou errando?

19.04 minimal server installation: are the “core” and “lxd” snaps required?

I’m in the process of setting up a server based on Ubuntu 19.04. I like servers that I maintain to have as little installed on them as possible. The initial installation process (with no add-on software selected) left me with a bunch of stuff installed that I am pretty sure I don’t need. I am comfortable with installing software using apt, but I have no prior experience with “snaps”; in particular, I know how to tell what apt-packaged software is for and whether it’s actually being used, but not snap-packaged software.

Two snaps were installed by the initial installer: “core” and “lxd”. What do these do, and what might break if I removed them?

(More generally, what are the equivalents of apt-cache show PACKAGENAME, /usr/share/doc/PACKAGENAME, etc. for a snap package?)

porque obtengo error: lvalue required as left operand of assignment al reasignar un valor a una variable

Estoy sacando los valores de un vector que viene por parametro, pero necesito que si dado un condicional. Esta variable tome un nuevo valor, sin embargo he intentado con & pero no comprendo a un del todo como funciona este comando. Adjunto mi codigo :

void KalmanFilter::JcobianMatrix(const VectorXd &x_in){ //recover state parameter const float & px = x_in(0); const float & py = x_in(1); const float vx = x_in(2); const float vy = x_in(3); // check division by zero if (px==0 && py == 0){   std::cout<<"Err0r: division by zero is not permitted"<<std::endl;   std::cout<<"Adjusting to values px 0.01 and py 0.01"<<std::endl;   & px = 0.01;   & py = 0.01; } 

Al intentar compilar obtengo el siguiente error:

error: lvalue required as left operand of assignment

& px = 0.01;

Is a SSL client required to try multiple certificate chains?

Yesteday, 10 July 2019 I failed to access with Epiphany (WebKit2, which is using GNUTLS) and mailed the administrator which fixed it quickly. Here is the access via GNUTLS:

$   gnutls-cli Processed 155 CA certificate(s). Resolving ''... Connecting to ''... - Certificate type: X.509 - Got a certificate list of 4 certificates. - Certificate[0] info:   - subject `,OU=Universitaetsrechenzentrum,O=Technische Universitaet Chemnitz,L=Chemnitz,ST=Sachsen,C=DE', issuer `CN=DFN-Verein Global Issuing CA,OU=DFN-PKI,O=Verein zur Foerderung eines Deutschen Forschungsnetzes e. V.,C=DE', serial 0x1ddeea4d08db829c1f1b3603, RSA key 2048 bits, signed using RSA-SHA256, activated `2017-09-18 06:50:38 UTC', expires `2020-12-15 06:50:38 UTC', pin-sha256="HPAyb8xUhT23hfPUC+J6sxeVlW8e4K8N3JOGE2pZZH8="     Public Key ID:         sha1:f43cd7f782e17d07c98de23c71d613d834dde868         sha256:1cf0326fcc54853db785f3d40be27ab31795956f1ee0af0ddc9386136a59647f     Public Key PIN:         pin-sha256:HPAyb8xUhT23hfPUC+J6sxeVlW8e4K8N3JOGE2pZZH8=  - Certificate[1] info:   - subject `CN=DFN-Verein Global Issuing CA,OU=DFN-PKI,O=Verein zur Foerderung eines Deutschen Forschungsnetzes e. V.,C=DE', issuer `CN=DFN-Verein Certification Authority 2,OU=DFN-PKI,O=Verein zur Foerderung eines Deutschen Forschungsnetzes e. V.,C=DE', serial 0x1b63bad01e2c3d, RSA key 2048 bits, signed using RSA-SHA256, activated `2016-05-24 11:38:40 UTC', expires `2031-02-22 23:59:59 UTC', pin-sha256="2plWEFSbja5Tz0pERjlr4FL2fr0H4L48Rt0ZF3sKBEQ=" - Certificate[2] info:   - subject `CN=DFN-Verein Certification Authority 2,OU=DFN-PKI,O=Verein zur Foerderung eines Deutschen Forschungsnetzes e. V.,C=DE', issuer `CN=T-TeleSec GlobalRoot Class 2,OU=T-Systems Trust Center,O=T-Systems Enterprise Services GmbH,C=DE', serial 0x00e30bd5f8af25d981, RSA key 2048 bits, signed using RSA-SHA256, activated `2016-02-22 13:38:22 UTC', expires `2031-02-22 23:59:59 UTC', pin-sha256="nKACHrGIK7Y2Rip247vWnOEfapF/v8H8rewd/Mzla8U=" - Certificate[3] info:   - subject `CN=T-TeleSec GlobalRoot Class 2,OU=T-Systems Trust Center,O=T-Systems Enterprise Services GmbH,C=DE', issuer `CN=Deutsche Telekom Root CA 2,OU=T-TeleSec Trust Center,O=Deutsche Telekom AG,C=DE', serial 0x119c148cc1ac0e95, RSA key 2048 bits, signed using RSA-SHA256, activated `2016-04-25 09:01:39 UTC', expires `2019-07-09 23:59:59 UTC', pin-sha256="YQbA46CimYMYdRJ719PMGFmAPVEcrBHrbghA3RZvwQ4=" - Status: The certificate is NOT trusted. The certificate chain uses expired certificate.  *** PKI verification of server certificate failed... *** Fatal error: Error in the certificate. 

As you can see, last certificated expired at 2019-07-09 23:59:59 UTC and therefore I wasn’t able to access the page yesterday. DFN stands for Deutsches Forschungs Netzwerk, which translates to German Research Network.
I had not the time to wait until the scan of SSLLabs finished yesterday, which is – of course – now fine. I remember, that SSLShopper and a service of 1&1 also reported the problem. On the other hand, Chrome and Firefox accepted the certificate on my computer. I’m careful about Chrome and Firefox, which both cache intermediate certificates and silently reuse them when possible. Therefore I always test the validity of a certificate with Epiphany, GNUTLS or OpenSSL and external services.

It was explained to me, that the domain used a cross-certificate. Does a cross-certificate imply multiple certificate chains? Is a SSL client required to try out more than one chain?

PS: I recommend that dictionary, it’s pretty good and comprehensive. There is also a desktop application. The admin is also friendly 🙂

Is HMAC required when using TLS communication?

We have SSL communication between our mobile app and our servers.

The request from mobile is creating a hash on all the request fields – based on a secret key which is “stored” on the app.

So it sends json with all the fields data, plus a signature value which is :

hash = hashBasedOnKey ( all request data fields) 

Later, the server does the same thing. It reads the fields and run hash on those fields ( server also has the secret key) and if the hash are the same , then it means that the data was not altered.


Is it really needed when using SSL communication ?

A MITM can’t alter the data , except for SSL stripping. But again, the mobile app uses SSL communication.
IMHO – ssl stripping is when non ssl “thinks” it connects to ssl , without noticing, where the MITM does the SSL by itself to the destination, and strip the https data , and return the http data.


Is hashing the data in the client, crucial? or is it useless?