Vagrant synced folder not working during provisioning

I have a shell script that is executed during the first vagrant up command
config.vm.provision “shell”, path: “”
which copies files that are located in /vagrant directory which I transfer to the VM using the synced folder. During the running of the script the files aren’t there, i.e. the synced folder is not working until I shutdown the VM and run the vagrant up command again, after which the synced folder is working and I can find the files in /vagrant directory.

Hey there,
in order to better understand what Vagrant is doing, can you provide a debug log.