pfSense Gold Subscription

Author Topic: Need to update file on http://files.pfsense.org (vnstat2 php front end)  (Read 4265 times)

0 Members and 1 Guest are viewing this topic.

Offline bryan.paradis

  • Sr. Member
  • ****
  • Posts: 371
  • Karma: +4/-10
    • View Profile
My pull request got merged for work on vnstat2
but a file still needs to be uploaded on http://files.pfsense.org. I will quote the pull below.  If you take my source code you have to extract and recompress so that the inside folder is vnstat2 else the script will fail. If you take it from sendspace it should be identical but have the correct folder name and is the exact file I have been testing internally. It needs to be placed here: http://files.pfsense.org/packages/8/vnstat/

Ill be probably doing more work on it but this gets it up and working now. The package has been dead in the water for quite sometime.

Thanks,

Bryan

Quote
parawizard opened this pull request 2 days ago
Fixes for pbi paths and update to 1.5.1 php front end
Edit
No milestone No one is assigned
vnstat.inc changes:
Updated vnstat_php_front end to 1.5.1-updated
Added checks for i386 & amd64 pbi paths
If file_exists create links for i386 & amd64 paths
Move pfsense style to external themes for 1.5.1
updated vnstat2.xml for new 1.5.1-updated additional files filename

Here is the updated vnstat-php-front with the correct internal pathnames! You will have to change the internal compressed folder on the git source if you choose to download my 1.5.1-updated release instead of using this link below:
http://www.sendspace.com/file/0py5vt

Here is the changes shown on my fork:

https://github.com/parawizard/vnstat-php-frontend

Added comment. additional package for the php front end still needs to be put up
« Last Edit: January 18, 2014, 08:11:27 pm by bryan.paradis »

Offline johnpoz

  • Hero Member
  • *****
  • Posts: 14265
  • Karma: +1329/-191
  • Not a pfSense employee, they cannot fire me...
    • View Profile
Re: Need to update file on http://files.pfsense.org (vnstat2 php front end)
« Reply #1 on: January 21, 2014, 06:19:23 am »
Sounds great - let us know when its available to just click install package ;)
- An intelligent man is sometimes forced to be drunk to spend time with his fools.
- Please don't PM me for personal help
- if you want to say thanks applaud or https://www.freebsdfoundation.org/donate/
1x SG-2440 2.3.4_p1 (work)
1x 2.4.1-RELEASE on VM esxi 6.5 (home)

Offline Cino

  • Hero Member
  • *****
  • Posts: 1516
  • Karma: +61/-2
    • View Profile
Re: Need to update file on http://files.pfsense.org (vnstat2 php front end)
« Reply #2 on: January 21, 2014, 09:51:04 am »
Bryan,

Has any of the devs gotten back to you? And thank you for updating this! I've done my best to put a bandaid on it a couple of years ago... Just never had the time to understand how the packaging works to correct it that way.

Edit: Just manually updated my currently vnstat2 install.. Good work! Only suggestion I have is to add a link down somewhere it says "vnStat PHP frontend 1.5.1" to link back to pfSense interface. To me its a nice to have to you dont have keep hitting back or change the url to go back to pfSense.

Glad I came across this, thinking about updating my box to 2.1.1 but may wait until the frontend file is uploaded so the package can reinstall on upgrade
« Last Edit: January 21, 2014, 10:11:53 am by Cino »

Offline bryan.paradis

  • Sr. Member
  • ****
  • Posts: 371
  • Karma: +4/-10
    • View Profile
Re: Need to update file on http://files.pfsense.org (vnstat2 php front end)
« Reply #3 on: January 21, 2014, 08:33:48 pm »
Bryan,

Has any of the devs gotten back to you? And thank you for updating this! I've done my best to put a bandaid on it a couple of years ago... Just never had the time to understand how the packaging works to correct it that way.

Nothing yet  :( Threw a question to the dev mailing list.

Edit: Just manually updated my currently vnstat2 install.. Good work! Only suggestion I have is to add a link down somewhere it says "vnStat PHP frontend 1.5.1" to link back to pfSense interface. To me its a nice to have to you dont have keep hitting back or change the url to go back to pfSense.

I used to do some PHP development. I am looking at ways at improving this package. At least I just wanted to fix it for 2.1.

Glad I came across this, thinking about updating my box to 2.1.1 but may wait until the frontend file is uploaded so the package can reinstall on upgrade

Hopefully soon :)

