lazylion_ca

joined 1 year ago
[–] lazylion_ca@lemmy.ca 8 points 23 hours ago (4 children)

I create /data and mount my 2nd drive there using fstab.

I then mount /data/downloads under my user downloads folder so everything goes to my 2nd drive. That way I dont have to redownload anything if I redo my main drive.

[–] lazylion_ca@lemmy.ca 31 points 1 week ago (10 children)

What purpose is served by having AI built-in to the browser?

[–] lazylion_ca@lemmy.ca 3 points 1 week ago

Not that I know personally, but Whitney Cummings and other comediens use onlyfans.

[–] lazylion_ca@lemmy.ca 18 points 4 weeks ago (1 children)

Whats the point? When do I need this information?

Bring on the 13x28 calender and end the madness.

[–] lazylion_ca@lemmy.ca 1 points 1 month ago* (last edited 1 month ago) (1 children)

Skip the ssl error message. I log into IP addresses all day and that flag is sanity saving.

[–] lazylion_ca@lemmy.ca 4 points 1 month ago (1 children)

What about un-Googled Chromium?

[–] lazylion_ca@lemmy.ca 1 points 1 month ago

12
24
36
48
60
72 + 2
74

[–] lazylion_ca@lemmy.ca 2 points 3 months ago (1 children)

How much pressure? Is the bulb pressurized or the smaller tube? Is it normal air or something specific like nitrogen?

[–] lazylion_ca@lemmy.ca 1 points 3 months ago

Ok, what about them?

 
[–] lazylion_ca@lemmy.ca 1 points 3 months ago

Bring a collapsible cup and fill it ay the water fountain or any sink.

[–] lazylion_ca@lemmy.ca 6 points 4 months ago

At least they are in alphabetical order.

[–] lazylion_ca@lemmy.ca 4 points 4 months ago* (last edited 4 months ago)

Don't let your emotions rule you.

I'm also fond of a line from The Matrix: There is no spoon.

 

A Taco Bell finally opened up where I live, and we are going to go try it tonight. What should I try and what should I avoid?

Of course I know I should try another restaurant and avoid Taco Bell, that's too obvious, but what is life without a little Adventure.

201
submitted 5 months ago* (last edited 5 months ago) by lazylion_ca@lemmy.ca to c/pics@lemmy.world
 
 
 
 

Not necessarily your favorite, but something you recently discovered or rediscovered.

 

Hi all

I have an Alpine container on Proxmox that we use as a Zabbix Proxy. On it there is a PHP script (no web server). When I ssh in with my normal user account and run the PHP from cli, it works great. When I su to user root (for testing) it works fine. But when I su to user zabbix, I get:
Class "PhpOffice\PhpSpreadsheet\Spreadsheet" not found

This a problem because it will be Zabbix that triggers the script once a day. I get the same error whether zabbix triggers the script, or I trigger it from cli.

I have other ash, php, and python scripts on the proxy that run just fine when Zabbix triggers them.

The require statements at the top of the script don't throw an error:
require $folder . "/phpSpreadsheet/vendor/autoload.php"; use PhpOffice\PhpSpreadsheet\Spreadsheet; use PhpOffice\PhpSpreadsheet\Writer\Xlsx;

The error happens farther down when it creates a new spreadsheet in memory: $spreadsheet = new Spreadsheet();

I had to use Composer to install the phpSpreadsheet library. I was getting a bunch of file & folder permissions errors but I'm certain I've covered that as this is not a file permissions error. I even reran composer as the zabbix user to check for permissions.

From googling I've found that the zabbix user is a "service account" as opposed to a user account. I used "su zabbix -s /bin/ash" get a cli going so I could test running the script directly. Running env shows that the Zabbix user's HOME directory is "/dev/null" Beyond that I'm not sure what differences there are between the accounts, or what would prevent a php class from loading.

Any help is welcome. Thanks.

 

Free to read all you want in-house, but if you want to take some home, you gotta pony up for that card.

Fortunately the card was usually cheap.

 

Suncor is replacing employee computers after a cybersecurity incident last week shut down debit and credit processing at Petro-Canada gas stations across the country, among a series of other security measures at the Calgary-based company.

"Normally you wouldn't expect hardware to be compromised so fully that you need to replace everything,"

view more: next ›