[go-cd] Re: Purged flyweight directory

2018-04-18 Thread Christopher Yocum
Looks like if you want to purge the flyweight dir you HAVE to remove/move 
the actual flyweight dir and not purge subdirs within it. Renaming the 
actual flyweight dir and restarting the go-server service resolved the 
issue.

-- 
You received this message because you are subscribed to the Google Groups 
"go-cd" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to go-cd+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [go-cd] Purged flyweight directory

2018-04-18 Thread Ketan Padegaonkar
I'd suggest stopping the server, moving the flyweight out of its current
location (to back it up) and bringing back the server back online. It may
take several minutes after the server comes online for the material checks
to happen. If there are specific errors that you see, we suggest that you
run those commands in the flyweight directory to make sure they can execute
(they may indicate issues with credentials, and bad urls, incorrect branch
names, among other things).



On Wed, Apr 18, 2018 at 9:05 PM Christopher Yocum <
christopher.yo...@gmail.com> wrote:

> Relatively new to GOCD and inherited our environment after the previous
> engineer left the company. Seeing disk space issues on the partition that
> the flyweight dir is stored so, after reading a topic here that it was safe
> and would be rebuilt, I purged most of the unique dirs from within the
> flyweight dir. Chaos has since ensued and I'm lost. Tons of errors in the
> log about "modificatuion check failed" due to "error performing command":
>
> 2018-04-18 15:09:18,249  WARN [100@MessageListener for
> MaterialUpdateListener] MaterialDatabaseUpdater:115 - [Material Update]
> Modification check failed for material: URL: 
> g...@foo.net:docker/elastalert.git,
> Branch: master
> java.lang.RuntimeException: Error performing command: --- Command ---
> git config remote.origin.url
>
> 2018-04-18 15:09:18,383  WARN [99@MessageListener for
> MaterialUpdateListener] MaterialDatabaseUpdater:115 - [Material Update]
> Modification check failed for material: URL: 
> g...@foo.net:payments/customer-portal-env-config.git,
> Branch: ci_test
> com.thoughtworks.go.util.command.CommandLineException: Error performing
> command: --- Command ---
> git log -1 --date=iso --pretty=medium origin/ci_test
>
> The flyweight directory is not rebuilding/recloning as I expected it would
> and this has halted development entirely.
>
> I've restarted the go-server and go-agent services, I've tried to enable
> debug logging for the git material, etc, but I'm totally lost and in a
> really bad situation.
>
> Any/all help is greatly appreciated.
>
> --
> You received this message because you are subscribed to the Google Groups
> "go-cd" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to go-cd+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"go-cd" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to go-cd+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[go-cd] Purged flyweight directory

2018-04-18 Thread Christopher Yocum
Relatively new to GOCD and inherited our environment after the previous 
engineer left the company. Seeing disk space issues on the partition that 
the flyweight dir is stored so, after reading a topic here that it was safe 
and would be rebuilt, I purged most of the unique dirs from within the 
flyweight dir. Chaos has since ensued and I'm lost. Tons of errors in the 
log about "modificatuion check failed" due to "error performing command":

2018-04-18 15:09:18,249  WARN [100@MessageListener for 
MaterialUpdateListener] MaterialDatabaseUpdater:115 - [Material Update] 
Modification check failed for material: URL: 
g...@foo.net:docker/elastalert.git, Branch: master
java.lang.RuntimeException: Error performing command: --- Command ---
git config remote.origin.url

2018-04-18 15:09:18,383  WARN [99@MessageListener for 
MaterialUpdateListener] MaterialDatabaseUpdater:115 - [Material Update] 
Modification check failed for material: URL: 
g...@foo.net:payments/customer-portal-env-config.git, Branch: ci_test
com.thoughtworks.go.util.command.CommandLineException: Error performing 
command: --- Command ---
git log -1 --date=iso --pretty=medium origin/ci_test

The flyweight directory is not rebuilding/recloning as I expected it would 
and this has halted development entirely.

I've restarted the go-server and go-agent services, I've tried to enable 
debug logging for the git material, etc, but I'm totally lost and in a 
really bad situation.

Any/all help is greatly appreciated.

-- 
You received this message because you are subscribed to the Google Groups 
"go-cd" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to go-cd+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.