Jump to content
Not connected, Your IP: 216.73.216.45
Kevig

ANSWERED Eddie losing settings on startup

Recommended Posts

hello all,

i got the following problem.
i use air vpn with eddie on a pc i use as server in my network.
the server (pc) is started and stopped remotely by a raspberry pi.
the pi checks is there are any pc online who needs the server.
If he finds one or more he starts the server, if there are none he stops the server.
the pi does so by pressing the server on/off button for 0.2 sec
this starts the server, and shut down the server
only when the server hangs the pi uses a forced shutdown by pressing the key for 5 sec
this works fine, but there is a problem
eddie loses his settings.
for example the "dont ask elevation every run" setting or the "exit conformation prompt"
this causes the server to wait for me to go there and click on the "yes" button, making the whole remote thing useless
after eddie loses the setting, only reinstalling helps, sometimes i need to uninstall completely and reinstalling
who has a solution for this?
 

Share this post


Link to post
@Kevig

Hello!

Which Eddie version are you running? Can you test Eddie 2.25 beta (if you haven't already done so) and check whether the same problem occurs?
https://airvpn.org/forums/topic/79305-eddie-desktop-edition-225-beta-released/
 
16 hours ago, Kevig said:

the pi does so by pressing the server on/off button for 0.2 sec
this starts the server, and shut down the server


Is the server OS capable to manage the ACPI hardware event triggered by pushing the on/off button? For example a Linux server fully supporting the underlying BIOS is able to catch the event and start a graceful shutdown (typically via acpid or systemd-logind), and this should ensure that Eddie exits cleanly. What is the OS of the server? Does the problem occur even when the shutdown is properly performed?

Kind regards
 

Share this post


Link to post

hello,
i am running 2.24.6

i think the problem is indeed the shutting down.
when the server is shutting down i can see the busy circle moving before it closes down, so it is not doing a "forced" shutdown.
But i think it isn't shutting down the same way as a software shutdown either.

i will try the beta release and let you know
 

Share this post


Link to post
24 minutes ago, Kevig said:

hello,
i am running 2.24.6

i think the problem is indeed the shutting down.
when the server is shutting down i can see the busy circle moving before it closes down, so it is not doing a "forced" shutdown.
But i think it isn't shutting down the same way as a software shutdown either.

i will try the beta release and let you know
 


Hello!

In Windows 11, by default "Fast Startup" is enabled, so pressing briefly the on/off button when the machine is on will cause an Hybrid Shutdown + Partial Hibernation. In turn, this causes multiple problems (not only to Eddie). If Fast Startup is enabled, please disable it and test whether the problem disappears. Also make sure that Eddie's setting available in the Preferences > UI window, "Ask confirmation at exit", is NOT checked.

NOTE: long pressing the on/off button will cause a power outage and therefore possible corruption of files and file system, so this should be avoided at all costs.

Kind regards

 

Share this post


Link to post

i tried the beta, no difference.
but it seems it wont hold the settings even after a normal shutdown.
i have now removed the entire program, deleted the airvpn/eddie  directories and reinstalled the beta
i have also removed the fast startup option
now i am going to do a new set of trails

the program will only press the on/off button for 0.2 sec, shorter than i could do by hand
i timed the shutdown time on while pressing the shutdown option and the (short) keypress.
They are the same, so it looks like the (short) keypress initiates a "normal"shutdown

Share this post


Link to post

Hello,

it seems the fast startup did the trick.
i just 8 button pressed on/off sequences and it went fine.
before i couldn't do more than two without the loss of settings.
i can notice some longer startup and shutdown time, but not very much, at least not something to think about.
thank you for your help

for the record:
when the trouble happens, 2 out of 3 times a simple re-install worked to solve the problem.
1 out of 3 times, only a complete removal of eddie (on all locations)
i also tried out the long button press, it seems to give less trouble than the short button press with fast startup enabled.

as long as i worked with windows, the sleep/hybernate cr** gave troubles.
 

Share this post


Link to post

no, i cant use wake on lan.
i would mean the server (pc) won't power down but enters a sleepstate instead.
that in turn means the server would still consume power, processes may be stopped (or not), the server must "lower shields/firewall" to be able to accept the WOL and so on.
in the past i have had a lot of bad experiences with these powerstates, often with startup troubles or, like now, damaged files.
so for me this solutions works most reliable, i use a ping and read the powerled to see if the server is on.
i connected the power switch and power led trough an optocoupler so there is no physical connection between the server and raspberry pi.
the pi checks every 3 minutes if there are any pc online and the state of the server.
if there is no pc online and the server is on, the pi shuts the server down
if there is one or more pc online and the server is offline the pi starts the server
no need for changing windows settings (with the risk windows rolls back my settings after an update), simple careless operation
same reason i dont use the remote shutdown command, sounds easy, but requires setting up the access to that service on the server in windows and in the firewall.
 

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Security Check
    Play CAPTCHA Audio
    Refresh Image

×
×
  • Create New...