I had a little trouble with the WaykBastion server this morning. My login attempts would stop at entering username on the web page. After about half a dozen stops and starts and update modules and reboots I managed to get it working but now I'm having a new problem... sigh. I don't know if it's my setup or what, but there's always something with my server every time I need to use it. Anyway, here's what my current problem is when attempting to expand the containers to get to my client's "machines". Besides the screenshots I attachment the "Generate Report" file.
Hi,
I'm sorry to hear that you got difficulties to setup your server. We will help you with that. First, could you send us your server configuration and the server logs via private message or via support@devolutions.net ?
To get configuration, send us the output of that command
> Get-WaykBastionConfigTo get logs, run this command :
> docker logs den-server > den-server.logAnd send me the file via private message or send it to support@devolutions.net. It should help us to determine what could be the issue.
Best regards,
François Dubois
OK email sent. Here's my config and I sent the log and config via email. FYI, I've tried updating and restarting and rebooting again a few times since and still the same issue.
BTW, I have one more suggestion. Would it be possible to get a direct support link added to the waykbastion web pannel? Something that will allow for automatically submitting configs and logs maybe?
Get-WaykBastionConfig:
DisableTelemetry : False
ExperimentalFeatures : False
ServerExternal : False
MongoExternal : False
TraefikExternal : False
JetExternal : False
PickyExternal : False
LucidExternal : False
NatsExternal : False
RedisExternal : False
Realm : adminsupport.it
ExternalUrl : https://den.adminsupport.it:####
ListenerUrl : https://localhost:4000
ServerMode :
ServerCount : 0
DenServerUrl :
DenRouterUrl :
DenKeepAliveInterval : 0
DenApiKey : XXXXXXXXXXX
ServerImage :
MongoUrl :
MongoVolume :
MongoImage :
TraefikImage :
JetRelayUrl :
JetTcpPort : 0
JetRelayImage :
PickyUrl :
PickyImage :
LucidUrl :
LucidApiKey : XXXXXXXXXXX
LucidImage :
NatsUrl :
NatsUsername :
NatsPassword :
NatsImage :
RedisUrl :
RedisPassword :
RedisImage :
DockerNetwork :
DockerPlatform :
DockerIsolation :
DockerRestartPolicy :
DockerHost :
SyslogServer :
Hi,
I replied via the ticket since you could have to send us private data. But I also reply here since it could help others. Based on log received, it seems to be a database corruption. It can happen if an old version run after an upgrade to the latest version. And this is possible if you installed the powershell module with different users/administrator. When you install the WaykBastion powershell module, it is important to launch the powershell as administrator. The installation has to be done in the program files folder. You can see all versions installed with that command :
> Get-Module WaykBastion -ListAvailable -AllIf you see some versions installed in program files and others in user folder, we suggest to uninstall all versions and reinstall the latest one correctly.
> Stop-WaykBastion
> Uninstall-Module -Name WaykBastion -AllVersion
> Install-Module -Name WaykBastion -Scope AllUsersThis will fix your installation and always the latest version will be loaded so the right version will be launched.
Finally, I keep your suggestion in mind for the logs and we will see how we can do that. For now, next version will have a command `Export-WaykBastionLogs` to create a zip file with all infos. It is not as simple as a click in the web interface, but it will be better than what we have now.
Best regards
François Dubois