I have finally got around to upgrading my perforce server to 2014.
I had a single user Admin Licence, but didn't pay yearly upgrade as I though new free licence would suit me - 20 clients. I just removed the old licence file.
I didn't realise I had 29 clients.
I get this error message
C:\Program Files\Perforce\NewServer>p4d
Perforce server error:
Unlicensed server cannot start while over user/client quota.
Try deleting old clients with 'client -d'.
License count: 29 clients used of 20 licensed.
Is there a way I can select 29 clients to delete? obviously p4 client command won't connect as the server isnt running. Can I run that command against p4d
or something similar?
I will contact perforce support on Monday, but wondered if there was anything I could do myself.
To delete a pending changelist, you must first remove all files and jobs associated with it and then issue the p4 change -d changenum command. Related operations include the following: To move files to another changelist, issue the p4 reopen -c changenum command.
Used to cleanup the client workspace after the build. Optionally, setting the global option will delete the workspace files. To delete the workspace files after the build, use the global setting in Perforce: OnDelete Workspace Options, see Perforce: OnDelete Workspace Options.
The easiest way to fix this is for the admin to run p4d -xf 925 on the server root; this is a repair command that looks for this exact inconsistency and should repair it by pruning out unmatched db.
To unlock those files: p4 [g-opts] unlock [-c change | -s shelvedchange | -x] [-f] [file ...] This releases locks that were created explicitly using the p4 lock command, or implicitly during the course of a submit operation.
The p4v Perforce GUI client has an 'Actions > Remove from Workspace' menu command which removes all files from the workspace that are under version control and were not opened for edit or delete.
We just got hit by this. In the end we issued a
"p4d -n -p 1666"
which put us into maintenance mode. We could then delete client specs. After deleting a few we could start the server again.
I don't know if there is a solution to what I wanted to do, but this is how i solved it.
I had created a full backup of my perforce directory before upgrade.
p4d
from commandline, starting the perforce serverAll working now.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With