Sharepoint Online “404 File Not Found” Error From 365 Office Home Page

I think accidentally deleted the default team site from SharePoint online. Now I get a “404 File Not Found” message when I click the SharePoint link from the Office 365 home page.

The broken url is https://domain.sharepoint.com/_layouts/15/sharepoint.aspx

I don’t see the deleted page in the SharePoint admin site-> Sites-> Deleted Sites, so I cannot restore it from there.

I am very new at SharePoint, any help is appreciated.

sudo update-grub not found

I wanted to edit my grub file and use sudo update-grubto update it,but then it shows:

`Sourcing file `enter code here`/etc/default/grub /usr/sbin/grub-mkconfig: 1: /etc/default/grub: *******#: not found 

those *s may are some numbers similar to my account password,i also tried sudo update-grub2but it also didn’t work, what can i do?

How to set 6 physical, 6 hyper threading total 12 cores to hyper-v virtual machine – A parameter cannot be found HwThreadCountPerCore

I have windows server 2012 R2 on physical dedicated server

I have created a virtual machine via Hyper-V and installed Windows server 2019 in it

My dedicated physical server has 12+12 total 24 cores

12 core is physical and 12 core is hyper threading

From dedicated server’s hyper-v interface, there is no option to set how many physical cores and how many logical cores for the created virtual machine

So I am trying to set number of threads per core via the command below from powershell (running as administrator) in the dedicated physical server

Set-VMProcessor -VMName aa -HwThreadCountPerCore 2 //aa is the name of hyper v machine

However this command is giving the below error but it should work

What is the error and why it is not working?

How can i set X amount of physical cores and Y amount of logical cores?

    Set-VMProcessor : A parameter cannot be found that matches parameter name 'HwThreadCountPerCore'. At line:1 char:28 + Set-VMProcessor -VMName aa -HwThreadCountPerCore 2 +                            ~~~~~~~~~~~~~~~~~~~~~     + CategoryInfo          : InvalidArgument: (:) [Set-VMProcessor], ParameterBindingException     + FullyQualifiedErrorId : NamedParameterNotFound,Microsoft.HyperV.PowerShell.Commands.SetVMProcessorCommand 

This command has worked on my personal computer which is Windows 10

How to fix ‘Inconsistencies in the existing project dependencies found’

I am adding AdView in my Android Studio project but when pressing the download/add button of the AdView, this error message pops up:

‘This operation requires the library com.google.android.gms:play-services-ads:+.

Problem: Inconsistencies in the existing project dependencies found. Version incompatibility between: – androidx.activity:activity:1.0.0-alpha08@aar and: – androidx.concurrent:concurrent-futures:1.0.0-beta01@jar

With the dependency: – com.google.guava:listenablefuture:[1.1.0-beta01,1.1.1) versus: – com.google.guava:listenablefuture:[1.0,1.0.1)

The project may not compile after adding this library. Would you like to add it anyway?’

Here’s my gradle dependencies:

 dependencies {  implementation fileTree(dir: 'libs', include: ['*.jar'])  implementation 'androidx.appcompat:appcompat:1.0.2'  implementation 'com.google.android.material:material:1.0.0'  implementation 'androidx.constraintlayout:constraintlayout:1.1.3'  testImplementation 'junit:junit:4.12'  androidTestImplementation 'androidx.test:runner:1.2.0'  androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'  implementation 'androidx.gridlayout:gridlayout:1.0.0'  implementation 'androidx.recyclerview:recyclerview:1.0.0'  implementation 'com.squareup.picasso:picasso:2.5.2'  implementation 'com.google.android.material:material:1.1.0-alpha07'   } 

modprobe: FATAL: Module auto not found in directory /lib/modules/4.18.0-22-generic Cannot install Windrvr

I am trying to install Windrvr6 using this command in Ubuntu 16.04:

./14.4/SDK/common/bin/lin/install_script/install_drivers/linux_drivers/windriver64/windrvr/wdreg auto However it seems that auto module does not work or does not exist, and I receive this error:

.modprobe: FATAL: Module auto not found in directory /lib/modules/4.18.0-22-generic

RNFirebase core module was not found natively on ios

estoy desarrollando una app para ios. Despues de hacer toda la instalacion de firebase, PushNotifications y todas las configuraciones en xcode, al darle Run desde Xcode la aplicacion funciona bien, me pide permiso para habilitar las notificaciones y no hay ningun problema, pero si le doy “react-native run-ios” desde el visual studio me tira el siguiente error “RNFirebase core module was not found natively on ios”, me esta volviendo loco, gracias =).

Qemu Files not deleting “No Such File Or Directory Found”

I have some malware that installed crypto mining on my mac – I’m trying to delete all the files in terminal but keep coming up with “No Such File Or Directory Found” as an error. I’m tearing my hair out with this and its running my CPU constantly at 100%.

I’ve looked at other similar situations but this feels quite specific to me, Any help would be so much appreciated.

Ubuntu 18.04 won’t start on a dual-boot system: “No init found. Try passing init=bootarg.”

Ubuntu has been having issues lately on my computer. When I start it, I get an error message ending inNo init found. Try passing init=bootarg. This has become slightly common since I installed Windows 10 on my computer. I would like to know the culprit to this error, why this is happening, and how to fix it.

Best regards,

Michael

Docker `php-fpm` with different pool user from `www-data`, `primary script not found`

I have the following dockerfiles:

  • Dockerfile_develop_1:
#For Stackoverflow error reproduction FROM php:7.2-fpm-alpine  ARG USERID=1000 ARG GROUPID=1000  ENV DOCKER_UID=$  {USERID} \     DOCKER_GID=$  {GROUPID} \     FPM_CONF_DIR="/usr/local/etc/php-fpm.d"  RUN echo "Installing Development Dpendencies \n" &&\     echo http://dl-2.alpinelinux.org/alpine/edge/community/ >> /etc/apk/repositories &&\     apk add --update bash shadow git bash-completion bash-doc &&\     addgroup -g $  {DOCKER_GID} developer &&\     mkdir -p /home/developer/code &&\     adduser -D -u $  {DOCKER_UID} -G developer -h /home/developer -s /bin/bash developer &&\     chown developer:developer -R /home/developer/code &&\     chmod 775 /home/developer/code &&\     chown -R developer /home/developer &&\     sed -i 's/www-data/developer/gi' $  {FPM_CONF_DIR}/www.conf &&\     rm -rf /var/cache/apk/*  COPY ./entrypoint/develop_entrypoint.sh /usr/local/bin/entrypoint.sh  # I make seperate layer because Entrypoint is most likely to change RUN echo "Fixing Permissions on Entrypoint Script \n" &&\     chown root:root /usr/local/bin/entrypoint.sh &&\     chmod +x /usr/local/bin/entrypoint.sh  VOLUME /home/developer/code WORKDIR /home/developer/code  ENTRYPOINT /usr/local/bin/entrypoint.sh php-fpm 
  • Dockerfile_develop_2
#For Stackoverflow error reproduction FROM php:7.2-fpm-alpine  ARG USERID=1000 ARG GROUPID=1000  ENV DOCKER_UID=$  {USERID} \     DOCKER_GID=$  {GROUPID} \     FPM_CONF_DIR="/usr/local/etc/php-fpm.d"  RUN echo "Installing Development Dpendencies \n" &&\     echo http://dl-2.alpinelinux.org/alpine/edge/community/ >> /etc/apk/repositories &&\     apk add --update bash shadow git bash-completion bash-doc &&\     addgroup -g $  {DOCKER_GID} developer &&\     mkdir -p /home/developer/code &&\     adduser -D -u $  {DOCKER_UID} -G developer -h /home/developer -s /bin/bash developer &&\     chown developer:developer -R /home/developer/code &&\     chmod 775 /home/developer/code &&\     chown -R developer /home/developer &&\     sed -i 's/www-data/developer/gi' $  {FPM_CONF_DIR}/www.conf &&\     rm -rf /var/cache/apk/*  COPY ./entrypoint/develop_entrypoint.sh /usr/local/bin/entrypoint.sh  # I make seperate layer because Entrypoint is most likely to change RUN echo "Fixing Permissions on Entrypoint Script \n" &&\     chown root:root /usr/local/bin/entrypoint.sh &&\     chmod +x /usr/local/bin/entrypoint.sh  VOLUME /home/developer/code WORKDIR /home/developer/code  ENTRYPOINT /usr/local/bin/entrypoint.sh php-fpm 

With them I try to make php images for development purpoces that will map the user developer into my system’s user without having the images messing up with user_id of my files. Therefore I try to configure the pool as a different user and then I map the user id and the group if of local user into the developer one used inside the docker container instance.

For building and launching them I use the following docker-compose.yml file:

version: '3.7'  services:    develop_1:     build:       context: .       dockerfile: ./dockerfiles/Dockerfile_develop_1     image: pcmagas/php:dev_1     volumes:       - "nginx-php:/home/developer/code"    develop_2:     build:       context: .       dockerfile: ./dockerfiles/Dockerfile_develop_2     image: pcmagas/php:dev_2     volumes:       - "nginx-php:/home/developer/code"    nginx:     image: nginx:alpine     ports:       - 7880:7880     links:       - "develop_1:develop_1"       - "develop_2:develop_2"     volumes:       - "nginx-php:/var/www/html"       - "./conf/nginx.conf:/etc/nginx/nginx.conf:ro"  volumes:   nginx-php:       driver: local      driver_opts:       o: bind       type: none       device: /home/pcmagas/code/docker_php_dev_stackoverflow/www 

And I use the following entrypoint.sh script for both image’s entrypoint:

 #!/bin/sh  USER_ID=$  (id -u developer) GROUP_ID=$  (id -g developer)  echo "Setting the correct user and group id for shell use" if [ $  {DOCKER_UID} != $  {USER_ID} ]; then   usermod -u $  {DOCKER_UID} developer fi  if [ $  {DOCKER_GID} != $  {GROUP_ID} ]; then   groupmod -g $  {DOCKER_GID} developer fi  echo "Fixing execution permissions" find /home/developer/code -iname "*.php" | xargs chmod 777  echo "Launch application" exec "$  @" 

But for some reason I get the following error:

nginx_1      | 2019/06/18 09:30:24 [error] 6#6: *1 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: 172.30.0.1, server: dev2.localhost, request: "GET /favicon.ico HTTP/1.1", upstream: "fastcgi://172.30.0.3:9000", host: "dev2.localhost:7880", referrer: "http://dev2.localhost:7880/" 

Also for the dev1.localhost:

nginx_1      | 2019/06/18 09:30:39 [error] 6#6: *6 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: 172.30.0.1, server: dev1.localhost, request: "GET /favicon.ico HTTP/1.1", upstream: "fastcgi://172.30.0.2:9092", host: "dev1.localhost:7880", referrer: "http://dev1.localhost:7880/" 

For url mapping I use this hosts file entry:

127.0.0.1 dev1.localhost dev2.localhost  

Do you know how I can fix that? For a bummy php code I use the following:

<?php phpinfo(); ?>