I suspect that wscript.shell needs a user context instead of service.
Posts made by theopenem_admin
-
RE: Non-working shortcut when created via Toec
-
RE: 1.5.6 detected as virus
It's correct. There is no virus. It's because Toec can elevate and impersonate users but obviously that's intentional. It's used for the new Winget functionality. The virus scanner is complaining about this file.
https://github.com/jdolny/Toec/blob/master/Toec-Services/ServiceRunAs.cs
-
RE: Adding support for WinGet
It runs as machine scope unless the trigger is set to login. I haven't been able to get it to run any other way. You should be able to set the scope in the override field, but I still haven't been able to get it to work.
-
RE: Having multiple servers
If it's the only database that's running on there, then it really doesn't matter.
-
RE: Having multiple servers
Definitely seems related to storage location. Anything in the application log?
-
RE: Having multiple servers
5 is fine, really any number other than an error message. It's just your checkin time.
-
RE: Having multiple servers
Also, I'm just an old school kinda guy. Not really interested in containers or newer tech.
-
RE: Having multiple servers
@tyler
I agree it would be nice. When Theopenem was CloneDeploy and I supported both Windows and Linux it just became too much to support as each OS had their own issues and about 90% of my users were installing on Windows anyway. I haven't ruled out the move completely but I don't believe that imaging / management will be needed for too much longer into the future anyway, but I guess we'll see. -
RE: Having multiple servers
@tyler said in Having multiple servers:
There needs to be a single database(?)
Correct, only 1 database.
Does every Toems API node need it's own Toec API node?
No, they are independent
Does every Toems API node need it's own WebUI node?
No, they are independent
Is it possible to have more than one storage location?
There can only be 1 SMB storage total. If you are using local storage, each com server can only have 1 local storage location, if you setup an additional com server, it can also have it's own local storage, which could be an iscsi target.
Does anything in the config.web files need to be duplicated to link with the additional nodes?
Yes, the database connection string and encryption key
Is Theopenem able to run on ASP.NET Core?
No, it's a complete rewrite to move to .NET core. I was planning on doing this, but as time goes by and Theopenem remains limited in popularity, it's really not worth investing the time in this move. I'll probably just ride out .NET 4.8 for as long as possible, Microsoft still hasn't even announced an EOL for it, so it should be good for a while.
What is the intended use of having multiple clusters?
It gives you control for which computers communicate with specific clusters. For example, if you wanted to put a com server in a specific building and only have the computers in that building communicate with that server, that's how you would do it.
Is there a load balancing feature already?
Yes, adding more than 1 com server to a cluster automatically enables load balancing if they are both set to active
When I copy the production database to the new installation, it is larger (original: 49.8MiB, copy: 53.9MiB, the difference appears to be primarily in computer_logs, audit_logs, state, job, and jobparameter. Is this normal?
I have no idea why it would be larger.
There is a video titled multiple com servers that you can watch for reference. It's slightly more complicated than what's needed for most people because it ties together 2 networks that can't talk to each other, but the concepts remain the same.
-
RE: Message module question
I tried your script, I set it as a condition for a login policy and it works fine for me. However, there is an issue with the message modules when set to run with a login policy, it looks like I only set it up to work with checkin/startup policies, and it results in the toec-ui crashing. That is most likely why you are seeing the error you posted, it indicates that toec-ui is not running. I'll need to fix this in the next release.
-
RE: Language Files Don't Copy Correctly
The encoding used for zip extraction is UTF-8, is there any chance your zip package is not zipped using UTF-8?
-
RE: Unable to download core scripts
Are you logging in with the default admin user, if so make a new user.
-
RE: Winget import
I'll see if I can make a guide for this since others have also asked.
-
RE: Winget import
Yea there is a ton of files, if your computer isn't good with random reads /writes I can see how this could take a while. After the import is done, the data gets deleted. Takes about 10 minutes for me on nvme.
-
RE: Winget import
Seems like the previous import was still running and couldn't download the file as it was still being unzipped, that is a long time though. Does that path have any data in it?
-
RE: Unable to Deploy Image - Error Determining HDD Space
switch your pxe bootloader to ipxe