Wednesday, February 12, 2020

pve-firmware : Conflicts: firmware-linux-free but 3.4 is to be installed




pve-firmware : Conflicts: firmware-linux-free but 3.4 is to be installed

resolved by

apt remove linux-image-amd64 && apt upgrade

Tuesday, January 14, 2020

Disable two-factor authentication in Proxmox

Given that you still can login, you can in the graphical interface, select Datacenter and click on Permissions followed by Users and then select the user in question.
Click on the button TFA and then the button Delete.

Wednesday, December 11, 2019

Proxmox 6.0-4 remove nag message "No Valid Subscription"




Remove the Proxmox “No Valid Subscription” message 6.0-4


Edit pvemanagerlib.js located at:

/usr/share/pve-manager/js/pvemanagerlib.js

line 39368 (as of writing)

Comment out

Proxmox.Utils.checked_command(function() {}); // display subscription status

So it looks like

// Proxmox.Utils.checked_command(function() {}); // display subscription status

Saturday, May 18, 2019

Can't access Synology admin interface with hostname or domain name.

I came across a situation where i could not access the admin interface using the domain and hostname. Accessing the non admin parts of the NAS with hostname worked, as well as accessing the admin interface by IP numbers.

The solution for me, turned out to be a manual sync with the NTP server  (Control panel - Regional options - Time - Update Now).


Thursday, March 28, 2019

Bacula Fatal error: Authorization key rejected by Storage daemon

Did you just suddenly got this error? Authorization key rejected


Don’t poke around in your config files!

(Unless you really really know you changed something in there)

Chances are that you have a version mismatch, maybe the manager or one of your clients have been updated outside he scope of compatibility.

Check that first, it could save you five minutes, maybe ten.

I had a mismatch with some old Ubuntu and Debian systems and upon concluding that not all involved machines would handle a update, I felt reluctantly forced (or at least mildly indifferent) to downgrade the offending client.

Find what version/s the machines can agree on and find a way to downgrade/upgrade your installations.

In my case (that most likely do not mach your case in versions) it was a matter of adding following in sources.list

Do NOT just blindly copy and paste this
###### Comment out this old repo after downgrading bacula
deb http://se.archive.ubuntu.com/ubuntu/ trusty main



followed by

sudo apt-get update


and then

These exact version are most likely NOT for you.
sudo apt-get install bacula-console=5.2.6+dfsg-9.1ubuntu3 bacula-fd=5.2.6+dfsg-9.1ubuntu3 bacula-common=5.2.6+dfsg-9.1ubuntu3 bacula-client=5.2.6+dfsg-9.1ubuntu3

 
And that was it really. The hardest part was to find the version-names of the old packages that I needed.


Wednesday, March 27, 2019

Disallow search engine index in Zimbra robots.txt


Disallow search engines to index your Zimbra
 
Change robots.txt to Disallow from the default
value of Allow with one command. 
 
Step 1: Run as Zimbra user
 
zmprov mcf zimbraMailKeepOutWebCrawlers TRUE 

 

and the value of your https://www.domain.com/robots.txt
will change from Allow to Disallow


Wednesday, March 13, 2019

Custom voucher or tickets

Semi automatic custom voucher or tickets that I use for pfSense Captive portal.

This is how I format list data in Scribus using ScribusGenerator script.
The script can be used for any type of batch import to Scribus and there is a video on how to do that over here
https://youtu.be/kMsRn38TOiQ
I find these vouchers a bit more appealing then the plain tickets I see from label printer scripts, but may not be all that practical if you need large volumes and plan to cut them yourself.
For starters I exported the data from pfSense and formatted the CSV with one column per voucher and one row per page like below:

 
 
 
code1,code2,code3,code4,code5,code6,code7,code8
ac28M,d68VE5,YyviK4,JwBiA3,uFki25, BFSiB4,7HpiV,edipC5
evi5s3,DyDib3,ZwiMs4,zkit63,fLbit3,FbiCm4,4Chic,Zvqic3
KM4Xb4,rdv4N,u4q4R,ZuYjF5,xCkuM5,AuVAE5,Li8Vt,Ytiwr5
7u2j33,Lj5Lf3,iZjds5,BejPJ,Z4j6J,ve7jA5,nbhr54,hNhdW4
7ru4x,5Wunp,a8xum4,FeYuB,idurN4,S4hVY3,EZhdd4,LahaU4



 
 
 
The numbers of columns (code1, code2, etc.)
corresponds to the number of different vouchers you print on each page.

The number of rows determine how many pages you get.  
”code1” etc. corresponds to the text that will be replaced in the Scribus document ”%VAR_code1%” etc.

In the voucher design you type
%VAR_corresponding column header%
in the same position, font, colour and size you like the final code to be.
 
 
 
 For the actual ticket you can design
anything you fancy.
 
One good practice can be to add a
best before date or a valid until date.
That way you can delete old rolls even if
there are unused vouchers hiding somewhere.
 
 
 
 
 
 

Blog Archive