Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ubuntu 16.04 - snipeit.sh missing php-zip (Required for back-up) #2269

Closed
sgovaerts opened this issue Jul 19, 2016 · 1 comment
Closed

Ubuntu 16.04 - snipeit.sh missing php-zip (Required for back-up) #2269

sgovaerts opened this issue Jul 19, 2016 · 1 comment
Labels

Comments

@sgovaerts
Copy link

Expected Behavior (or desired behavior if a feature request)

When going to admin --> Backup and I select "Generate Backup" I expect it to to work

Actual Behavior

Fatal error: Class 'ZipArchive' not found


Please provide answers to these questions before posting your bug report:

  • Version of Snipe-IT you're running
    v3.0-ebc74a65
  • What OS and web server you're running Snipe-IT on
    Ubuntu 16.04 - Apache
  • What method you used to install Snipe-IT (install.sh, manual installation, docker, etc)
    install.sh
  • What specific Snipe-IT page you're on, and what specific element you're interacting with to trigger the error
    Admin --> Backup --> Create backup

Solution: add php-zip to line 262 in snipeit.sh

@sgovaerts
Copy link
Author

As @dmeltzer said, also need to check if Ubuntu 14.04 needs php5-zip or something similar.
I'll see if I have time tomorrow to test it using the install.sh on a ubuntu14.04 host.

@snipe snipe added ✋ bug Confirmed bug install.sh labels Jul 27, 2016
dmeltzer added a commit to dmeltzer/snipe-it that referenced this issue Jul 28, 2016
snipe pushed a commit that referenced this issue Jul 28, 2016
@snipe snipe closed this as completed Jul 28, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants