Open tetsuoinc opened 4 years ago
in case i understood you correctly, you managed to install plainpad correctly and now are missing login credentials?
default credentials are username: admin@example.org password: 12345
@tetsuoinc Did you manage to login?
Alex Tselegidis, Plainpad Creator Need a customization? Contact me in person! |
Closing due to inactivity
Alex Tselegidis, Plainpad Creator Need a customization? Contact me in person! |
Hello,
I have exactly the same problem. I tried the default credentials: username: admin@example.org password: 12345
but no success.
Alright I'm reopening this issue with further troubleshooting as it looks like it affects more users.
First things first, there are two reasons for this issue:
It is important to understand which of the two cases are applied for you.
In order to do that, you will need to check your database and see if there's an admin user record in the users
table.
If there's no record or no table at all, then the migration/seeding failed.
If there is a record then you can open your browser developer tools by pressing F12 and open the "console" tab inside them.
After you reload the page you should be able to see errors in there, please post them here for further troubleshooting.
Alex Tselegidis, Easy!Appointments Creator Need a customization? Get a free quote! |
Hello,
Same issue here as well, the credentials did not work. I did the setup with setup.php and it create a .env file at the root.
Plus when doing:
php artisan migrate:fresh --seed
I've this: ` ErrorException
Undefined index: mail_driver
at vendor/laravel/framework/src/Illuminate/Collections/Collection.php:1367 1363▕ @return mixed 1364▕ / 1365▕ public function offsetGet($key) 1366▕ { ➜ 1367▕ return $this->items[$key]; 1368▕ } 1369▕ 1370▕ /* 1371▕ Set the item at a given offset.
+1 vendor frames
2 app/Providers/MailConfigServiceProvider.php:42 Illuminate\Support\Collection::offsetGet()
+7 vendor frames
10 artisan:37 Illuminate\Foundation\Console\Kernel::handle()`
The database and the user for mysql are present.
How to fix it and make it work?
Regards,
Guillaume
I ran into similar issues getting this to work.
First, you must run php artisan migrate:fresh --seed to properly create the user table. You'll see something like: Login with the default admin user (email: admin@example.org & password: 12345). Seeded: Database\Seeders\UsersSeeder (48.63ms) Seeding: Database\Seeders\SettingsSeeder Seeded: Database\Seeders\SettingsSeeder (10.35ms) Database seeding completed successfully. if it worked correctly.
Second issue was I personally am running ngnix and only .htaccess files for apache are included Here's the equiv for ngnix to make the api calls work: location /plainpad/public/api.php/v1/ { try_files $uri $uri/ /plainpad/public/api.php?$args; }
Thanks it works now! ;-) I hope it gonna help peoples encountering the same issue.
Thanks for all your input! This will be fixed for the next version.
Alex Tselegidis, Plainpad Creator Need a customization? Get a free quote! |
Hello Alex, here reopening this thread. I am having this same issue on my Synology NAS. I have ran the setup.php and added the nginx lines. My JS console is throwing some errors that I think are due to missing Laravel files.
For example: plainpad/vendor/laravel/framework/src/Illuminate/Routing/Matching/MethodValidator.php plainpad/vendor/laravel/framework/src/Illuminate/Routing/Matching/SchemeValidator.php
after adding those 2 files, i was able to login and use the app. hope it helps.
Hello!
@julyprum Thanks for posting this! Could it be that the files were not uploaded correctly or do you think the files are missing from the archive?
Alex Tselegidis, Plainpad Creator Need a customization? Get a free quote! |
I ran into similar issues getting this to work.
First, you must run php artisan migrate:fresh --seed to properly create the user table. You'll see something like: Login with the default admin user (email: admin@example.org & password: 12345). Seeded: Database\Seeders\UsersSeeder (48.63ms) Seeding: Database\Seeders\SettingsSeeder Seeded: Database\Seeders\SettingsSeeder (10.35ms) Database seeding completed successfully. if it worked correctly.
Second issue was I personally am running ngnix and only .htaccess files for apache are included Here's the equiv for ngnix to make the api calls work: location /plainpad/public/api.php/v1/ { try_files $uri $uri/ /plainpad/public/api.php?$args; }
can you explain how I make this work please? I am on nginx and cannot log in with default credentials. The user has been created in the database
@j-r-e-i-d Can you make sure your DB is seeded, by checking the default admin@example.org record inside the users table?
Alex Tselegidis, Plainpad Creator Need a customization? Get a free quote! |
Oh man I gave up on this weeks ago. Too hard. I use Joplin now
also running nginx, also stuck on login - added 'location' config to nginx.
artisan have problem to work (not only to seed)
ubuntu 22
$ php artisan PHP Fatal error: During inheritance of ArrayAccess: Uncaught ErrorException: Return type of Illuminate\Support\Collection::offsetExists($key) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/pp/vendor/laravel/framework/src/Illuminate/Collections/Collection.php:1354 Stack trace:
In Collection.php line 11:
During inheritance of ArrayAccess: Uncaught ErrorException: Return type of
Illuminate\Support\Collection::offsetExists($key) should either be compatib
le with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTyp
eWillChange] attribute should be used to temporarily suppress the notice in
/var/www/html/pp/vendor/laravel/framework/src/Illuminate/Collections/Colle
ction.php:1354
Stack trace:
lection.php(11): Illuminate\Foundation\Bootstrap\HandleExceptions->handleEr
ror()
\includeFile()
pers.php(15): Composer\Autoload\ClassLoader->loadClass()
ageManifest.php(89): collect()
ageManifest.php(78): Illuminate\Foundation\PackageManifest->config()
strap/RegisterFacades.php(26): Illuminate\Foundation\PackageManifest->alias
es()
ication.php(230): Illuminate\Foundation\Bootstrap\RegisterFacades->bootstra
p()
ole/Kernel.php(310): Illuminate\Foundation\Application->bootstrapWith()
ole/Kernel.php(127): Illuminate\Foundation\Console\Kernel->bootstrap()
dle()
------ Edit (later) ----- have run composer on the folder. Noted issue that I run php8 while composer.json claims I need php7 (will try more)
Hello!
Thanks for providing all the information on the installation process.
I will take a closer look on them and report back.
FYI I'm planning to release a single-file installer in order to make things easier to manage moving forward.
Alex Tselegidis, Plainpad Creator Need a customization? Get a free quote! |
Thanks for all your input! This will be fixed for the next version. Alex Tselegidis, Plainpad Creator Need a customization? Get a free quote!
Has there been a new version? Doesn't seem so? No updates for more than a year. Are you still working on it @alextselegidis ?
Hello!
Yes, the new version will come up shortly.
I'm currently putting some work together for the next https://github.com/alextselegidis/easyappointments release and then the Plainpad one will follow shortly.
Stay tuned for more updates.
Alex Tselegidis, Plainpad Creator Need a customization? Get a free quote! |
Subscribing to this issue to see any future comments. Every few months, I have another crack at setting up Plainpad, spending a couple hours reviewing the comments in the various issues here, trying to tweak my config to progress past the login screen.
I love the design of Plainpad, and think it could be exactly what I want, so I'm looking forward to getting it working on my server (Ubuntu + NGINX + MariaDB + PHP 7.4) one day.
For now, though, all I see in my browser console is that HttpClient.js encounters an Internal Server Error when trying to connect to /api.php/v1/, but I get no corresponding entries in my NGINX error_log to give me a clue about why.
Quick update on this thread: I'm planning to release an official image for Plainpad so that one can host without much trouble. Will announce this soon
Alex Tselegidis, Plainpad Creator Need a customization? Contact me in person! |
Hi Alex, According to your description here ...
I've uploaded all the contents of the ZIP-File to a shared webhosting.
I've set up a subdomain https://notes.example.com which pointed to the "public" directory.
Then I opened https://notes.example.com/setup.php which leads me to the database-form.
I filled the form with the database credentials (double checked them for correctness!) and hit the Install-Button.
No errors, no warnings, no success message apperead and the browser points now to https://notes.example.com/#/login.
As I have no login credentials, I'm stuck right here. I checked the database, but there was no table inside.
What am I doing wrong and what can I do ?