Offline bryan.paradis

  • Sr. Member
  • ****
  • Posts: 371
  • Karma: +4/-10
    • View Profile
Re: Need to update file on http://files.pfsense.org (vnstat2 php front end)
« Reply #4 on: January 23, 2014, 01:05:04 am »
https://github.com/pfsense/pfsense-packages/pull/579

Integrated the file into the repo itself. Once that pull request goes through and either nightly build or manual build and package should be up and running again :)

Offline Cino

  • Hero Member
  • *****
  • Posts: 1516
  • Karma: +61/-2
    • View Profile
Re: Need to update file on http://files.pfsense.org (vnstat2 php front end)
« Reply #5 on: January 23, 2014, 06:21:19 am »
Thanks Bryan!

Stephen

Offline anaxagoras

  • Newbie
  • *
  • Posts: 19
  • Karma: +0/-0
    • View Profile
Re: Need to update file on http://files.pfsense.org (vnstat2 php front end)
« Reply #6 on: January 23, 2014, 09:05:48 am »
any walkthrough to manually install?

Offline hackin8

  • Jr. Member
  • **
  • Posts: 97
  • Karma: +0/-0
    • View Profile
Re: Need to update file on http://files.pfsense.org (vnstat2 php front end)
« Reply #7 on: January 23, 2014, 09:37:54 am »
I previously used vnstat2 on 2.0.3 and found it very useful. When I unpgraded to 2.1 vnstat2 failed.

Question - once the updated files have been uploaded should I update vnstat2 - or remove it completely and reinstall fresh?

How to know when updated files are all available and ready to install?

Thanks - sorry for poor understanding :)

Offline bryan.paradis

  • Sr. Member
  • ****
  • Posts: 371
  • Karma: +4/-10
    • View Profile
Re: Need to update file on http://files.pfsense.org (vnstat2 php front end)
« Reply #8 on: January 23, 2014, 12:09:55 pm »
any walkthrough to manually install?

Pretty lengthy I would wait.

I previously used vnstat2 on 2.0.3 and found it very useful. When I unpgraded to 2.1 vnstat2 failed.

Question - once the updated files have been uploaded should I update vnstat2 - or remove it completely and reinstall fresh?

How to know when updated files are all available and ready to install?

Thanks - sorry for poor understanding :)

The version will changed to 1.11_1 uninstall and resinstall I think the database should be left intact. If you wish to back it up back up the /cf/conf/vnstat folder

Offline Cino

  • Hero Member
  • *****
  • Posts: 1516
  • Karma: +61/-2
    • View Profile
Re: Need to update file on http://files.pfsense.org (vnstat2 php front end)
« Reply #9 on: January 26, 2014, 10:42:57 am »
any word from the dev's yet?

Offline bryan.paradis

  • Sr. Member
  • ****
  • Posts: 371
  • Karma: +4/-10
    • View Profile
Re: Need to update file on http://files.pfsense.org (vnstat2 php front end)
« Reply #10 on: January 26, 2014, 12:04:52 pm »
Yes and I submited a new pull request 4 days ago with the integrated package :)

https://github.com/pfsense/pfsense-packages/pull/579

Offline Cino

  • Hero Member
  • *****
  • Posts: 1516
  • Karma: +61/-2
    • View Profile
Re: Need to update file on http://files.pfsense.org (vnstat2 php front end)
« Reply #11 on: January 27, 2014, 06:15:53 am »
i mean any word when they are going complete your pull request?

Offline bryan.paradis

  • Sr. Member
  • ****
  • Posts: 371
  • Karma: +4/-10
    • View Profile

Offline hackin8

  • Jr. Member
  • **
  • Posts: 97
  • Karma: +0/-0
    • View Profile
Re: Need to update file on http://files.pfsense.org (vnstat2 php front end)
« Reply #13 on: January 28, 2014, 12:31:09 pm »
Bryan, did you resubmit as requested on that link on 22/1?

Keen to install as soon as updated version is available.


Offline bryan.paradis

  • Sr. Member
  • ****
  • Posts: 371
  • Karma: +4/-10
    • View Profile
Re: Need to update file on http://files.pfsense.org (vnstat2 php front end)
« Reply #14 on: January 28, 2014, 06:43:19 pm »
Bryan, did you resubmit as requested on that link on 22/1?

Keen to install as soon as updated version is available.

https://github.com/pfsense/pfsense-packages/pull/579