-
Notifications
You must be signed in to change notification settings - Fork 161
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Uninstalling valet #115
Comments
Something like this should be in the documentation:
|
Maybe valet should have some kind of install migrations. So for every installation step, save a script somewhere that ondoes it? |
What steps should be taken for Ubuntu 18.04? I notice some of those steps different in 18.04. |
@cjlaborde Should still be the same.. nothing changed networking-wise. |
Thank you Dakira. Here steps I followed are they ok? I am stuck in step 5.
(File name changed) 2.remove valet-specific settings in /etc/NetworkManager/{conf.d,dnsmasq.d}a. /etc/NetworkManager/dnsmasq.d
|
@cjlaborde sorry, but explaining Ubuntu package management goes beyond what we can do here. Install synaptic and use that to search for dnsmasq and you will see the installed packages. |
@dakira Thanks mate! I was experiencing the same issue awhile ago and your solution helped me, I am running ubuntu 18.04. @cjlaborde as per step 5, just simply run sudo apt remove dnsmasq. Do not worry about dnsmasq-base it won't be deleted, and also a tip if you are having trouble with locating directories from your package you could always run in the terminal: whereis (package or file name) |
Thank you darika and j0131n manage to finally remove valet from my system! and get my internet back to normal. The where the whole issue is at this file resolv.conf To follow step 5. Uninstall dnsmasq through synapic |
@cjlaborde looks like you missed my step4 which caused your problem. |
@dakira Thanks for this! To be honest, this should somehow be part of the package.
|
I'd like to add that in my case (Ubuntu 18.10), I had to re-enable
Now, everything seems to be back to normal. |
Great you got it resolved, I almost had to reinstall the entire Distro do to this issue.. |
Closing this issue as it seems to be resolved. |
My solution:
|
@ladsoftware If you have any issues just post them here, no need to be sarcastic. |
This issue is not resolved. On Ubuntu 19.10 it leaves user without access to internet. Also, please keep in mind, the very reason people are using Valet - is to get an easy start. There should be a clear warning to a user, that after running |
I added a new section in the documentation for this problem. Note that I use Manjaro and not Ubuntu, therefore I can not test problems with Ubuntu. |
@bergstar As Ubuntu 19.10 hasn't even been released, yet, I would assume that beta-testers also know how to fix their own network stack. That aside, My checklist above still works for 19.04 (just tried it). |
@dakira I am on Ubuntu 19.04 running natively on my machine alongside windows. I'm also ending up without any internet connection after following those steps. When I try to ping it goes "Temporary failure in name resolution". |
@mwkcoding My steps are not a step by step solution. In Point I hint at checking the status of systemd-resolved. It that's not running, you need to run and enable it. Seems like that wasn't clear. Check out the updated documentation. |
You are god🔥. Thanks mate🤘 |
The uninstall instructions still seem to be unclear to some, so I updated them once again (PR waiting). |
worked for me |
I had the same issue even after following all the above steps. But luckily I found this youtube video and it was able to fix my issue. However, at Ubuntu 22.04
add below content.
restart NetworkManager |
This whole thing is insanely ridiculous |
Hi, this place is for reporting problems. What exactly are your problems? Are the uninstall instructions insufficient? @asertym |
Restart or killing this processes is missing, else the resolv.conf file will be relinked .... root 2074 0.0 0.0 2700 32 ? S Sep14 0:00 inotifywait -q -m -e modify -e create -e delete --format %w%f /run/NetworkManager /opt/valet-linux/custom-nameservers |
For me after So I had to additionally remove valet-dns service:
only after that problem was solved |
Thank you, @haidarzhy !! Team, please update the instructions at https://cpriego.github.io/valet-linux/#uninstalling. And as others have mentioned above in this issue, also consider warning people during the installation (and/or making the overall setup less error-prone). I haven't used valet-linux for years and forgot all about it. Then I upgraded my Ubuntu installation recently and lost my internet connection every time I woke the computer from sleep. I wasted a whole day on this problem. I'm so thankful that I finally found this answer from @haidarzhy here! Thank you! I think my problem is solved now! P.S. I think these were some (but not all) of the commands that I needed:
|
Hey. I will try this on some blank Linux installs and update the documentation as soon as I get back from holidays. Thanks for the info @haidarzhy and @ryancwalsh. Maybe we can get this into the uninstall command. |
One more small step is to remove php-fpm pool valet.conf so you don’t have additional php processes running. |
From a philosophical standpoint, I believe that if a program installs something, it should remove 100 % of this stuff during uninstall. To not delete leftovers is so Windows-like :-) |
Even after the last steps I had a weird problem: DNS lookup for new websites took 30 seconds, after some research I found not working nameservers in I someone has better ideas how to clean resolv.conf, share please here. I'm ok with these warnings though |
We need a clear path or docs on how to get back to the state pre-valet. I just upgraded my Ubuntu from 17.04 to 17.10 and have absolutely no idea on how to get back network connectivity. The uninstall script just breaks (can't find php-fpm configuration) but I happen to know that it would tell me anyway that I need to manually restore my network connectivity.
With previous versions of valet I was easily able to undo the changes. Now I'm really not sure what valet has done and how to undo it.
Please read the documentation on uninstalling.
Only if it doesn't help, comment here with the specific steps you've taken and at what point they failed.
The text was updated successfully, but these errors were encountered: