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

[4.x]: User photos volume not recognized as valid #12531

Closed
TheFunkyMonk opened this issue Jan 12, 2023 · 4 comments · Fixed by #12712
Closed

[4.x]: User photos volume not recognized as valid #12531

TheFunkyMonk opened this issue Jan 12, 2023 · 4 comments · Fixed by #12712

Comments

@TheFunkyMonk
Copy link

What happened?

Description

With a valid volume (containing an uploaded image) set in user settings, I'm still getting "Please set a valid volume for storing the user photos in user settings page first." message under my user account.

Screen-Shot-2023-01-12-at-1 40 31-PM
Screen Shot 2023-01-12 at 1 40 11 PM
Screen-Shot-2023-01-12-at-1 40 45-PM

This is currently a Servd assets volume, but I have also tested with a local assets volume with the same results.

Steps to reproduce

  1. Create an assets filesystem/volume
  2. Assign the volume to user photo location in user settings

Expected behavior

User photo can be chosen/uploaded in user preferences

Actual behavior

User preferences panel displays "Please set a valid volume for storing the user photos in user settings page first."

Craft CMS version

Craft Pro 4.3.6.1

PHP version

8.1.13

Operating system and version

Linux 5.15.68-0-virt

Database type and version

MySQL 10.4.27

Image driver and version

Imagick 3.7.0 (ImageMagick 6.9.11-60)

Installed plugins and versions

"craftcms/cms": "4.3.6.1",
"craftcms/redactor": "^3.0",
"doublesecretagency/craft-cpcss": "^2.6",
"mmikkel/retcon": "^2.6",
"nystudio107/craft-imageoptimize": "^4.0",
"nystudio107/craft-minify": "4.0.0-beta.2",
"nystudio107/craft-retour": "^4.1",
"nystudio107/craft-seomatic": "4.0.19",
"servd/craft-asset-storage": "^3.2",
"spicyweb/craft-neo": "^3.5",
"verbb/cloner": "^2.0",
"verbb/field-manager": "^3.0",
"vlucas/phpdotenv": "^5.4.0"
@brianjhanson
Copy link
Contributor

Thanks for reporting! That message will appear when the filesystem for the transforms has the "Files in this filesystem have public URLs" set to false. I'm going to close this out assuming that's what's happening here, but if that's not the case, feel free to reopen.

@TheFunkyMonk
Copy link
Author

Ah that was it, thanks for the clarification @brianjhanson!

@brandonkelly
Copy link
Member

brandonkelly commented Feb 2, 2023

User photos will no longer require a filesystem that has URLs starting in 4.4, via 303e5dd.

brandonkelly added a commit that referenced this issue Feb 2, 2023
This was referenced Feb 18, 2023
@brandonkelly
Copy link
Member

4.4 is out!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants