Perforce: Difference between revisions

From kJams Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
Line 11: Line 11:
#ensure the journal file has write access
#ensure the journal file has write access
#p4d -J journal -xu
#p4d -J journal -xu
#start / load p4d
#start / load p4d. If the attempt fails, go to the command line and type p4d, see what the error is. you may just need to run a DB update command, which will helpfully be provided.
#p4 counter lastCheckpointAction
#p4 counter lastCheckpointAction
#p4 verify -q //...
#p4 verify -q //...
#p4 admin restart
#p4 admin restart
==Using [http://www.soma-zone.com/LaunchControl/ LaunchControl] to manage the p4 server daemon==
==Using [http://www.soma-zone.com/LaunchControl/ LaunchControl] to manage the p4 server daemon==
import [https://karaoke.kjams.com/resources/launch_control/perforce_launchcontrol.xml this file] into LaunchControl as a Global Daemon, ensure it's running.
import [https://karaoke.kjams.com/resources/launch_control/perforce_launchcontrol.xml this file] into LaunchControl as a Global Daemon, ensure it's running.

Latest revision as of 03:30, 6 November 2018

How to do a checkpoint and / or update perforce server to latest

  1. p4 admin stop
  2. p4 verify -q //...
  3. cd into an empty folder (this is where checkpoint files will go)
  4. p4 admin checkpoint
  5. use app "LaunchControl" to unload p4d global daemon
  6. delete db.* files
  7. upgrade p4 & p4d
  8. p4d -jr checkpoint.xx <-- fill in number
  9. ensure the journal file has write access
  10. p4d -J journal -xu
  11. start / load p4d. If the attempt fails, go to the command line and type p4d, see what the error is. you may just need to run a DB update command, which will helpfully be provided.
  12. p4 counter lastCheckpointAction
  13. p4 verify -q //...
  14. p4 admin restart

Using LaunchControl to manage the p4 server daemon

import this file into LaunchControl as a Global Daemon, ensure it's running.

It should look like this:
perforce_launch_control.png