Rename new document created in Document Library automatically when created

In a document library folder, when a user creates a new document, instead of it being named ‘Document’ when created, I want it to be named as the last name of the user. I have explored trying to do this through a Workflow but there does not seem to be a way to rename a document. The user cannot rename the document themselves as they do not have delete permission.

How to mount S3 bucket automatically on reboot

I am using s3fs to mount an s3 bucket on my Ubuntu server:

sudo apt-get install s3fs  sudo vim /etc/passwd-s3fs // <--put user access ket and secret key here  sudo chmod 640 /etc/passwd-s3fs // <-- change permission to password file  sudo vim /etc/fuse.conf // uncomment user_allow_other 

Now mount the s3 bucket:

sudo s3fs -o allow_other s3-bucket-name /home/myuser/s3 

I want to make sure that the bucket is mounted automatically after reboot, how can I do this?

2013 Workflow doesn’t run when deselecting “Automatically update the workflow status to the current stage name” in Document Library

SP 2016 OnPrem:

I’m using an API to do a custom upload to my Document library. After initial upload my script gathers basic info about the user to set default values and update the document properties. So the item is uploaded and saved a 2nd time almost immediately. Then I open the document properties immediately after that so the user can add more details, all within the same process. I have a 2013 workflow set to run on Update, so it’s triggered on that 2nd save.

This causes a conflict error when trying to Save the document properties for the 3rd time (in the UI). (Because while I was opening the document properties the workflow was running in the background.) It’s the same problem described here: Cannot save document properties with workflow enabled

I am able to get around that by deselecting “Automatically update the workflow status to the current stage name” in the workflow. That prevents the conflict but it also prevents my workflow from triggering on that UI save.

I have checked the End date in the workflow history and sure enough, it doesn’t run for that 3rd save. However, if I close the document properties, reopen and save them again, the workflow will trigger.

So the problem has something to do with uploading via api, updating via api and opening the document properties in the UI all in one stroke.

It makes sense why the conflict would happen, but not why the workflow won’t run if I deselect that option.

Any advice?

Thank you

How to automatically obtain keys in Evolution for e-mail recipients? (key discovery)

I am using the PIM Evolution 3.22.6 for e-mail and contacts. For encrypting e-mails gpg (GnuPG 2.1.18) is used by Evolution.

How can I configure my system such as when I compose an e-mail the PGP key for the recipients are automatically retrieved from key servers and added to my keyring?

For example when I try to send an e-mail to a recipient, which is not in my keyring I get the following error message: gpg: <>: skipped: No public key

In case I run – outside of Evolution – gpg --search-keys a key is successfully found. Is there any way to tell Evolution to deal with the search?