Cannot deploy nodejs application with error "NoMethodError: undefined method `owner' for Chef::Resource::DeployRevision" - chef-recipe

I cannot deploy a nodejs app with application & application_nodejs cookbook.
My environment :
Chef 11.12.2
Application cookbook : 4.1.4
Application_nodejs cookbook : 2.0.1
Ubuntu : 12.04 LTS
Full error :
"[2014-06-02T10:51:51+00:00] INFO: Running queued delayed notifications before re-raising exception
[2014-06-02T10:51:51+00:00] ERROR: Running exception handlers
[2014-06-02T10:51:51+00:00] ERROR: Exception handlers complete
[2014-06-02T10:51:51+00:00] FATAL: Stacktrace dumped to /var/chef/cache/chef-stacktrace.out
[2014-06-02T10:51:51+00:00] ERROR: deploy_revision(xxxx) had an error: NoMethodError: undefined method `owner' for Chef::Resource::DeployRevision
[2014-06-02T10:51:51+00:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1)"
Any idea?

It seems like you maybe making a mistake in passing in an empty value. Check that "owner" is actually set with the right value and not a nil.

Related

Sails fails to lift - Server failed to start (sailsjs, mongodb, nodemon sails lift --redis)

In VSCode When I run the sails lift sometimes it works, but when I tried "nodemon sails lift --redis" it shows this message.
enter image description here
error: Server failed to start.
error: (received error: EACCES)
error:
error: Troubleshooting tips:
error:
error: -> Do you have a slow Grunt task, or lots of assets?
error:
error: -> Is something else already running on port 1337 ?
error:
error: -> Are you deploying on a platform that requires an explicit hostname, like OpenShift?
error: (Try setting the explicitHost config to the hostname where the server will be accessible.)
error: (e.g. mydomain.com or 183.24.244.42)
Then Sails lift also showing the same error.
I'm using windows 11.
sail -v = 1.5.3
node -v = v16.15.1
MongoDB shell version v4.0.28
Ubuntu windows app(Ubuntu 22.04.1 LTS release)

plugin exited before we could connect

i'm new to terraform, Can anyone help me understand why i'm getting the following error after
running terraform plan :
terraform plan:
Error: Error asking for user input: 3 error(s) occurred:
provider.aws: plugin exited before we could connect
provider.templat: plugin exited before we could connect
provider.local : plugin exited before we could connect
i'm using Terraform v0.11.1
Thanks in advance.

Endeca baseline update is failing: SEVERE: Utility 'rmdir_dgraph-input-old' failed

Baseline update on endeca is failing. Please find the logs below:
INFO: Finished pushing content to dgraph.
INFO: [AuthoringMDEXHost] Starting shell utility 'rmdir_dgraph-input-old'.
INFO: [LiveMDEXHostA] Starting shell utility 'cleanDir_local-dgraph-input'.
INFO: [LiveMDEXHostA] Starting shell utility 'rmdir_dgraph-input-old'.
SEVERE: Utility 'rmdir_dgraph-input-old' failed. Refer to utility logs in [ENDECA_CONF]/logs/shell on host LiveMDEXHostA.
Occurred while executing line 7 of valid BeanShell script:
AuthoringDgraphCluster.copyIndexToDgraphServers();
AuthoringDgraphCluster.applyIndex();
LiveDgraphCluster.cleanDirs();
LiveDgraphCluster.copyIndexToDgraphServers();
LiveDgraphCluster.applyIndex();
SEVERE: Error executing valid BeanShell script.
Occurred while executing line 19 of valid BeanShell script:
Dgidx.run();
// distribute index, update Dgraphs
DistributeIndexAndApply.run();
// Upload the generated dimension values to Workbench
WorkbenchManager.cleanDirs();
SEVERE: Caught an exception while invoking method 'run' on object 'BaselineUpdate'. Releasing locks.
Caused by java.lang.reflect.InvocationTargetException
sun.reflect.NativeMethodAccessorImpl invoke0 - null
Caused by com.endeca.soleng.eac.toolkit.exception.AppControlException
com.endeca.soleng.eac.toolkit.script.Script runBeanShellScript - Error executing valid BeanShell script.
Caused by com.endeca.soleng.eac.toolkit.exception.AppControlException
com.endeca.soleng.eac.toolkit.script.Script runBeanShellScript - Error executing valid BeanShell script.
Caused by com.endeca.soleng.eac.toolkit.exception.EacComponentControlException
com.endeca.soleng.eac.toolkit.utility.Utility run - Utility 'rmdir_dgraph-input-old' failed. Refer to utility logs in [ENDECA_CONF]/logs/shell on host LiveMDEXHostA.
INFO: Released lock 'update_lock'.
Has anyone seen this type of error before? Please let me know the potential solution. Also Baseline update is taking 2 to 3 hours and then it's failing, it's annoying.
Thanks!
Check logs under
endeca/PlatformServices/workspace/logs/shell
There should be a log named like appName.rmdir_dgraph-input-old.log
with more info about the error.
Probably a non existing folder is trying to be removed or something like that.
If this is the case just create the folder that the utility is trying to remove and execute baseline again.

Swift Perfect Docker Debugging the build process

I am woking on Swift Perfect server programming. My code is compiling on MacOS successfully and able to run on localhost. But, when I try with Linux build in Perfect Assistant, it is giving following error
unable to execute command: Killed
<unknown>:0: error: compile command failed due to signal (use -v to see invocation)
Failed: systemError(1, "sh: no job control in this shell\n<unknown>:0: error: build had 1 command failures\nswift-build: error: exit(1): /swift-3.0.2-RELEASE-ubuntu16.04/usr/bin/swift-build-tool -f /perfectbuild/.build_lin/release.yaml\n")
Tired of figuring out where the problem is and how to debug it. I'm new to docker as well. Please guide me regarding this.
When I try making linux executable I'm getting the following error
docker: Error response from daemon: oci runtime error: container_linux.go:247: starting container process caused "exec: \".build_lin/debug/S-server\": stat .build_lin/debug/S-server: no such file or directory".

Why am I receiving error 0x80070643 trying to run aspnet_regiis for v2.0

I am trying to install .net v2.0 using "aspnet_regiis -i" ... and I keep getting this error: "Operation failed 0x80070643, fatal error doing installation".
any ideas of what i can do?