Avast WEBforum

Consumer Products => Avast Mac Security => Topic started by: REDACTED on December 04, 2017, 01:01:12 AM

Title: [FIXED] Avast Installation FAILING - OSX 10.12.6
Post by: REDACTED on December 04, 2017, 01:01:12 AM
Hi guys,

I am having a weird issue reinstalling Avast Security for Mac since I was unable to update the program yesterday. So I uninstalled Avast via the uninstaller and cleaned all caches and leftovers with Onyx.

Then I wanted to do a fresh and clean new installation of Avast Security which is not possible anymore and the installer always ends with the error message "The installation failed. The installer encountered an error that caused the installation to fail. Contact software manufacturer for assistance." (See attached screenshot).

After closing this error message of the installer, I've seen that Avast has been installed but I am unable to use it because it tells me it can't connect to the Avast server and the update functions are being greyed out (see also attached screenshots). I double checked my firewall (Little Snitch) and none of the Avast connections are blocked and all have access to the internet.

I already googled around and it seems some other folks also have this issue but I did not find a solve for it yet.

I am running OSX 10.12.6

Really clueless on how to solve this and every help is appreciated!




Title: Re: Avast Installation FAILING - OSX 10.12.6
Post by: lukas.hasik on December 04, 2017, 09:58:25 AM
@hanser - could you send also some logs? Either via "Help > Technical Support > Generate Support Package", or look for log starting with "avast" in /tmp directory.
Title: Re: Avast Installation FAILING - OSX 10.12.6
Post by: REDACTED on December 05, 2017, 06:31:50 AM
Stupid question...where do I find the log files?

When I "Generate support Package" I can't see any logs....
Title: Re: Avast Installation FAILING - OSX 10.12.6
Post by: lukas.hasik on December 05, 2017, 11:44:57 AM
you have to submit the feedback to let the AV upload a zip file with logs and your comments to our servers.
The logs are collected from various directories - all /tmp/avast*.log files, some avast config files, etc.
The support package zip file (as we call it) appears in /tmp/support_pkg before you send it.

However I just realized that the package might not be send because it look that the avast service is not running.
Could you collect them manually? Start "Terminal", then "cd /tmp", "zip LOGS avast*", and send me the LOGS.zip that will appear in /tmp directory, please.
Title: Re: Avast Installation FAILING - OSX 10.12.6
Post by: REDACTED on December 05, 2017, 03:17:17 PM
Sorry for the noob question, but where exactly do I find the tmp folder with the zip fiel in it on OSX?
Title: Re: Avast Installation FAILING - OSX 10.12.6
Post by: lukas.hasik on December 05, 2017, 03:53:28 PM
1) via terminal
press CMD+SPACE and type "terminal", ENTER
then type "cd /tmp", ENTER
you can list files in this directory with "ls"

2) via Finder - probably more convenient as you want to send the zipped logs to me
open Finder, then "Go > Go to Folder..." and type "/tmp"
it will open the /tmp directory, add files starting with avast as attachment to an email and send it to me (hasik at avast dot com)

THX!

Title: Re: Avast Installation FAILING - OSX 10.12.6
Post by: REDACTED on December 06, 2017, 04:06:37 AM
Just sent you an email with the log file.

Thanks for your help Hasik!
Title: Re: Avast Installation FAILING - OSX 10.12.6
Post by: REDACTED on December 08, 2017, 12:40:45 PM
I have the same issue on 10.13.1, please see extract from system log:

Dec  8 10:26:04 MacBook com.apple.xpc.launchd[1] (com.avast.daemon): This service is defined to be constantly running and is inherently inefficient.
Dec  8 10:26:04 MacBook com.avast.daemon[11183]: Starting daemon.
Dec  8 10:26:04 MacBook sam[11231]: SecureLine installation failed
Dec  8 10:26:05 MacBook sam[11261]: Passwords installation failed
Dec  8 10:26:05 MacBook sam[11335]: Cleanup installation failed
Dec  8 10:26:06 MacBook com.avast.submit[11346]: Invalid version format: bd0cfa0883e5-13.1
Dec  8 10:26:08 MacBook com.avast.daemon[11183]: Loaded VPS #17120800
Dec  8 10:26:08 MacBook com.apple.xpc.launchd[1] (com.avast.service): This service is defined to be constantly running and is inherently inefficient.
Dec  8 10:26:08 MacBook com.avast.service[11384]: sock_connect_unix_socket: connect(/Library/Application Support/Avast/run/wifiguard.sock) failed: No such file or directory
Dec  8 10:26:08 MacBook com.avast.service[11384]: WifiGuardNotifier: failed to connect
Dec  8 10:26:10 MacBook com.apple.xpc.launchd[1] (com.avast.proxy): This service is defined to be constantly running and is inherently inefficient.
Dec  8 10:26:10 MacBook com.avast.proxy[11413]: Starting daemon.
Dec  8 10:26:10 MacBook com.avast.proxy[11413]: Error connecting to service socket: connect(): /Library/Application Support/Avast/run/service.sock: No such file or directory
Dec  8 10:26:10 --- last message repeated 1 time ---
Dec  8 10:26:10 MacBook com.apple.xpc.launchd[1] (com.apple.preference.displays.MirrorDisplays): Service only ran for 0 seconds. Pushing respawn out by 10 seconds.
Dec  8 10:26:11 MacBook com.avast.proxy[11413]: swquery.apple.com:https: nodename nor servname provided, or not known
Dec  8 10:26:11 MacBook com.avast.daemon[11183]: License error: /Library/Application Support/Avast/config/license.avastlic: No such file or directory
Dec  8 10:26:11 MacBook com.avast.service[11384]: sock_connect_unix_socket: connect(/Library/Application Support/Avast/run/wifiguard.sock) failed: No such file or directory
Dec  8 10:26:11 MacBook com.avast.service[11384]: WifiGuardNotifier: failed to connect
Dec  8 10:26:11 MacBook com.apple.xpc.launchd[1] (com.avast.fileshield): This service is defined to be constantly running and is inherently inefficient.
Dec  8 10:26:11 MacBook com.avast.fileshield[11477]: fs:  Starting daemon
Dec  8 10:26:11 MacBook com.avast.fileshield[11477]: fs:  config_load: ini_read() failed [-1]. Will use defaults.
Dec  8 10:26:12 MacBook com.apple.xpc.launchd[1] (com.apple.security.cloudkeychainproxy3[11479]): Service exited with abnormal code: 1
Dec  8 10:26:12 MacBook com.apple.xpc.launchd[1] (com.apple.security.cloudkeychainproxy3): Service only ran for 0 seconds. Pushing respawn out by 10 seconds.
Dec  8 10:26:12 MacBook com.apple.xpc.launchd[1] (com.avast.account[11486]): Could not find and/or execute program specified by service: 2: No such file or directory: /Library/Application Support/components/account/com.avast.account-sync
Dec  8 10:26:12 MacBook com.apple.xpc.launchd[1] (com.avast.account[11486]): Service setup event to handle failure and will not launch until it fires.
Dec  8 10:26:12 MacBook com.apple.xpc.launchd[1] (com.avast.wifiguard): This service is defined to be constantly running and is inherently inefficient.
Dec  8 10:26:14 MacBook com.apple.xpc.launchd[1] (com.apple.quicklook[11514]): Endpoint has been activated through legacy launch(3) APIs. Please switch to XPC or bootstrap_check_in(): com.apple.quicklook
Dec  8 10:26:15 MacBook com.avast.fileshield[11477]: fs:  Stopping File Shield...
Title: Re: Avast Installation FAILING - OSX 10.12.6
Post by: REDACTED on December 10, 2017, 09:49:15 AM
I still could not solve the issue, despite of trying several things.

It seems like the installer/program is unable to connect to "http://mac-av.u.avcdn.net/mac-av/10_9/vps9/vps9.lat" for some reason.

However using any Browser or Terminal is able to connect to the above without any problems.

Reading through the forum and other forums in the web it seems I am not the only one with the problem.

Really clueless, please if anybody has a solve for this let me know. Otherwise I have to switch to a different Antivirus Program on OSX moving forward.

Thanks!

Title: Re: Avast Installation FAILING - OSX 10.12.6
Post by: REDACTED on December 10, 2017, 10:17:27 AM
Wow, just tried AVG AntiVir for Mac and it is also NOT able to connect to the Avast servers.

Wondering if there is an issue with the servers?

Please AV team solve this, otherwise we unfortunately have to chose another AV program.
Title: Re: Avast Installation FAILING - OSX 10.12.6
Post by: ondrej.kolacek on December 12, 2017, 07:04:05 PM
Hello,
since that operation is done after elevation, there could be something wrong with the root environment. Could you please run shell as root and try the download afterwards? Eg. run these in a terminal:

sudo su -
curl -fsvSL --connect-timeout 30 http://mac-av.u.avcdn.net/mac-av/10_9/vps9/vps9.lat

Please post the output of the command here if you can.
Kind regards,
Ondrej Kolacek
Title: Re: Avast Installation FAILING - OSX 10.12.6
Post by: REDACTED on December 13, 2017, 05:49:48 AM
Hi Ondrej,

I did this already as your colleague Lukas asked me to do this already via email and I sent him the Terminal log 2 days ago.

However I did not hear back from him yet but would love to hear how to solve this.

In the meantime I am using a different AV.
 
Title: Re: Avast Installation FAILING - OSX 10.12.6
Post by: ondrej.kolacek on December 13, 2017, 09:47:41 AM
Hi Ondrej,

I did this already as your colleague Lukas asked me to do this already via email and I sent him the Terminal log 2 days ago.

However I did not hear back from him yet but would love to hear how to solve this.

In the meantime I am using a different AV.
Hello,
I know you have sent the logs, Lukas Hasik has received them, however since the download command is not run in verbose mode in our script, the log output does not give us any details about why the connect attempt failed. The command I have posted could potentially give us more details about what could be wrong.
EDIT: Sorry, I have missread your answer. The difference between what Lukas asked you to run and this is that this time you run it as root; we are suspecting that something is wrong with the root's environment.
Kind regards,
Ondrej Kolacek
Title: Re: Avast Installation FAILING - OSX 10.12.6
Post by: REDACTED on December 14, 2017, 02:36:15 AM
Thanks Ondrej,

I did sent the new logs using
"sudo su -
curl -fsvSL --connect-timeout 30 http://mac-av.u.avcdn.net/mac-av/10_9/vps9/vps9.lat"

this morning as well as a screenshot of the Proxy settings.
Title: Re: Avast Installation FAILING - OSX 10.12.6
Post by: REDACTED on January 22, 2018, 06:55:31 AM
I'm having exactly the same problem. Any resolution yet?
Title: Re: Avast Installation FAILING - OSX 10.12.6
Post by: REDACTED on January 22, 2018, 10:02:09 AM
Same here on 10.13.2. Installation failed. Thank God I haven't bought the premium before trying.
Title: Re: Avast Installation FAILING - OSX 10.12.6
Post by: REDACTED on January 22, 2018, 01:21:43 PM
Yup, same problem for me. Just reinstalled my osx (10.13.2) and can't install Avast. Or it looks like it is since the next time I start the install it says that Avast is already installed but I can't find it or start it.
Title: Re: Avast Installation FAILING - OSX 10.12.6
Post by: ondrej.kolacek on January 22, 2018, 01:32:04 PM
Hello,

we are currently having a problem with installation - unfortunately we had a bug in our release process of scanning engine which caused an incomplete engine to be deployed for download. The client detect this and ignores it, however this causes install to fail. We are working on fixing this, hopefully it should be fixed soon. Please try to install Avast a bit later (NOTE: you may need to delete avast directory via command
rm -rf "/Library/Application Support/Avast"
before trying that to get rid of the "avast already installed" error and to progress further through the installation).

The issue discussed in this thread originally is not relevant to this issue.

We appologize for the inconvenience.

Kind regards,
Ondrej Kolacek
Title: Re: Avast Installation FAILING - OSX 10.12.6
Post by: lukas.hasik on January 22, 2018, 11:06:55 PM
1) issue with update reported by greg00001, vordme34, naesstrom has been fixed some hours ago. There was an old bug in our deployment process that unfortunately showed up this weekend. It caused that an incomplete virus definitions update appeared on update server. Installation + update process should be working again.
2) All AV clients will update their virus definitions to the latest ones automatically(except those who turned on manual update). They were receiving Streaming updates with most critical updates in meanwhile.
3) just for record - hanser's issue hasn't been isolated. It magically disappeared==it's working for him again.
4) issue with corrupted installation of AV after error in install process mentioned by @ondrej.kolacek will be fixed in the next product update

Thank you for sharing your experience with us! We are doing our best to address your feedback to avoid similar inconveniences in future.
Lukas
Title: Re: [FIXED] Avast Installation FAILING - OSX 10.12.6
Post by: jmorgan2 on May 08, 2018, 05:15:03 PM
I am having the same issue as Hanser. Running 10.13.4. Any solution?

Thanks,
Jon
Title: Re: [FIXED] Avast Installation FAILING - OSX 10.12.6
Post by: lukas.hasik on May 09, 2018, 02:57:59 PM
I am having the same issue as Hanser. Running 10.13.4. Any solution?

Thanks,
Jon

Is it a permanent issue or just a hiccup of the network (either on our server side or the connection side). Would you mind to verify in the same way as Hanser did, please?
If there is problem with connectivity then it in most cases magically disappears.
Title: Re: [FIXED] Avast Installation FAILING - OSX 10.12.6
Post by: jmorgan2 on May 09, 2018, 03:39:11 PM
Hi Lukas,

Just emailed you the logs.

Thank you,
Jon
Title: Re: [FIXED] Avast Installation FAILING - OSX 10.12.6
Post by: jmorgan2 on May 14, 2018, 08:18:02 PM
And to answer your question (apologies for not doing so originally), this appears to be a permanent issue.

Thanks,
Jon
Title: Re: [FIXED] Avast Installation FAILING - OSX 10.12.6
Post by: lukas.hasik on May 15, 2018, 02:49:49 PM
jmorgan2, we analyzed the logs. And the installer is from March 2016! Where did you downloaded your installer from?

Would you mind to try the latest one? https://www.avast.com/download-thank-you.php?product=MAC-FREE-ONLINE
Please let me know that it works with the new one. UPDATE : thank you for confirming that it works fine with the latest installer.
Lukas.


And to answer your question (apologies for not doing so originally), this appears to be a permanent issue.

Thanks,
Jon