last day (28 days later) » 

6:15 PM
0
A: Setting up Perforce initially

SamwiseLooks like your client spec is fine, so I imagine you just haven't added the files yet. You should be able to do: p4 set P4CLIENT=Home cd C:\home p4 add ... p4 submit -d "Adding all my files." to get everything into the depot. If you were starting off completely from scratch, assuming you alrea...

 
Thanks, Samwise. When trying the add command, I get Client 'VPS-ABC-12-123' unknown - use 'client' command to create it. That value is in the Host field.
 
p4 set P4CLIENT=Home. (If you're going to be sharing this server with other people, note that each client machine needs a unique client spec name. That's why they default to the local hostname, since those will tend to be unique to the local machine.)
 
Underneath the home folder are several websites, one in each folder. If I create a CLIENT at each of these folders, they'd be unique, and would allow better permissioning, right?
 
Permissioning doesn't really have anything to do with client specs, unless you're talking about local permissions for multiple users on this machine -- in which case yeah, you probably want each local user to have their own Perforce username and their own client that maps the local folder(s) they have permission to. Permissions on the Perforce side are managed within the depot namespace (not the client namespace) by p4 protect.
If you do have multiple client specs and/or users on one machine, you should use P4CONFIG to manage those configurations so that they swap automatically according to the working directory; much easier than having to remember to p4 set the right thing each time you switch workspaces.
Then yeah, just one workspace mapping the root (which is the default for a new client spec anyway) makes perfect sense, and permissions aren't an issue at all if there's only one user.
 
My prior attempts in P4V are interfering with the add command. When I tried to submit the changelist in P4V, the system spins and nothing gets added. When using DOS, Says they are already set for add. The DOS CLIENT command did not help in that P4V GUI submit, and I'm concerned if I submit at DOS, they won't be visible in P4V due to the current error. How I can start all over? Are you open to remoting in?
 
6:15 PM
If they're already open for add, just p4 submit. Once you submit the files, you should be able to refresh P4V and see them in the depot. If there's some kind of server error preventing the submit from succeeding, you might get a more useful error message at the command line. (Could it be your server is out of disk space? Did you set up a trigger on the server that might be blocking the submit?)
 
Thanks so much for these. And storing web source in the /home/ folder is fine?
Thanks again, Samwise. There are no triggers. We have 60+ Gb of disk space.

I reverted all the P4V because it was stuck somehow.

When I try syncing to head from //HomeDepot, I get this:
1 warning reported
//HomeDepot/...#head - no such file(s).

I did the two DOS commands, and they did succeed. I cannot see those additions in P4V.
Now I'm attempting to do the add command, and the system is spinning indefinitely.

My sincerest apologies for this difficulty.
 
 
5 hours later…
11:35 PM
Can I see your actual entire client spec? (p4 client -o)
 

  last day (28 days later) »