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

500 error when adding/edditing asset models #12925

Closed
2 tasks done
4kmartin opened this issue Apr 26, 2023 · 2 comments
Closed
2 tasks done

500 error when adding/edditing asset models #12925

4kmartin opened this issue Apr 26, 2023 · 2 comments

Comments

@4kmartin
Copy link

Debug mode

Describe the bug

I have installed Snipe-IT on a RHEL9 server using Apache as the web server.
i installed it via the install.sh script.
The issue occurs only when adding/editing models from the asset models screen.
If i add a new model via the add Asset screen it works fine.
debug view and larivel.log both have the following error:
The /var/www/html/snipeit/bootstrap/cache directory must be present and writable. (View: /var/www/html/snipeit/resources/views/models/edit.blade.php)

link to stacktrace: https://flareapp.io/share/x7KNJdaP

also i did find a previous ticket (#11203) that had same issue described as me.
i followed those remediation steps and it did not fix the issue. the referenced file: livewire-components.php is never created
also of note i did chmod 777 the cache file at one point and that didnt work either

some additional pictures that may or may not help:
image
image

Reproduction steps

  1. go to asset models screen
  2. click create new

...

Expected behavior

bring up menu to add new asset model

Screenshots

No response

Snipe-IT Version

v6.1.0 - build 10161 (master)

Operating System

RHEL 9

Web Server

Apache

PHP Version

8.0.27

Operating System

No response

Browser

No response

Version

No response

Device

No response

Operating System

No response

Browser

No response

Version

No response

Error messages

No response

Additional context

this is a fresh install

@welcome
Copy link

welcome bot commented Apr 26, 2023

👋 Thanks for opening your first issue here! If you're reporting a 🐞 bug, please make sure you include steps to reproduce it. We get a lot of issues on this repo, so please be patient and we will get back to you as soon as we can.

@snipe
Copy link
Owner

snipe commented Apr 26, 2023

Duplicate of #12911

@snipe snipe marked this as a duplicate of #12911 Apr 26, 2023
@snipe snipe closed this as completed Apr 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants