rustyscottweber

Results 19 comments of rustyscottweber
trafficstars

I found a function that might better suite what we need... http://msdn.microsoft.com/en-us/library/windows/desktop/ms682429%28v=vs.85%29.aspx BOOL WINAPI CreateProcessAsUser( _In_opt_ HANDLE hToken, _In_opt_ LPCTSTR lpApplicationName, _Inout_opt_ LPTSTR lpCommandLine, _In_opt_ LPSECURITY_ATTRIBUTES lpProcessAttributes, _In_opt_ LPSECURITY_ATTRIBUTES lpThreadAttributes,...

Looks like this also occurs on ``` nohup ./occ preview:pre-generate & [1] 7301 nohup: ignoring input and appending output to 'nohup.out' root@cloud:~# tail -f ./nohup.out /usr/share/nginx/nextcloud ~ Error: source file...

Looking at the verbose output of either command shows a more interesting tail: ``` 2024-01-19T01:10:39+00:00 Generating previews for /Garth.Weber/files/Documents/GCW Family Documents/MISSIONARY YEARS/021003.msg Error: source file could not be loaded 2024-01-19T01:14:30+00:00...

It would appear that, if left to it's own designs, this bug will cause enough preview generation processes to pile up that it will eventually crash the server. ``` root@cloud:~#...

It turns out that part of the errors here are that I had an outdated cron job running ``` preview:generate-all ``` in stead of ```preview:pre-generate```. I changed my cron job,...

Indeed, part of the issue is that previews are attempted again and again and turning off previews for . Msg files would solve that. How does one disable specific previews?

@mellow2012 , how are you executing the script? What command is in your cronjob?

Do you get the same hang using "preview:pre-generate" multiple times? preview:pre-generate will not allow multiple runs to happen at the same time and I suspect that they now mark failed...

preview:pre-generate will generate it for all, it just won't regenerate or re-attempt on previous failure.