Change permissions of folder and its contents - ansible
I initially use the git module to download a repo as root user and then need to change the ownership from root to jenkins.
The entire git repo and its contents are owned by root
jenkins#ebdfa64dcac0:/usr/share/kaniko$ ls -tlrh
total 172K
drwxr-xr-x 9 root root 4.0K Apr 25 19:12 vendor
-rwxr-xr-x 1 root root 1.4K Apr 25 19:12 test.sh
drwxr-xr-x 15 root root 4.0K Apr 25 19:12 pkg
drwxr-xr-x 2 root root 4.0K Apr 25 19:12 logo
-rwxr-xr-x 1 root root 1.6K Apr 25 19:12 integration-test.sh
drwxr-xr-x 4 root root 4.0K Apr 25 19:12 hack
drwxr-xr-x 2 root root 4.0K Apr 25 19:12 files
drwxr-xr-x 2 root root 4.0K Apr 25 19:12 examples
drwxr-xr-x 2 root root 4.0K Apr 25 19:12 docs
drwxr-xr-x 2 root root 4.0K Apr 25 19:12 deploy
-rw-r--r-- 1 root root 4.4K Apr 25 19:12 code-of-conduct.md
drwxr-xr-x 4 root root 4.0K Apr 25 19:12 cmd
-rwxr-xr-x 1 root root 757 Apr 25 19:12 benchmark.sh
-rw-r--r-- 1 root root 1.9K Apr 25 19:12 Makefile
-rw-r--r-- 1 root root 107 Apr 25 19:12 MAINTAINERS
-rw-r--r-- 1 root root 12K Apr 25 19:12 LICENSE
-rw-r--r-- 1 root root 4.8K Apr 25 19:12 DEVELOPMENT.md
-rw-r--r-- 1 root root 2.8K Apr 25 19:12 CONTRIBUTING.md
-rw-r--r-- 1 root root 12K Apr 25 19:12 CHANGELOG.md
drwxr-xr-x 2 root root 4.0K Apr 25 19:12 testutil
-rwxr-xr-x 1 root root 1.2K Apr 25 19:12 run_in_docker.sh
drwxr-xr-x 5 root root 4.0K Apr 25 19:12 integration
-rw-r--r-- 1 root root 20K Apr 25 19:12 README.md
-rw-r--r-- 1 root root 1020 Apr 25 19:12 Gopkg.toml
-rw-r--r-- 1 root root 33K Apr 25 19:12 Gopkg.lock
So I want to use ansible to change the ownership of /usr/share/kaniko and its contents to jenkins
So this is what ive done
- name: Fix /usr/share/kaniko permissions.
file:
path: /usr/share/kaniko
owner: jenkins
group: jenkins
recurse: yes
If I omit recurse: yes, the ownership of the folder only changes and not its contents. But when I use recurse: yes, I get :
TASK [kaniko : Fix /usr/share/kaniko permissions.] *****************************
An exception occurred during task execution. To see the full traceback, use -vvv. The error was: OSError: [Errno 36] File name too long: '/usr/share/kaniko/vendor/github.com/coreos/etcd/cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../raft/raftpb/raft.pb.go'
fatal: [localhost]: FAILED! => {"changed": false, "module_stderr": "Traceback (most recent call last):\n File \"/root/.ansible/tmp/ansible-tmp-1556219696.49-253376871940545/AnsiballZ_file.py\", line 113, in \n _ansiballz_main()\n File \"/root/.ansible/tmp/ansible-tmp-1556219696.49-253376871940545/AnsiballZ_file.py\", line 105, in _ansiballz_main\n invoke_module(zipped_mod, temp_path, ANSIBALLZ_PARAMS)\n File \"/root/.ansible/tmp/ansible-tmp-1556219696.49-253376871940545/AnsiballZ_file.py\", line 48, in invoke_module\n imp.load_module('main', mod, module, MOD_DESC)\n File \"/tmp/ansible_file_payload_DACkt8/main.py\", line 885, in \n File \"/tmp/ansible_file_payload_DACkt8/main.py\", line 871, in main\n File \"/tmp/ansible_file_payload_DACkt8/main.py\", line 593, in ensure_directory\n File \"/tmp/ansible_file_payload_DACkt8/main.py\", line 310, in recursive_set_attributes\n File \"/tmp/ansible_file_payload_DACkt8/main.py\", line 310, in recursive_set_attributes\n File \"/tmp/ansible_file_payload_DACkt8/main.py\", line 310, in recursive_set_attributes\n File \"/tmp/ansible_file_payload_DACkt8/main.py\", line 310, in recursive_set_attributes\n File \"/tmp/ansible_file_payload_DACkt8/main.py\", line 310, in recursive_set_attributes\n File \"/tmp/ansible_file_payload_DACkt8/main.py\", line 310, in recursive_set_attributes\n File \"/tmp/ansible_file_payload_DACkt8/main.py\", line 310, in recursive_set_attributes\n File \"/tmp/ansible_file_payload_DACkt8/main.py\", line 310, in recursive_set_attributes\n File \"/tmp/ansible_file_payload_DACkt8/main.py\", line 310, in recursive_set_attributes\n File \"/tmp/ansible_file_payload_DACkt8/main.py\", line 310, in recursive_set_attributes\n File \"/tmp/ansible_file_payload_DACkt8/main.py\", line 310, in recursive_set_attributes\n File \"/tmp/ansible_file_payload_DACkt8/main.py\", line 310, in recursive_set_attributes\n File \"/tmp/ansible_file_payload_DACkt8/main.py\", line 310, in recursive_set_attributes\n File \"/tmp/ansible_file_payload_DACkt8/main.py\", line 310, in recursive_set_attributes\n File \"/tmp/ansible_file_payload_DACkt8/main.py\", line 310, in recursive_set_attributes\n File \"/tmp/ansible_file_payload_DACkt8/main.py\", line 310, in recursive_set_attributes\n File \"/tmp/ansible_file_payload_DACkt8/main.py\", line 310, in recursive_set_attributes\n File \"/tmp/ansible_file_payload_DACkt8/main.py\", line 310, in recursive_set_attributes\n File \"/tmp/ansible_file_payload_DACkt8/main.py\", line 310, in recursive_set_attributes\n File \"/tmp/ansible_file_payload_DACkt8/main.py\", line 310, in recursive_set_attributes\n File \"/tmp/ansible_file_payload_DACkt8/main.py\", line 310, in recursive_set_attributes\n File \"/tmp/ansible_file_payload_DACkt8/main.py\", line 310, in recursive_set_attributes\n File \"/tmp/ansible_file_payload_DACkt8/main.py\", line 310, in recursive_set_attributes\n File \"/tmp/ansible_file_payload_DACkt8/main.py\", line 310, in recursive_set_attributes\n File \"/tmp/ansible_file_payload_DACkt8/main.py\", line 310, in recursive_set_attributes\n File \"/tmp/ansible_file_payload_DACkt8/main.py\", line 310, in recursive_set_attributes\n File \"/tmp/ansible_file_payload_DACkt8/main.py\", line 310, in recursive_set_attributes\n File \"/tmp/ansible_file_payload_DACkt8/main.py\", line 310, in recursive_set_attributes\n File \"/tmp/ansible_file_payload_DACkt8/main.py\", line 310, in recursive_set_attributes\n File \"/tmp/ansible_file_payload_DACkt8/main.py\", line 310, in recursive_set_attributes\n File \"/tmp/ansible_file_payload_DACkt8/main.py\", line 310, in recursive_set_attributes\n File \"/tmp/ansible_file_payload_DACkt8/main.py\", line 310, in recursive_set_attributes\n File \"/tmp/ansible_file_payload_DACkt8/main.py\", line 310, in recursive_set_attributes\n File \"/tmp/ansible_file_payload_DACkt8/main.py\", line 310, in recursive_set_attributes\n File \"/tmp/ansible_file_payload_DACkt8/main.py\", line 310, in recursive_set_attributes\n File \"/tmp/ansible_file_payload_DACkt8/main.py\", line 310, in recursive_set_attributes\n File \"/tmp/ansible_file_payload_DACkt8/main.py\", line 310, in recursive_set_attributes\n File \"/tmp/ansible_file_payload_DACkt8/main.py\", line 310, in recursive_set_attributes\n File \"/tmp/ansible_file_payload_DACkt8/main.py\", line 310, in recursive_set_attributes\n File \"/tmp/ansible_file_payload_DACkt8/main.py\", line 310, in recursive_set_attributes\n File \"/tmp/ansible_file_payload_DACkt8/main.py\", line 310, in recursive_set_attributes\n File \"/tmp/ansible_file_payload_DACkt8/main.py\", line 310, in recursive_set_attributes\n File \"/tmp/ansible_file_payload_DACkt8/main.py\", line 310, in recursive_set_attributes\n File \"/tmp/ansible_file_payload_DACkt8/main.py\", line 310, in recursive_set_attributes\n File \"/tmp/ansible_file_payload_DACkt8/main.py\", line 310, in recursive_set_attributes\n File \"/tmp/ansible_file_payload_DACkt8/main.py\", line 310, in recursive_set_attributes\n File \"/tmp/ansible_file_payload_DACkt8/main.py\", line 310, in recursive_set_attributes\n File \"/tmp/ansible_file_payload_DACkt8/main.py\", line 310, in recursive_set_attributes\n File \"/tmp/ansible_file_payload_DACkt8/main.py\", line 310, in recursive_set_attributes\n File \"/tmp/ansible_file_payload_DACkt8/main.py\", line 310, in recursive_set_attributes\n File \"/tmp/ansible_file_payload_DACkt8/main.py\", line 310, in recursive_set_attributes\n File \"/tmp/ansible_file_payload_DACkt8/main.py\", line 310, in recursive_set_attributes\n File \"/tmp/ansible_file_payload_DACkt8/main.py\", line 310, in recursive_set_attributes\n File \"/tmp/ansible_file_payload_DACkt8/main.py\", line 310, in recursive_set_attributes\n File \"/tmp/ansible_file_payload_DACkt8/main.py\", line 310, in recursive_set_attributes\n File \"/tmp/ansible_file_payload_DACkt8/main.py\", line 310, in recursive_set_attributes\n File \"/tmp/ansible_file_payload_DACkt8/main.py\", line 310, in recursive_set_attributes\n File \"/tmp/ansible_file_payload_DACkt8/main.py\", line 310, in recursive_set_attributes\n File \"/tmp/ansible_file_payload_DACkt8/main.py\", line 310, in recursive_set_attributes\n File \"/tmp/ansible_file_payload_DACkt8/main.py\", line 310, in recursive_set_attributes\n File \"/tmp/ansible_file_payload_DACkt8/main.py\", line 310, in recursive_set_attributes\n File \"/tmp/ansible_file_payload_DACkt8/main.py\", line 310, in recursive_set_attributes\n File \"/tmp/ansible_file_payload_DACkt8/main.py\", line 310, in recursive_set_attributes\n File \"/tmp/ansible_file_payload_DACkt8/main.py\", line 310, in recursive_set_attributes\n File \"/tmp/ansible_file_payload_DACkt8/main.py\", line 310, in recursive_set_attributes\n File \"/tmp/ansible_file_payload_DACkt8/main.py\", line 310, in recursive_set_attributes\n File \"/tmp/ansible_file_payload_DACkt8/main.py\", line 310, in recursive_set_attributes\n File \"/tmp/ansible_file_payload_DACkt8/main.py\", line 310, in recursive_set_attributes\n File \"/tmp/ansible_file_payload_DACkt8/main.py\", line 310, in recursive_set_attributes\n File \"/tmp/ansible_file_payload_DACkt8/main.py\", line 310, in recursive_set_attributes\n File \"/tmp/ansible_file_payload_DACkt8/main.py\", line 310, in recursive_set_attributes\n File \"/tmp/ansible_file_payload_DACkt8/main.py\", line 310, in recursive_set_attributes\n File \"/tmp/ansible_file_payload_DACkt8/main.py\", line 310, in recursive_set_attributes\n File \"/tmp/ansible_file_payload_DACkt8/main.py\", line 310, in recursive_set_attributes\n File \"/tmp/ansible_file_payload_DACkt8/main.py\", line 310, in recursive_set_attributes\n File \"/tmp/ansible_file_payload_DACkt8/main.py\", line 310, in recursive_set_attributes\n File \"/tmp/ansible_file_payload_DACkt8/main.py\", line 310, in recursive_set_attributes\n File \"/tmp/ansible_file_payload_DACkt8/main.py\", line 310, in recursive_set_attributes\n File \"/tmp/ansible_file_payload_DACkt8/main.py\", line 310, in recursive_set_attributes\n File \"/tmp/ansible_file_payload_DACkt8/main.py\", line 310, in recursive_set_attributes\n File \"/tmp/ansible_file_payload_DACkt8/main.py\", line 310, in recursive_set_attributes\n File \"/tmp/ansible_file_payload_DACkt8/main.py\", line 310, in recursive_set_attributes\n File \"/tmp/ansible_file_payload_DACkt8/main.py\", line 310, in recursive_set_attributes\n File \"/tmp/ansible_file_payload_DACkt8/main.py\", line 310, in recursive_set_attributes\n File \"/tmp/ansible_file_payload_DACkt8/main.py\", line 310, in recursive_set_attributes\n File \"/tmp/ansible_file_payload_DACkt8/main.py\", line 310, in recursive_set_attributes\n File \"/tmp/ansible_file_payload_DACkt8/main.py\", line 310, in recursive_set_attributes\n File \"/tmp/ansible_file_payload_DACkt8/main.py\", line 310, in recursive_set_attributes\n File \"/tmp/ansible_file_payload_DACkt8/main.py\", line 310, in recursive_set_attributes\n File \"/tmp/ansible_file_payload_DACkt8/main.py\", line 310, in recursive_set_attributes\n File \"/tmp/ansible_file_payload_DACkt8/main.py\", line 310, in recursive_set_attributes\n File \"/tmp/ansible_file_payload_DACkt8/main.py\", line 310, in recursive_set_attributes\n File \"/tmp/ansible_file_payload_DACkt8/main.py\", line 310, in recursive_set_attributes\n File \"/tmp/ansible_file_payload_DACkt8/main.py\", line 310, in recursive_set_attributes\n File \"/tmp/ansible_file_payload_DACkt8/main.py\", line 310, in recursive_set_attributes\n File \"/tmp/ansible_file_payload_DACkt8/main.py\", line 310, in recursive_set_attributes\n File \"/tmp/ansible_file_payload_DACkt8/main.py\", line 310, in recursive_set_attributes\n File \"/tmp/ansible_file_payload_DACkt8/main.py\", line 310, in recursive_set_attributes\n File \"/tmp/ansible_file_payload_DACkt8/main.py\", line 310, in recursive_set_attributes\n File \"/tmp/ansible_file_payload_DACkt8/main.py\", line 310, in recursive_set_attributes\n File \"/tmp/ansible_file_payload_DACkt8/main.py\", line 310, in recursive_set_attributes\n File \"/tmp/ansible_file_payload_DACkt8/main.py\", line 310, in recursive_set_attributes\n File \"/tmp/ansible_file_payload_DACkt8/main.py\", line 310, in recursive_set_attributes\n File \"/tmp/ansible_file_payload_DACkt8/main.py\", line 310, in recursive_set_attributes\n File \"/tmp/ansible_file_payload_DACkt8/main.py\", line 310, in recursive_set_attributes\n File \"/tmp/ansible_file_payload_DACkt8/main.py\", line 310, in recursive_set_attributes\n File \"/tmp/ansible_file_payload_DACkt8/main.py\", line 310, in recursive_set_attributes\n File \"/tmp/ansible_file_payload_DACkt8/main.py\", line 310, in recursive_set_attributes\n File \"/tmp/ansible_file_payload_DACkt8/main.py\", line 310, in recursive_set_attributes\n File \"/tmp/ansible_file_payload_DACkt8/main.py\", line 310, in recursive_set_attributes\n File \"/tmp/ansible_file_payload_DACkt8/main.py\", line 310, in recursive_set_attributes\n File \"/tmp/ansible_file_payload_DACkt8/main.py\", line 310, in recursive_set_attributes\n File \"/tmp/ansible_file_payload_DACkt8/main.py\", line 310, in recursive_set_attributes\n File \"/tmp/ansible_file_payload_DACkt8/main.py\", line 310, in recursive_set_attributes\n File \"/tmp/ansible_file_payload_DACkt8/main.py\", line 310, in recursive_set_attributes\n File \"/tmp/ansible_file_payload_DACkt8/main.py\", line 310, in recursive_set_attributes\n File \"/tmp/ansible_file_payload_DACkt8/main.py\", line 310, in recursive_set_attributes\n File \"/tmp/ansible_file_payload_DACkt8/main.py\", line 310, in recursive_set_attributes\n File \"/tmp/ansible_file_payload_DACkt8/main.py\", line 310, in recursive_set_attributes\n File \"/tmp/ansible_file_payload_DACkt8/main.py\", line 310, in recursive_set_attributes\n File \"/tmp/ansible_file_payload_DACkt8/main.py\", line 310, in recursive_set_attributes\n File \"/tmp/ansible_file_payload_DACkt8/main.py\", line 310, in recursive_set_attributes\n File \"/tmp/ansible_file_payload_DACkt8/main.py\", line 310, in recursive_set_attributes\n File \"/tmp/ansible_file_payload_DACkt8/main.py\", line 310, in recursive_set_attributes\n File \"/tmp/ansible_file_payload_DACkt8/main.py\", line 310, in recursive_set_attributes\n File recursive_set_attributes\n File \"/tmp/ansible_file_payload_DACkt8/main.py\", line 310, in recursive_set_attributes\n File \"/tmp/ansible_file_payload_DACkt8/main.py\", line 310, in recursive_set_attributes\n File \"/tmp/ansible_file_payload_DACkt8/main.py\", line 310, in recursive_set_attributes\n File \"/tmp/ansible_file_payload_DACkt8/main.py\", line 310, in recursive_set_attributes\n File \"/tmp/ansible_file_payload_DACkt8/main.py\", line 310, in recursive_set_attributes\n File \"/tmp/ansible_file_payload_DACkt8/main.py\", line 310, in recursive_set_attributes\n File \"/tmp/ansible_file_payload_DACkt8/main.py\", line 294, in recursive_set_attributes\n File \"/tmp/ansible_file_payload_DACkt8/ansible_file_payload.zip/ansible/module_utils/basic.py\", line 1541, in set_fs_attributes_if_different\n File \"/tmp/ansible_file_payload_DACkt8/ansible_file_payload.zip/ansible/module_utils/basic.py\", line 1193, in set_owner_if_different\n File \"/tmp/ansible_file_payload_DACkt8/ansible_file_payload.zip/ansible/module_utils/basic.py\", line 1088, in user_and_group\nOSError: [Errno 36] File name too long: '/usr/share/kaniko/vendor/github.com/coreos/etcd/cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/../cmd/
What am I missing here ?
It looks like there is a circular link on your filesystem. By default, Ansible follows all symlinks when you have recurse: true. You probably want to set follow: false:
- name: Fix /usr/share/kaniko permissions.
file:
path: /usr/share/kaniko
owner: jenkins
group: jenkins
recurse: true
follow: false
If you'd like more detail, consider this simple example. Create a directory named topdir, cd into it, and then create a link named topdir to ..:
mkdir topdir
cd topdir
ln -s .. topdir
Now, try this:
cd topdir
Or this:
cd topdir/topdir
Or this:
cd topdir/topdir/topdir/topdir/topdir/topdir/topdir/topdir
That is what Ansible has encountered (and this is why many tools by default do not follow symlinks).
Related
docker flask service is exited with code 3 in windows machine
I'm getting following message while executing docker-compose up in windows machine. But the code is working good in Mac machine. Is this error specific to windows machine.? -vue-1 | - Building for production... -neo4j-1 | 2022-04-02 19:44:04.451+0000 INFO Starting... -flask-1 | [2022-04-02 19:44:05 +0000] [7] [INFO] Starting gunicorn 20.0.4 -flask-1 | [2022-04-02 19:44:05 +0000] [7] [INFO] Listening at: http://0.0.0.0:5000 (7) -flask-1 | [2022-04-02 19:44:05 +0000] [7] [INFO] Using worker: eventlet -flask-1 | [2022-04-02 19:44:05 +0000] [9] [INFO] Booting worker with pid: 9 -flask-1 | [2022-04-02 19:44:05 +0000] [9] [ERROR] Exception in worker process -flask-1 | Traceback (most recent call last): -flask-1 | File "/usr/local/lib/python3.8/site-packages/gunicorn/arbiter.py", line 583, in spawn_worker -flask-1 | worker.init_process() -flask-1 | File "/usr/local/lib/python3.8/site-packages/gunicorn/workers/geventlet.py", line 99, in init_process -flask-1 | super().init_process() -flask-1 | File "/usr/local/lib/python3.8/site-packages/gunicorn/workers/base.py", line 119, in init_process -flask-1 | self.load_wsgi() packages/gunicorn/workers/base.py", line 144, in load_wsgi -flask-1 | self.wsgi = self.app.wsgi() -flask-1 | File "/usr/local/lib/python3.8/site-packages/gunicorn/app/base.py", line 67, in wsgi -flask-1 | self.callable = self.load() -flask-1 | File "/usr/local/lib/python3.8/site-packages/gunicorn/app/wsgiapp.py", line 49, in load -flask-1 | return self.load_wsgiapp() -flask-1 | File "/usr/local/lib/python3.8/site-packages/gunicorn/app/wsgiapp.py", line 39, in load_wsgiapp -flask-1 | return util.import_app(self.app_uri) -flask-1 | File "/usr/local/lib/python3.8/site-packages/gunicorn/util.py", line 358, in import_app -flask-1 | mod = importlib.import_module(module) -flask-1 | File "/usr/local/lib/python3.8/importlib/__init__.py", line 127, in import_module -flask-1 | return _bootstrap._gcd_import(name[level:], package, level) -flask-1 | File "<frozen importlib._bootstrap>", line 1014, in _gcd_import -flask-1 | File "<frozen importlib._bootstrap>", line 991, in _find_and_load -flask-1 | File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked -flask-1 | File "<frozen importlib._bootstrap>", line 671, in _load_unlocked -flask-1 | File "<frozen importlib._bootstrap_external>", line 783, in exec_module -flask-1 | File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed -flask-1 | File "/app/flask/app.py", line 1, in <module> -flask-1 | from flask import Flask -flask-1 | File "/usr/local/lib/python3.8/site-packages/flask/__init__.py", line 14, in <module> -flask-1 | from jinja2 import escape -flask-1 | ImportError: cannot import name 'escape' from 'jinja2' (/usr/local/lib/python3.8/site-packages/jinja2/__init__.py) -flask-1 | [2022-04-02 19:44:05 +0000] [9] [INFO] Worker exiting (pid: 9) -flask-1 | [2022-04-02 19:44:05 +0000] [7] [INFO] Shutting down: Master -flask-1 | [2022-04-02 19:44:05 +0000] [7] [INFO] Reason: Worker failed to b docker-compose up I want to machine flask service up
A new release of jinja 3.1 has caused some issues, try locking to a stable version. Try adding to requirments.txt jinja2==3.0.3
How to evaluate eagerly a sequence coming from grep in Raku?
I don't understand how laziness / eagerness works in Raku. More precisely how to force eagerness. I get that Infinite List are lazy. What I don't understand is that some List that have an end are lazy, and why the eager method doesn't work in my case. I have this example raku -e 'say (1..*).grep({ .is-prime })[^100]' which works fine when I want to obtain the first 100 elements. But when I want more, say 200, I can't manage to get these 200 elements. I know I can iterate over them with a for loop. Like this raku -e 'for (1..*).grep({ .is-prime })[0..200] { .say }' raku -e '.say for (1..*).grep({ .is-prime })[0..200]' What I want to do is get the elements with the same functional syntax as above. (the one without the for loop) I tried those but none works raku -e 'say (1..*).grep({ .is-prime })[^200].eager' raku -e 'say (1..*).grep({ .is-prime })[eager ^200]' raku -e 'say eager (1..*).grep({ .is-prime })[^200]' raku -e 'say (1..*).grep({ .is-prime })[0..200].eager' raku -e 'say (1..*).grep({ .is-prime })[eager 0..200]' raku -e 'say eager (1..*).grep({ .is-prime })[0..200]' Can someone please tell me how to do it ?
This has nothing todo with grep or eager, but everything to do with the .gist method that creates a string representation of an object, and which is called by say. Since gists are intended for human consumption, they are intentionally not always complete: of Iterables, .gist only shows the first 100 elements: my #a = ^100; say #a; # [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99] my #a = ^101; say #a; # [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 ...] There are various solutions: you could use put instead of say, which will call the Str method, which generally will show all elements: my #a = ^101; put #a; # 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 Or if you want to get a technically correct representation, you can call the .raku method: my #a = ^101; say #a.raku; # [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100] So, to get back to your examples: put (1..*).grep({ .is-prime })[^200]; # 2 3 5 7 11 13 17 19 23 29 31 37 41 43 47 53 59 61 67 71 73 79 83 89 97 101 103 107 109 113 127 131 137 139 149 151 157 163 167 173 179 181 191 193 197 199 211 223 227 229 233 239 241 251 257 263 269 271 277 281 283 293 307 311 313 317 331 337 347 349 353 359 367 373 379 383 389 397 401 409 419 421 431 433 439 443 449 457 461 463 467 479 487 491 499 503 509 521 523 541 547 557 563 569 571 577 587 593 599 601 607 613 617 619 631 641 643 647 653 659 661 673 677 683 691 701 709 719 727 733 739 743 751 757 761 769 773 787 797 809 811 821 823 827 829 839 853 857 859 863 877 881 883 887 907 911 919 929 937 941 947 953 967 971 977 983 991 997 1009 1013 1019 1021 1031 1033 1039 1049 1051 1061 1063 1069 1087 1091 1093 1097 1103 1109 1117 1123 1129 1151 1153 1163 1171 1181 1187 1193 1201 1213 1217 1223 say (1..*).grep({ .is-prime })[^200].raku; # (2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53, 59, 61, 67, 71, 73, 79, 83, 89, 97, 101, 103, 107, 109, 113, 127, 131, 137, 139, 149, 151, 157, 163, 167, 173, 179, 181, 191, 193, 197, 199, 211, 223, 227, 229, 233, 239, 241, 251, 257, 263, 269, 271, 277, 281, 283, 293, 307, 311, 313, 317, 331, 337, 347, 349, 353, 359, 367, 373, 379, 383, 389, 397, 401, 409, 419, 421, 431, 433, 439, 443, 449, 457, 461, 463, 467, 479, 487, 491, 499, 503, 509, 521, 523, 541, 547, 557, 563, 569, 571, 577, 587, 593, 599, 601, 607, 613, 617, 619, 631, 641, 643, 647, 653, 659, 661, 673, 677, 683, 691, 701, 709, 719, 727, 733, 739, 743, 751, 757, 761, 769, 773, 787, 797, 809, 811, 821, 823, 827, 829, 839, 853, 857, 859, 863, 877, 881, 883, 887, 907, 911, 919, 929, 937, 941, 947, 953, 967, 971, 977, 983, 991, 997, 1009, 1013, 1019, 1021, 1031, 1033, 1039, 1049, 1051, 1061, 1063, 1069, 1087, 1091, 1093, 1097, 1103, 1109, 1117, 1123, 1129, 1151, 1153, 1163, 1171, 1181, 1187, 1193, 1201, 1213, 1217, 1223) Fortunately, there's a shorter way to get the .raku representation: dd dd (1..*).grep({ .is-prime })[^200]; # (2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53, 59, 61, 67, 71, 73, 79, 83, 89, 97, 101, 103, 107, 109, 113, 127, 131, 137, 139, 149, 151, 157, 163, 167, 173, 179, 181, 191, 193, 197, 199, 211, 223, 227, 229, 233, 239, 241, 251, 257, 263, 269, 271, 277, 281, 283, 293, 307, 311, 313, 317, 331, 337, 347, 349, 353, 359, 367, 373, 379, 383, 389, 397, 401, 409, 419, 421, 431, 433, 439, 443, 449, 457, 461, 463, 467, 479, 487, 491, 499, 503, 509, 521, 523, 541, 547, 557, 563, 569, 571, 577, 587, 593, 599, 601, 607, 613, 617, 619, 631, 641, 643, 647, 653, 659, 661, 673, 677, 683, 691, 701, 709, 719, 727, 733, 739, 743, 751, 757, 761, 769, 773, 787, 797, 809, 811, 821, 823, 827, 829, 839, 853, 857, 859, 863, 877, 881, 883, 887, 907, 911, 919, 929, 937, 941, 947, 953, 967, 971, 977, 983, 991, 997, 1009, 1013, 1019, 1021, 1031, 1033, 1039, 1049, 1051, 1061, 1063, 1069, 1087, 1091, 1093, 1097, 1103, 1109, 1117, 1123, 1129, 1151, 1153, 1163, 1171, 1181, 1187, 1193, 1201, 1213, 1217, 1223) dd calls .raku on whatever it is given, and also collects some extra debugging information when possible, and prints that on STDERR.
Laravel Method filter does not exist when updating 5.1 to 5.2
I am getting this error while updating Laravel 5.1 to 5.2. BadMethodCallException in Macroable.php line 74: Method filter does not exist any help ? here is stack trace BadMethodCallException in Macroable.php line 74: Method filter does not exist. in Macroable.php line 74 at Router->__call('filter', array('auth', object(Closure))) in Facade.php line 219 at Router->filter('auth', object(Closure)) in Facade.php line 219 at Facade::__callStatic('filter', array('auth', object(Closure))) in RouteServiceProvider.php line 56 at Route::filter('auth', object(Closure)) in RouteServiceProvider.php line 56 at RouteServiceProvider->boot(object(Router)) at call_user_func_array(array(object(RouteServiceProvider), 'boot'), array(object(Router))) in Container.php line 507 at Container->call(array(object(RouteServiceProvider), 'boot')) in Application.php line 757 at Application->bootProvider(object(RouteServiceProvider)) in Application.php line 740 at Application->Illuminate\Foundation\{closure}(object(RouteServiceProvider), '18') at array_walk(array(object(EventServiceProvider), object(RoutingServiceProvider), object(AuthServiceProvider), object(CookieServiceProvider), object(DatabaseServiceProvider), object(EncryptionServiceProvider), object(FilesystemServiceProvider), object(FoundationServiceProvider), object(PaginationServiceProvider), object(SessionServiceProvider), object(ViewServiceProvider), object(LaravelPushNotificationServiceProvider), object(ImageServiceProvider), object(BarcodeServiceProvider), object(CloudderServiceProvider), object(AppServiceProvider), object(ConfigServiceProvider), object(EventServiceProvider), object(RouteServiceProvider)), object(Closure)) in Application.php line 741 at Application->boot() in BootProviders.php line 17 at BootProviders->bootstrap(object(Application)) in Application.php line 203 at Application->bootstrapWith(array('Illuminate\Foundation\Bootstrap\DetectEnvironment', 'Illuminate\Foundation\Bootstrap\LoadConfiguration', 'Illuminate\Foundation\Bootstrap\ConfigureLogging', 'Illuminate\Foundation\Bootstrap\HandleExceptions', 'Illuminate\Foundation\Bootstrap\RegisterFacades', 'Illuminate\Foundation\Bootstrap\RegisterProviders', 'Illuminate\Foundation\Bootstrap\BootProviders')) in Kernel.php line 232 at Kernel->bootstrap() in Kernel.php line 127 at Kernel->sendRequestThroughRouter(object(Request)) in Kernel.php line 99 at Kernel->handle(object(Request)) in index.php line 53
From the stack trace I got this Route::filter('auth', object(Closure)) in RouteServiceProvider.php line 56? So check your RouteServiceProvider.php file in line number 56. You have a filter call. Update it with the v5.2 code. That should fix your issue.
FatalThrowableError in Encrypter.php line 73: Call to undefined function openssl_encrypt()
I bought a script (radio web portal) which use Laravel framework but I have the following error : FatalThrowableError in Encrypter.php line 73: Call to undefined function openssl_encrypt() in Encrypter.php line 73 at Encrypter->encrypt('msDJBCdI0hnJ95VuR6dnHo4jmZwo13AVVcb2FNEq') in EncryptCookies.php line 131 at EncryptCookies->encrypt(object(Response)) in EncryptCookies.php line 59 at EncryptCookies->handle(object(Request), object(Closure)) in Pipeline.php line 137 at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in Pipeline.php line 33 at Pipeline->Illuminate\Routing\{closure}(object(Request)) in Pipeline.php line 104 at Pipeline->then(object(Closure)) in Router.php line 644 at Router->runRouteWithinStack(object(Route), object(Request)) in Router.php line 618 at Router->dispatchToRoute(object(Request)) in Router.php line 596 at Router->dispatch(object(Request)) in Kernel.php line 267 at Kernel->Illuminate\Foundation\Http\{closure}(object(Request)) in Pipeline.php line 53 at Pipeline->Illuminate\Routing\{closure}(object(Request)) in Debugbar.php line 51 at Debugbar->handle(object(Request), object(Closure)) in Pipeline.php line 137 at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in Pipeline.php line 33 at Pipeline->Illuminate\Routing\{closure}(object(Request)) in CheckForMaintenanceMode.php line 46 at CheckForMaintenanceMode->handle(object(Request), object(Closure)) in Pipeline.php line 137 at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in Pipeline.php line 33 at Pipeline->Illuminate\Routing\{closure}(object(Request)) in Pipeline.php line 104 at Pipeline->then(object(Closure)) in Kernel.php line 149 at Kernel->sendRequestThroughRouter(object(Request)) in Kernel.php line 116 at Kernel->handle(object(Request)) in index.php line 53 in Encrypter.php line 73 at Encrypter->encrypt('a:5: {s:6:"_token";s:40:"msDJBCdI0hnJ95VuR6dnHo4jmZwo13AVVcb2FNEq";s:9:"_previous";a:1:{s:3:"url";s:47:"http://localhost/sito2/radiowebportal/index.php";}s:22:"PHPDEBUGBAR_STACK_DATA";a:0:{}s:9:"_sf2_meta";a:3:{s:1:"u";i:1526184338;s:1:"c";i:1526184338;s:1:"l";s:1:"0";}s:6:"_flash";a:2:{s:3:"old";a:0:{}s:3:"new";a:0:{}}}') in EncryptedStore.php line 57 at EncryptedStore->prepareForStorage('a:5:{s:6:"_token";s:40:"msDJBCdI0hnJ95VuR6dnHo4jmZwo13AVVcb2FNEq";s:9:"_previous";a:1:{s:3:"url";s:47:"http://localhost/sito2/radiowebportal/index.php";}s:22:"PHPDEBUGBAR_STACK_DATA";a:0:{}s:9:"_sf2_meta";a:3:{s:1:"u";i:1526184338;s:1:"c";i:1526184338;s:1:"l";s:1:"0";}s:6:"_flash";a:2:{s:3:"old";a:0:{}s:3:"new";a:0:{}}}') in Store.php line 262 at Store->save() in StartSession.php line 88 at StartSession->terminate(object(Request), object(Response)) in Kernel.php line 176 at Kernel->terminate(object(Request), object(Response)) in index.php line 58
First make sure you installed the openssl extension (spotted by deceze), then: Go to your php.ini file Remove the semicolon before extension=php_openssl.dll Restart your Apache I'm expecting this to be the problem.
Maximum function nesting level when not authenticated
From a fresh install on L2, basic auth, no change. I trying to add some simple route, no auth needed. Route "/no-auth" works for both logged in and out. But route "/starter/my-needs", that uses a controller, works only if logged in. My question is : Why do I get "Maximum function nesting level when not authenticated". It seems something around the Guest() method turning around... Here is the controller: use App\Http\Controllers\Controller; /** * FindMyBank path action. */ class FindMyBankController extends Controller { /** * * #return \Illuminate\View\View|\Illuminate\Contracts\View\Factory */ function showMyNeeds() { return view('front/findMyBank/FR/myNeeds', array( )); }//method } Here the route : Route::get('/', function () { return view('front/welcome/welcome'); }); Route::get('/no-auth', function () { return view('front/findMyBank/FR/myNeeds', array( )); }); Route::group(['prefix' => '/starter'], function () { Route::get('/my-needs', 'FindMyBank\FindMyBankController#showMyNeeds'); }); Route::auth(); Traces: FatalErrorException in ClassLoader.php line 314: Maximum function nesting level of '100' reached, aborting! in ClassLoader.php line 314 at FatalErrorException->__construct() in HandleExceptions.php line 133 at HandleExceptions->fatalExceptionFromError() in HandleExceptions.php line 118 at HandleExceptions->handleShutdown() in HandleExceptions.php line 0 at ClassLoader->loadClass() in ClassLoader.php line 0 at spl_autoload_call() in ClassLoader.php line 22 in ClassLoader.php line 412 at Composer\Autoload\includeFile() in ClassLoader.php line 301 at ClassLoader->loadClass() in ClassLoader.php line 0 at spl_autoload_call() in ClassLoader.php line 12 in ClassLoader.php line 412 at Composer\Autoload\includeFile() in ClassLoader.php line 301 at ClassLoader->loadClass() in ConnectionFactory.php line 0 at spl_autoload_call() in ConnectionFactory.php line 217 at ConnectionFactory->createConnection() in ConnectionFactory.php line 64 at ConnectionFactory->createSingleConnection() in ConnectionFactory.php line 49 at ConnectionFactory->make() in DatabaseManager.php line 176 at DatabaseManager->makeConnection() in DatabaseManager.php line 68 at DatabaseManager->connection() in Model.php line 3293 at Model::resolveConnection() in Model.php line 3259 at Model->getConnection() in Model.php line 1880 at Model->newBaseQueryBuilder() in Model.php line 1853 at Model->newQueryWithoutScopes() in Model.php line 1823 at Model->newQuery() in EloquentUserProvider.php line 47 at EloquentUserProvider->retrieveById() in SessionGuard.php line 132 at SessionGuard->user() in GuardHelpers.php line 49 at SessionGuard->check() in GuardHelpers.php line 59 at SessionGuard->guest() in AuthManager.php line 292 at call_user_func_array:{C:\wamp\www\bebankable\vendor\laravel\framework\src\Illuminate\Auth\AuthManager.php:292}() in AuthManager.php line 292 at AuthManager->__call() in Facade.php line 215 at AuthManager->guest() in Facade.php line 215 at Facade::__callStatic() in 48fdfc9cae67647c36e6877d2cf03c700242912f.php line 56 at Auth::guest() in 48fdfc9cae67647c36e6877d2cf03c700242912f.php line 56 in PhpEngine.php line 42 at PhpEngine->evaluatePath() in CompilerEngine.php line 59 at CompilerEngine->get() in View.php line 149 at View->getContents() in View.php line 120 at View->renderContents() in View.php line 85 at View->render() in a391999563a1000056f17c1ece3bb49d99d7278c.php line 74 in PhpEngine.php line 42 at PhpEngine->evaluatePath() in CompilerEngine.php line 59 at CompilerEngine->get() in View.php line 149 at View->getContents() in View.php line 120 at View->renderContents() in View.php line 85 at View->render() in Response.php line 53 at Response->setContent() in Response.php line 201 at Response->__construct() in Router.php line 1085 at Router->prepareResponse() in ControllerDispatcher.php line 95 at ControllerDispatcher->Illuminate\Routing\{closure}() in Pipeline.php line 52 at call_user_func:{C:\wamp\www\bebankable\vendor\laravel\framework\src\Illuminate\Routing\Pipeline.php:52}() in Pipeline.php line 52 at Pipeline->Illuminate\Routing\{closure}() in Pipeline.php line 103 at call_user_func:{C:\wamp\www\bebankable\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php:103}() in Pipeline.php line 103 at Pipeline->then() in ControllerDispatcher.php line 96 at ControllerDispatcher->callWithinStack() in ControllerDispatcher.php line 54 at ControllerDispatcher->dispatch() in Route.php line 174 at Route->runController() in Route.php line 140 at Route->run() in Router.php line 724 at Router->Illuminate\Routing\{closure}() in Pipeline.php line 52 at call_user_func:{C:\wamp\www\bebankable\vendor\laravel\framework\src\Illuminate\Routing\Pipeline.php:52}() in Pipeline.php line 52 at Pipeline->Illuminate\Routing\{closure}() in VerifyCsrfToken.php line 64 at VerifyCsrfToken->handle() in Pipeline.php line 136 at call_user_func_array:{C:\wamp\www\bebankable\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php:136}() in Pipeline.php line 136 at Pipeline->Illuminate\Pipeline\{closure}() in Pipeline.php line 32 at call_user_func:{C:\wamp\www\bebankable\vendor\laravel\framework\src\Illuminate\Routing\Pipeline.php:32}() in Pipeline.php line 32 at Pipeline->Illuminate\Routing\{closure}() in ShareErrorsFromSession.php line 49 at ShareErrorsFromSession->handle() in Pipeline.php line 136 at call_user_func_array:{C:\wamp\www\bebankable\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php:136}() in Pipeline.php line 136 at Pipeline->Illuminate\Pipeline\{closure}() in Pipeline.php line 32 at call_user_func:{C:\wamp\www\bebankable\vendor\laravel\framework\src\Illuminate\Routing\Pipeline.php:32}() in Pipeline.php line 32 at Pipeline->Illuminate\Routing\{closure}() in StartSession.php line 64 at StartSession->handle() in Pipeline.php line 136 at call_user_func_array:{C:\wamp\www\bebankable\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php:136}() in Pipeline.php line 136 at Pipeline->Illuminate\Pipeline\{closure}() in Pipeline.php line 32 at call_user_func:{C:\wamp\www\bebankable\vendor\laravel\framework\src\Illuminate\Routing\Pipeline.php:32}() in Pipeline.php line 32 at Pipeline->Illuminate\Routing\{closure}() in AddQueuedCookiesToResponse.php line 37 at AddQueuedCookiesToResponse->handle() in Pipeline.php line 136 at call_user_func_array:{C:\wamp\www\bebankable\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php:136}() in Pipeline.php line 136 at Pipeline->Illuminate\Pipeline\{closure}() in Pipeline.php line 32 at call_user_func:{C:\wamp\www\bebankable\vendor\laravel\framework\src\Illuminate\Routing\Pipeline.php:32}() in Pipeline.php line 32 at Pipeline->Illuminate\Routing\{closure}() in EncryptCookies.php line 59 at EncryptCookies->handle() in Pipeline.php line 136 at call_user_func_array:{C:\wamp\www\bebankable\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php:136}() in Pipeline.php line 136 at Pipeline->Illuminate\Pipeline\{closure}() in Pipeline.php line 32 at call_user_func:{C:\wamp\www\bebankable\vendor\laravel\framework\src\Illuminate\Routing\Pipeline.php:32}() in Pipeline.php line 32 at Pipeline->Illuminate\Routing\{closure}() in Pipeline.php line 103 at call_user_func:{C:\wamp\www\bebankable\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php:103}() in Pipeline.php line 103 at Pipeline->then() in Router.php line 726 at Router->runRouteWithinStack() in Router.php line 699 at Router->dispatchToRoute() in Router.php line 675 at Router->dispatch() in Kernel.php line 246 at Kernel->Illuminate\Foundation\Http\{closure}() in Pipeline.php line 52 at call_user_func:{C:\wamp\www\bebankable\vendor\laravel\framework\src\Illuminate\Routing\Pipeline.php:52}() in Pipeline.php line 52 at Pipeline->Illuminate\Routing\{closure}() in CheckForMaintenanceMode.php line 44 at CheckForMaintenanceMode->handle() in Pipeline.php line 136 at call_user_func_array:{C:\wamp\www\bebankable\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php:136}() in Pipeline.php line 136 at Pipeline->Illuminate\Pipeline\{closure}() in Pipeline.php line 32 at call_user_func:{C:\wamp\www\bebankable\vendor\laravel\framework\src\Illuminate\Routing\Pipeline.php:32}() in Pipeline.php line 32 at Pipeline->Illuminate\Routing\{closure}() in Pipeline.php line 103 at call_user_func:{C:\wamp\www\bebankable\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php:103}() in Pipeline.php line 103 at Pipeline->then() in Kernel.php line 132 at Kernel->sendRequestThroughRouter() in Kernel.php line 99 at Kernel->handle() in index.php line 54 at {main}() in index.php line 0
It seems to be the basic xdebug default limitation, [PHP.ini] xdebug.max_nesting_level = 250 And it's work.