Comments (14)
Fixed! Added it to tag 1.0.7.
Thanks for letting me know! This one just really slipped trough
from laravel-deploy-helper.
Great! Good to know. I guess I have to write some tests for the future.
Thanks for helping with the package, hope you like it 👍
Cheers,
Ramon
from laravel-deploy-helper.
I am having the same problem, I think the problem is with the Deployer::freshInit method (The file is created, but it is filled later in the code). And when it needs to be filled, the .lock file already exist, so the execution is stopped...
from laravel-deploy-helper.
Hi!
I shall take a look into this one, It's quite weird.
Give me a moment to reproduce this problem
Edit 1:
Found the bug! Thanks for reporting.
from laravel-deploy-helper.
You're most welcome.
Thanks
from laravel-deploy-helper.
Let me know if you run into other trouble ;-)
from laravel-deploy-helper.
I run into another error:
..........
[[email protected]] (production) The compiled services file has been removed.
[production] Linking new release to /current directory and removing temp
[ErrorException]
Undefined variable: toRemove
Nevertheless the app was deployed.
One question: the .env file is not copied to the deploy app, we have to create one?
Thanks
from laravel-deploy-helper.
On the first deploy you have to manually create your .env (because it needs to be filled with your personal information) and the next following releases it will be copied over to the latest deployment
On the [ErrorException] Undefined variable: toRemove
part, I will take a look on that one too. Give me a moment ;-)
from laravel-deploy-helper.
Also with that error the .ldh-lockfile is not deleted, and cannot deploy another version.
Have to remove it manually
Also when deploy a new version:
[production] Trying to login into remote SSH
[production] Reading config file from remote server
[production] Found config. Checking directories.
**[production] Config file is empty... Something is wrong.**
The json config file is still empty, but it deploys the new version, and return again:
[ErrorException]
Undefined variable: toRemove
from laravel-deploy-helper.
What Laravel version are you using if i may ask?
from laravel-deploy-helper.
5.4.28 - PHP 7.1.5
from laravel-deploy-helper.
Hmm, I've updated LDH to 1.0.9, remove your .ldh-lockfile
and
The Undefined variable: toRemove
should be fixed by now ;-)
from laravel-deploy-helper.
Ok the Undefined variable: toRemove
error is fixed, still getting:
[production] Config file is empty... Something is wrong.
error
App is deployed.
from laravel-deploy-helper.
So I erased everything from the production server and start over.
Made 2 deployments, no errors! :)
I think you can close this issue.
If I run into more troubles, I let you know.
from laravel-deploy-helper.
Related Issues (2)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from laravel-deploy-helper.