Restoring the Existing Sharepoint farm using different SQL server instance

How to change the Database server instance of the the existing sharepoint 2013, when its current SQL server database instance is corrupt?

Explanation;

->Sharepoint 2013 server lost all the connections to the SQL server database due to server failure (server farm is setup on virtual machine and SQL server on different Virtual machine)

we were able to retrieve the sharepoint databases(including config and content dbs) which were month old.

we have attached these database to the new SQL server instance created (this time the database instance name is different)

but we are not able to configure the existing SharePoint 2013 server to the new database SQL server instance

we tried running the configuration wizard, and also change the server setting running the cliconfg.exe (C:\windows\system32)

but it still points to the old server instance. can anyone please suggest how to restore these sharepoint sites without re-installing the sharepoint 2013 server

thanks n regards

Existing content type add new/edit/display forms

I have a Content type that is being used on a list on many subsites.

I’d like to replace add/new/edit forms for that content type.

It is on Office 365 + i cant use sandbox code at all. Only option is to use Client Object model through silverlight or javascript’s JSOM. I’ve seen an example here that deploys new/edit/display forms path to ‘_layout’ folder. Can i update existing Content Type to point to new forms on Office 365 that reside maybe on a sites root etc?

Unable to boot installer, but existing install boots

I have an older Atom based machine (x86 arch, 4 GB ram, a fresh 500 GB SSD currently containing windows) which I cannot get the installer from Ubuntu 18.04, 19.04, or beta 19.10 to boot enough to get an install working.

I am able to boot from the flash, select my language, and see the next menu. However, choosing “install” fails to boot further. From what I can see, the monitor goes into sleep mode. I’ve tried three different monitors, over DVI and HDMI. This computer has VGA, HDMI, and DVI, but I have no VGA cable handy anymore.

I’ve tried every possible combination of disabling acpi, ioapics, and using nomodeset. Different combinations get further, but only briefly, and I can’t see a pattern here.

I can, however, boot from a (failing) spinning disk containing 16.10, and it boots straight away. I have no options in the boot config, so it’s just doing its thing without any overrides.

I’m not sure what to try next — other than tossing this older computer and getting a newer one. As this is just going to be running a few home automation tasks, it seems like a waste of money.

Any suggestions on what to try next?

Thanks!

Adding a Plug or Interface to Existing Snap

I read through this, and it seems for a given snap (e.g. xournalpp), you can check it’s snap connections, existing interfaces, etc with snap connections [snap_name] but is there no way of adding a standard interface (e.g. removable-media) to an installed snap? (xournalpp, for instance did not have the removable-media interface listed, but had the home interface listed.)

I’ve seen others talk about it being impossible to add custom interfaces to installed snaps, but can one not even add such a common interface as removable-media to an existing snap? Is this really required to be set up by the developer alone?

I also saw some talk about yaml files controlling the availability of these interfaces, but didn’t manage to find where such a file would exist, or if this is a source file not available in a compiled/installed snap?

It seems like the inability to access removable drives by any snap in general unless the dev has specially statically written this into a yaml file somewhere is a bit crazy, but maybe I am missing something here?

edit: I am asking in general about adding interfaces to existing installed snaps, not specifically about removable-media, as others have found various workarounds for accessing removable-media via various hacks (mounting the media somewhere else, installing with the –classic flag, etc.). The first is hacky, and the second option pretty much eliminates the entire purpose of snaps (for me at least). I am looking for a straightforward way to do this for any existing interface from the core snap (at least).

How to edit existing item library with Infopath form SP 2013

I have a SP Library and I publish an Infopath form, when I create a new item, everything works perfect but if I want to edit the item it does not open the same form with the info populated to edit, it opens a default SP form with some fields but the whole form. I’m including the form it opens when editing.

Any idea?

enter image description here

How to delete non existing external disk

Long time ago i was trying to fix a corrupted sd card, or usb, i don’t remember. After some failed attemps, i give up, but the disk keeps showing up with fdisk -l, gparted, and disks. How can i delete this ghost disk?

This is the ghost disk:

Disk /dev/sdb: 22,4 GiB, 24015495168 bytes, 46905264 sectors Disk model: SanDisk SSD U100 Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disklabel type: gpt Disk identifier: BC49F78D-AD2F-4BEA-8731-80F808B9120D

Install Windows 10 Alongside Existing Ubuntu 19.04 Build in a Separate Hard Disk Drive

I am using Ubuntu 19.04 and due to gaming I want to install Windows 10 in a separate hard disk drive.

I have searched a lot and I haven’t managed to find clear instructions, especially in a build that has already Ubuntu installed. Most guides I found made it clear that you should install Windows 10 first.

So how can I install Windows 10 in a second hard disk drive in a manner that doesn’t conflict with my Ubuntu installation, as this is the one I am using all day except from gaming?

Please don’t link the other questions in here about this same issue because obviously they weren’t helpful.

Create new site collection in existing web application with different existing content DB

I have a SharePoint 2010 root level site collection SC1 in web application WEBAPP1. I want to create copy of that site collection in same web application WEBAPP1. Apart from Import/Export, Restore/Backup options, will following approach work? If yes , how?

  • I took backup of content database of web application.
  • Restored database with different name
  • Mounted Content database to this WEBAPP1 by assigning new ID to DB
  • Created new site collection by using this newly mounted DB

Site collection gets created successfully but content does not appear.

Please guide if i can achieve desired functionality by using this approach.

How to Update Newly Added Lookup Column using Value from the existing Choice column through powershell

I am working with SharePoint on prem 2019 and in one of the document libraries, I have a field called ‘Trust’ of type choice, this library contains about 7000 files. Now we have to convert this choice field into a lookup column and I am aware its not doable OOTB.

So we added all choice values for Trust field into a list (titled ‘Trust List’) on the same subsite where the library resides. Then created a site lookup column ‘TrustName’ that points to the title field of Trust list and added it to the library as well.

Now I need to find a solution to sort of grab Trust (choice) value for each row and paste it into the TrustName (lookup), maybe there would be need of filtering of ID from lookup list based on the match of values of ‘Trust’ field and Title from lookup list, not sure, I have little expertise in powershell. So looking for a PowerShell script solution for this that I can run. FYI, there are 3 other lookup fields in the same library, couple of text fields, people picker etc.

Please help, thanks in advance.

Installing grub on existing Window10 that was not dual booted with ubuntu

I have two PC’s – My laptop and my workstation. On my workstation I have my games, stuff, etc. On my laptop, I have Windows10, with all my work and study stuff. Six months ago I started working with Ubuntu18.04 (for school), which I installed using dual-boot on an external hard drive, using my laptop.

I now search for a way to work with the same external hard drive on my workstation. When I try to look for instructions, All I see is how to install dual-boot with a clean Ubuntu/Windows.

The thing is – My laptop did not have grub on it before using it to dual-boot, and I didn’t change anything in it regarding partitions, or anything – But, after dual-booting, grub appeared on it (I guess some sort of mini-installation happened in the background)

I try to do the same thing with the workstation. I don’t want to lose information on it. I’m looking to do it without to back everything up.

As you can guess, I’m an amatuer when it comes to Linux and BIOS stuff. sorry in advance.

Thanks