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

Upgrading 6.2.16 -> 6.2.32 error about pictures_dir not found #280

Closed
ErikDOlson opened this issue Apr 24, 2018 · 9 comments
Closed

Upgrading 6.2.16 -> 6.2.32 error about pictures_dir not found #280

ErikDOlson opened this issue Apr 24, 2018 · 9 comments

Comments

@ErikDOlson
Copy link

[root@pulcher bin]# ./sympa.pl --upgrade
notice main:: Sympa 6.2.32 Started
Use of uninitialized value $pictures_dir in -d at /home/sympa/bin/Conf.pm line 857.
Use of uninitialized value $pictures_dir in mkdir at /home/sympa/bin/Conf.pm line 858.
err main::#277 > Conf::checkfiles#859 Unable to create directory
Missing files.

Racke says: "The default should work as well, please file a bug at Github. At least --upgrade should tell you that the setting is missing."

@ikedas
Copy link
Member

ikedas commented Apr 24, 2018

Hi @ErikDOlson,

Please read Upgrading notes.

@racke
Copy link
Contributor

racke commented Apr 24, 2018

Yeah, but shouldn't we have a sane default?

@ikedas
Copy link
Member

ikedas commented Apr 24, 2018

As I don’t know what occurred, asked for confirm notes at first.

@ErikDOlson
Copy link
Author

ErikDOlson commented Apr 24, 2018 via email

@ikedas
Copy link
Member

ikedas commented Apr 24, 2018

@ErikDOlson, could you show us:

  • content of sympa.conf, and corresponding robot.conf if any
  • content of $MODULEDR/Sympa/Constants.pm

@ErikDOlson
Copy link
Author

sympa.conf enclosed includes the pictures_path line that I added to make it work.

Constants.zip

@ikedas
Copy link
Member

ikedas commented Apr 25, 2018

@ErikDOlson,

I see you have used default value for static_content_path on your installation.

If possible, could you try followng operation and check if error will disappear?

  1. Remove pictures_path line you added.
  2. Remove a file sympa.conf.bin which is placed in the same directory as sympa.conf.
  3. Restart web interface (See "Forced reloading" in Reloading WWSympa).

@ikedas
Copy link
Member

ikedas commented May 4, 2018

Perhaps this patch may fix problem. It is the least subset of PR#284 above.

@ikedas ikedas added the bug label May 11, 2018
@ikedas ikedas added this to the 6.2.34 milestone May 11, 2018
@ikedas
Copy link
Member

ikedas commented May 11, 2018

Related fix was merged. This issue is closed.
Thanks for valuable report!

@ikedas ikedas closed this as completed May 11, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants