-
Notifications
You must be signed in to change notification settings - Fork 57
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
2.4: Brave Epichrome app instance not loading settings #304
Comments
Take a look at the app bundle. Is it very large? Like close to 500MB? If so, you likely had a crash and it got left activated. Simplest solution is to make sure it's not running, then run the new If that's not it, let me know and we'll keep diagnosing. Logs for 2.4 are in the same place as 2.3 ( |
Did as you suggested and ran Is there a chance to have Epichrome Apps (Both Chrome & Brave) run some test at their start that initiates the |
Yeah, in all my testing it's been very reliable in cleaning up after itself unless there's a system crash, and I've had very few bug reports from others that weren't connected to some kind of crash. If it happens regularly on your system, it might be worth keeping an eye on it to see if you can discern what could be causing it. As for having apps run a check at startup, there's no way to do that with the new 2.4 architecture, because the engine gets swapped into the app itself. That's why I created Now that you've confirmed this is what's going on, lets move this discussion to issue #202. Duplicate of #202 |
I guess my thought is thus: is it possible to add ( Otherwise, yes, I'll report any results I observe in the other ticket. |
It's a little hard to describe why, but there's no test I can have the app do on startup, because if the app has been left activated, it is literally not the app any more, it's just the underlying browser engine with different icons. That's why when you run it, it opens a generic browser with all your sessions gone--it thinks it's the real Chrome or Brave. In the long run there may be some kind of monitor process I could leave running, but I hate to have Epichrome leave extra processes running all the time, and (aside from yours) these kinds of reports seem to always be connected with rare events like system crashes... |
Hmm, I'm having a very hard time coming to grips with why a filesystem based flag file could not fulfill the necessary role here in if set at start since it would remain in the app's folder through execution and even remain upon a crash, whereas with a successful exit it could be removed. I thought that an Epichrome script remained running during a browser's lifetime in some fashion for each Epi-app, especially since a bash instance seems to be spawned by each Epi-app... |
Yes, the launch script remains running during the browser's lifetime, and as soon as the browser quits, that launch script is supposed to clean it up and put itself back into the app bundle. But if it crashes before the browser (as must be what's happened on your system), then it can't do that. Thus the next time you try to run the app, the launch script does not run. A filesystem-based flag wouldn't help this situation because when an app is left in a bad state, you're not actually running your app, just the browser. |
Just wanted to say thanks for pointing me to the scan app - very helpful in resurrecting my installs post upgrade. If other folks are having trouble where apps aren't behaving separately as nice little sandboxes, running |
FYI: I am consistently running into these instances where Scan has to be executed essentially 1-3 times a day at this point with Epichrome apps being corrupted. No machine crashes, just keeps happening. The worst thing going on is that there's no seeming rhyme or reason as to when this happens since I'm just quitting Epi'apps and sometimes there's a problem and sometimes there's not. |
Interesting observation: so far I've been able to reproduce the application I'm reporting in this ticket (#303) restarting without retaining its settings and a Scan needing to be run on it each time. This of course is one of the apps that does not retain passwords now either. The logs (with debug enabled) before and after running Scan to execute this problem app:
After:
|
I've continued to have this problem more and more. It seems to be becoming repeatable without any actual log entries. I've given up at this point on actual Chrome instances of Epichrome and moving entirely to Brave. Brave restores username/password saving functionality for each browser that I edit to use Brave instead. This is unfortunate since a couple of my browsers actually need to be Chrome proper, but such is life at present... |
I really suspect something on your system is interfering with the main launcher/monitor processes, which are what restore an app after it quits. Can you think of any nonstandard core Unix tools or anything you might have installed in the default paths? (For example, if Epichrome was somehow using the wrong version of |
Not that I can think of. |
At present, here are all the tools being invoked in Epichrome and its apps:
|
Thank you for sharing this list. Things have remained a bit over the top work wise, but the only differential I found here is that while |
I'm having a strange issue with one of my Epichrome App Brave browsers. Recently, I updated the browser to 2.4.0. It worked well for a day or two, but now I'm suddenly getting a vanilla Brave window whenever I startup the browser. I have no bookmarks, history, extensions, nothing. Totally empty.
What's weird is that when I went into the
~/Library/Application Support/Epichrome/Apps/MyBrowser
folder, I noticed that the data for the browser is still there. I can still see myHistory
file, plus my extensions, and other settings. But I have no idea why I'm getting an empty browser even though all the data is there. I tried looking under theLogs
folder and I'm not seeing any errors in there. Is there another location I can look in to get a clue about what's going on? Where are logs in 2.4?I tried to execute the app from the shell, but there doesn't appear to be much useful info as to why the settings aren't loading:
The text was updated successfully, but these errors were encountered: