pyRevit Profile keeps changing - pyrevit

First I'm not the user using this but am implementing it for a couple of users.
We use VDi machines with all users profiles on the server. I have managed to clone the Git Repo and leave a copy on the server which I use Robo copy to copy to the users.
This has worked great but we are facing an issue when they want to change some settings we get an error. The Setting do work great if in the config file it is pointing to the UNC path (\domian.local\share\users\username) but if it points to the drive lette of the share (t:\users\username) or c drive (c:\users\username) we get an error.
I'll look for the errors and upload it.
Cheers
Isaac

Related

Move Vtiger 7 Storage and Test directories to a new location

I have recently deployed my instance of Vtiger 7 in a load balanced auto scaled configuration.
I have also created a NFS server and mounted this to my Vtiger server. This NFS will also be auto mounted to any additional servers in the auto scaled scenario.
In order for this to all work properly I need to move the /storage and the /test directories to the NFS utilizing a symbolic link.
I have set this up perfectly and also established the proper symbolic links.
Problem I’m running into is that the vtiger will read the data from the symbolic link folders without issue, however is unable to write to these folders due to permissions issues. I’ve set permissions on the NFS folders 775. I’ve also tried 777 permissions just to check it out but still getting the same errors and vtiger will not write to the directories. Any idea of how I can solve this?
After burning by eyes our for many hours, I have solved my own question.
The issue was regarding folder ownership settings. I essentially needed to change the symlink owner and the NFS directory owner to the same owner as the CRM web root.

How can I create a user and set the password so I can ftp to my Amazon EC2 instance?

I created a Micro instance and downloaded a key for access to this. However I have a wordpress blog and that is asking for a username and passsword so it can use ftp to upload some plugins.
How can I create a new user for the ec2 instance? Currently I just have ec2-user. Do I need to create this when setting up the server or can I do this after the initial set up?
When WordPress asks for an FTP username/password, that means the permissions on your webroot are too restrictive for WordPress to update itself, or to add new plugins, etc. I actually LIKE that, since to have the permissions more permissive means the site and server are a bit more vulnerable to uploads/injections, etc.
So to install your new plugin I would recommend you do one of two things:
One option is that you could SSH into your server instance, identify the directory of your webroot (often the webroot is in/var/www/html/) and then chmod -R 777 /var/www/html && chown -R www-data.www-data /var/www/html). That will make your permissions wide-open and you can perform any updates or installations on your site using the WordPress dashboard. You will not be asked for an FTP username/password while these permissions are open. The problem is, you'll then want to go back and reset your permissions afterward to something more restrictive. For a good primer on that, see this article from Smashing Magazine, or the official Codex here.
The second method is a bit more indirect, a good bit more complicated, but safer. It involves using a source control system like Git on both the WordPress server and your own local workstation. If you create a private repository in something like GitHub, and load your site's code into that repository, that means you could also create a clone of it on your workstation, add the plugin(s) or new theme(s) there, and then commit and push the code back to GitHub. You would then hop into your server, cd to the webroot, and then git pull to retrieve your changes with no permission changes needed.
There are many reasons I favor the latter solution, but I know there is more setup involved. So if that feels like too much, you should learn how to do the first method comfortably. It would actually be a great chance to write a simple bash script that can OPEN up your permissions, and then another script to CLOSE them back down, automatically for you. (You can find just such a script here from a GitHub user.)

Cloud Backup from Network Drive?

My company keeps a document repository on a network drive. I need access to a small subset of directories on that remote drive (maybe 30G or so). But accessing the drive via VPN when I'm working remotely is unreliable.
I'm willing to buy some cloud storage but I'm not sure how to configure it to include just some of the subdirectories on the network drive. (I know that active backups / syncing will only happen when my laptop is on the intranet and "sees" the network drive, and this is fine.)
Is there a way to set up a local directory structure on my laptop, perhaps using symbolic links, that mirrors just the remote drive subdirs I need? Then I could aim a cloud storage service there to that local directory. Would this work?
I have been in your situation and I found a solution that certainly helps me accomplish my needs. Backup my files to the cloud and also access/share/recover files anytime. I've tried a couple of them like Carbonite & Mozy Pro (they were okay but not great) but Infrascale did pass the test. You should try contacting them - or even try Intronis.

Theme not getting copied

I worked on a website and it was hosted on bigrock server. But the client want me to transfer into just host. I managed to copy all the stuffs, but the theme I installed into old server is not getting copied into new justhost server. Please help me out in this one.
more details maybe, maybe an error message or something?
But: I found it quite common for file permissions to be an issue when using straight copy/paste/move.
When moving anything like a cms or cart with potential file permission issues, I would through cpanel/UI compress the lot and then move or copy the .zip/.tar ; On new server unzip through cpanel/UI and previous permission are intact too.

SVN Commit failed, access forbidden

Recently I am facing problem of commit to SVN. The SVN server I am using is VisualSVN Server 2.5.9 and the client is TortoiseSVN 1.7.12.
At first, one user is having problem to commit files to SVN. But that user still can access to the repository and download the update. The second user on second PC is working properly. But today, the second user is having the same problem as the first user.
Why is this happen? How can the problem be solved? Thanks.
If the problem lies client side, this could be one of the causes of the error.
On clients TortoiseSVN saves client credentials under
Tortoise settings / saved data / authentication data.
I got the same error trying to commit my files, but my credentials were changed. Clearing this cache here will give you a popup on next commit attempt for re-entering your correct credentials.
You can get the "Forbidden" error if your user account lacks access permissions to a repository or repository path; it makes sense to check authorization settings for your user account. Make sure your system administrator hasn't provided you with No Access permission to the repository path.
If you are sure that permissions are set correctly, then double-check the URL you use. URLs in Apache Subversion are case-sensitive.
Additionally, I advise you to read articles on authorization in Subversion and VisualSVN Server:
SVNBook about path-based authorization.
VisualSVN Team's article about path-based authorization. It explains the principles of SVN authorization by comparing it with Windows Access Control.
The solution for me was to check the case sensitivity of the username. A lot of people are mentioning that the URL is case sensitive, but it seems the username is as well!
As a new user to these two software packages, I experienced the exact same problem. As was also discovered above, my solution was to use the same case letters as is in the Repository path.
Here's a tip that I find helpful: In VisualSVN, you can right click on the path, then click "Copy URL to Clipboard" for pasting in Tortoise to be sure that the path is the identical case.
Actually, I had this problem same as you.
My windows is server 2008 and my subversion info is :
TortoiseSVN 1.7.6, Build 22632 - 64 Bit , 2012/03/08 18:29:39
Subversion 1.7.4,
apr 1.4.5
apr-utils 1.3.12
neon 0.29.6
OpenSSL 1.0.0g 18 Jan 2012
zlib 1.2.5
I used this way and I solved this problem.
I used [group] option. this option makes problem.
I rewrite authz file contents.
I remove group option. and I set one by one.
I use well.
Thanks for reading.
Actually, I had this problem same as you. You can get the "Forbidden" error if your commit includes different directories ; Like external items.
And ı solved in one step. Just commit external items in another case.
Additionally, I advise you to read articles on External Items in Subversion and VisualSVN Server:
VisualSVN Team's article about Daily Use Guide External Items. It explains the principles of External Items in SVN.
https://tortoisesvn.net/docs/release/TortoiseSVN_en/tsvn-dug-externals.html
I had a similar issue in Mac where svn was picking mac login as user name and I was getting error as
svn: E170013: Unable to connect to a repository at URL 'https://repo:8443/svn/proj/trunk'
svn: E175013: Access to '/svn/proj/trunk' forbidden
I used the --username along with svn command to pass the correct username which helped me.
Alternatively, you can delete ~/.subversion/auth file, after which svn will prompt you for username.
I was unable to commit csharp-files (*.cs). In the end the problem was that at some point i installed mod_mono, which made the *.cs-files inaccessible, through its configuration. So it may well be an apache-configuration issue, if only some sort of files are not accessible.
grep ".cs" /etc/apache2/mods-enabled/*
...
mod_mono_auto.conf:AddType application/x-asp-net .cs
...
My issue was my SVN permissions.
I had the same problem "Access to '/svn/[my path]/!svn/me' forbidden" when trying to commit files to a project I had been working on daily for several months. After trying the steps above, I could not resolve the issue. I also tried pulling the project down from scratch, logging in/out of SVN, etc. Finally I contacted my company's IT department and there was a permissions issue that spontaneously emerged which changed my access from read/write to read-only access. The IT department refreshed my permissions and this solved the problem.

Resources