Raspian 9.4 - Backups not functioning in develop branch
Please confirm you have done the following before posting your bug report:
- [X ] I have enabled debug mode
- [ X] I have read checked the Common Issues page
Describe the bug After changing to the develop branch of snipeit, when I go to control panel -> backups and click on generate backup, I get the following error:
To Reproduce Steps to reproduce the behavior: (Install Dev environment, Version v5.0.0-pre - build 3866 (develop))
- Go to Settings ->Backups
- Click on Generate backup
- See error
Expected behavior Backup should have been created.
Screenshots If applicable, add screenshots to help explain your problem.
Server (please complete the following information):
- Snipe-IT Version: Version v5.0.0-pre - build 3866 (develop)
- OS: [e.g. Ubuntu, CentOS] Raspian 9.4
- Web Server: [e.g. Apache, IIS] Apache
- PHP Version 7.2.4-1+b2
Desktop (please complete the following information):
- OS: [e.g. iOS] Win10
- Browser [e.g. chrome, safari] Chrome
- Version [e.g. 22] Version 68.0.3440.106 (Official Build) (64-bit)
Error Messages No error message in logs
Additional context
-
Is this a fresh install or an upgrade? Had issue, deleted whole install and ran installer from scratch, then switched to develop branch using directions in documentation
-
What OS and web server you're running Snipe-IT on
Raspberry Pi Zero W with raspbian 9.4
-
What method you used to install Snipe-IT (install.sh, manual installation, docker, etc) Installer script
-
Include what you've done so far in the installation, and if you got any error messages along the way. Nothing, installed fresh to test issue
-
Indicate whether or not you've manually edited any data directly in the database No, new install fresh database.
Add any other context about the problem here.
Please do not post an issue without answering the related questions above. If you have opened a different issue and already answered these questions, answer them again, once for every ticket. It will be next to impossible for us to help you.
Can you reproduce this on the develop demo? https://develop.snipeitapp.com
No, that feature is disabled in the development demo.
On Thu, Aug 16, 2018, 2:54 PM snipe [email protected] wrote:
Can you reproduce this on the develop demo? https://develop.snipeitapp.com
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/snipe/snipe-it/issues/6096#issuecomment-413696283, or mute the thread https://github.com/notifications/unsubscribe-auth/AMd2VQTvvpEx0NuRa4Wh4jRVE1k77zw2ks5uRen-gaJpZM4WAoDU .
I just tried it on the develop demo and it worked (after disabling the demo lock, of course), so I'm not sure how to troubleshoot this issue.
I'm guessing there is a permissions problem, but I can't find what files and directories it looks in so I can check those permissions.
Interesting side note. If I run php artisan backup:run the backup works, but places the resulting file in snipeit/backups instead of snipeit/storage/app/backups I don't know if that is expected behavior. I was able to run the backup from web before changing to develop branch.
I know this has to be on my end, but I'd still like to figure out what I did wrong so I can help others avoid the error.
I completely reinstalled from OS up. Still getting the error. Backups work in initial install, then fail after changing to develop branch. Opening up my system for examination. This computer is only used for snipeit and will be wiped after this gets figured out.
http://themadhouse.org:8000
user: admin
password: password
ssh is at port 5022 user: snipeitapp password: P@ssw0rd
When you switch to the develop branch, you're also running composer install, right?
Yep, I ran all of the commands in "Switching from Production to Develop branches" and then ran all of the "Handy Commands" on the common issues page.
Is this still relevant? We haven't heard from anyone in a bit. If so, please comment with any updates or additional detail. This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Don't take it personally, we just need to keep a handle on things. Thank you for your contributions!
issue seems to have been resolved, latest git pull resulted in backups working properly. No other changes were made on my system, so I will close this issue.