Upgrade Protip: critical symlink may be missing post xenial to bionic upgrade

Forum for questions and support relating to the 1.32.x releases only.
Post Reply
f1d094
Posts: 11
Joined: Fri Nov 24, 2017 4:31 pm

Upgrade Protip: critical symlink may be missing post xenial to bionic upgrade

Post by f1d094 »

I've just completed an upgrade from 1.30 on Xenial to 1.32 on Bionic. Post-upgrade the interface looked pretty miserable but was mostly functional...some poking revealed the following symlink was missing. The interface now looks pretty sharp.

Code: Select all

 ln -s /var/cache/zoneminder/cache /usr/share/zoneminder/www/cache 
Just posting for devs and so others who have suffered the same headache mind find it useful.
User avatar
knight-of-ni
Posts: 2404
Joined: Thu Oct 18, 2007 1:55 pm
Location: Shiloh, IL

Re: Upgrade Protip: critical symlink may be missing post xenial to bionic upgrade

Post by knight-of-ni »

No, this is wrong. Do not create symlinks in your webroot. Fix the script alias in your web browser config instead.
Visit my blog for ZoneMinder related projects using the Raspberry Pi, Orange Pi, Odroid, and the ESP8266
All of these can be found at https://zoneminder.blogspot.com/
f1d094
Posts: 11
Joined: Fri Nov 24, 2017 4:31 pm

Re: Upgrade Protip: critical symlink may be missing post xenial to bionic upgrade

Post by f1d094 »

knight-of-ni wrote: Fri Nov 16, 2018 1:21 am No, this is wrong. Do not create symlinks in your webroot. Fix the script alias in your web browser config instead.
Thank you for that. I had seen this advice elsewhere and since it had worked I did not think further.

However, you say "script alias"...in my apache config it is just a standard directory "Alias". Should this be a "ScriptAlias"?
User avatar
knight-of-ni
Posts: 2404
Joined: Thu Oct 18, 2007 1:55 pm
Location: Shiloh, IL

Re: Upgrade Protip: critical symlink may be missing post xenial to bionic upgrade

Post by knight-of-ni »

No, you're absolutely right. It's just an alias not a script alias.

Exactly how you set up the alias is distro & web server dependent. If you need help setting that up, let us know what you are running.
Visit my blog for ZoneMinder related projects using the Raspberry Pi, Orange Pi, Odroid, and the ESP8266
All of these can be found at https://zoneminder.blogspot.com/
rockedge
Posts: 1173
Joined: Fri Apr 04, 2014 1:46 pm
Location: Connecticut,USA

Re: Upgrade Protip: critical symlink may be missing post xenial to bionic upgrade

Post by rockedge »

In Puppy Linux (Ubuntu binaries) it works best by just symlinking /var/cache/zoneminder/cache in /usr/share/zoneminder/www

for some reason the Alias declaration works only sometimes. Also the permissions are not set correctly during any automated install so when using a distro like this there is some manual work out of the box to do to get ZM to run...but when it does finally go...
ZM will run very nicely and is very responsive.....I can run ZM 1.32.2 with a Bionic OS monitoring 2 netcams in 600megs of RAM or less...Puppy Linux Tahr I can run ZM 1.32.2 with OS in 350 megs of RAM with 2 net cams...so with an 8 meg RAM machine I can really have some room for /dev/shm
User avatar
knight-of-ni
Posts: 2404
Joined: Thu Oct 18, 2007 1:55 pm
Location: Shiloh, IL

Re: Upgrade Protip: critical symlink may be missing post xenial to bionic upgrade

Post by knight-of-ni »

If the Alias only works sometimes, then that is an indication you've got something else not quite right on your system.
Visit my blog for ZoneMinder related projects using the Raspberry Pi, Orange Pi, Odroid, and the ESP8266
All of these can be found at https://zoneminder.blogspot.com/
Post Reply